• Stars
    star
    164
  • Rank 230,032 (Top 5 %)
  • Language
    JavaScript
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Langchain.js template to get started quickly

langchain-ts-starter

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.

What's included

  • Typescript
  • .env file configuration
  • ESLint and Prettier for formatting
  • Turborepo to quickly run build scripts
  • tsup to bundle Typescript code
  • tsx to quickly run compiled code

How to use

  • Clone this repository
  • npm install
  • Write your code in src
  • npx turbo run build lint format to run build scripts quickly in parallel
  • npm start to run your program