- Check that you have node > 22 installed
- Run
corepack enableif you haven't done so yet - VSCode is recommended along recommended extensions
git clone [email protected]:pAIrprogio/ts-ai-playground.git
cd ts-ai-playground
yarn install
touch .env
code .- Make sure to add the following keys to the
.envfile:ANTHROPIC_API_KEYOPENAI_API_KEYGOOGLE_GENERATIVE_AI_API_KEY
- Install the recommended extensions in VSCode
- The VSCode debugger is pre-configured to run the active file
- Local data is stored in the
.datadirectory - Local output is stored in the
.outputdirectory - Access them easily with exports from the
src/dirs.runtime.tsmodule
- ai: Vercel AI SDK
- @ai-sdk/*: Vercel AI SDK Providers
- evalite: Evals as unit tests
- @synstack/*: LLM scripting utilities
- ts-pattern: TypeScript pattern matching
- zod: TypeScript schema declaration and validation
- wretch: Immutable HTTP client