Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/domeccleston/langchain-ts-starter

Langchain.js template to get started quickly
https://github.com/domeccleston/langchain-ts-starter

Last synced: 1 day ago
JSON representation

Langchain.js template to get started quickly

Awesome Lists containing this project

README

        

# langchain-ts-starter

Boilerplate to get started quickly with the [Langchain Typescript SDK](https://github.com/hwchase17/langchainjs).

This uses the same tsconfig and build setup as the [examples repo](https://github.com/hwchase17/langchainjs/tree/main/examples), 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