Skip to content

mattpocock/evalite

Repository files navigation

Evalite: the TypeScript-native, local-first tool for testing LLM-powered apps.

Contributing

  1. Create a .env file inside packages/example containing an OPENAI_API_KEY:
OPENAI_API_KEY=your-api-key
  1. 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.