- Create a .env file inside
packages/example
containing anOPENAI_API_KEY
:
OPENAI_API_KEY=your-api-key
- Run
pnpm run dev
. This will:
- Run the TS type checker on
evalite
,evalite-core
- Run some tests at
evalite-tests
- Run the UI dev server at http://localhost:5173
- Run
evalite watch
on the examples inpackages/example
Important
You may need to run pnpm build
in root, then npm link
inside packages/evalite
to get the global evalite
command to work.