Boilerplate to get started quickly with the Langchain Typescript SDK.
This uses the same tsconfig and build setup as the examples repo, to ensure it's in sync with the official docs.
- Typescript
- .env file configuration
- ESLint and Prettier for formatting
- Turborepo to quickly run build scripts
tsup
to bundle Typescript codetsx
to quickly run compiled code
- Use Node version 18 or higher
- Settup .env file with OpenAI API key
npm install
npx turbo run build lint format
to run build scripts quickly in parallelnpm start
to run your program