Contributing
- Create a .env file inside
packages/example
containing anOPENAI_API_KEY
:
OPENAI_API_KEY=your-api-key
- Run development commands:
pnpm run dev # Build, then run tsc -w on evalite + vitest on evalite-tests
pnpm run example # Build, then run evalite watch + UI dev server at http://localhost:5173
pnpm run test # Build and run all tests
Important
You may need to run pnpm build
in root, then npm link
inside packages/evalite
to get the global evalite
command to work.
See CONTRIBUTING.md for full documentation.