Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/domeccleston/langchain-ts-starter
- Owner: domeccleston
- Created: 2023-03-23T10:55:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T15:19:37.000Z (over 1 year ago)
- Last Synced: 2025-01-16T15:08:38.356Z (8 days ago)
- Language: JavaScript
- Homepage:
- Size: 84 KB
- Stars: 169
- Watchers: 6
- Forks: 99
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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