Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaredpalmer/nextjs-langchain-example
Demo of using LangChain.js with Next.js and Vercel Edge Functions (to stream the response)
https://github.com/jaredpalmer/nextjs-langchain-example
langchain langchain-js nextjs vercel
Last synced: about 15 hours ago
JSON representation
Demo of using LangChain.js with Next.js and Vercel Edge Functions (to stream the response)
- Host: GitHub
- URL: https://github.com/jaredpalmer/nextjs-langchain-example
- Owner: jaredpalmer
- Created: 2023-05-08T13:27:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-08T14:05:28.000Z (over 1 year ago)
- Last Synced: 2024-12-10T15:13:42.283Z (16 days ago)
- Topics: langchain, langchain-js, nextjs, vercel
- Language: TypeScript
- Homepage:
- Size: 58.6 KB
- Stars: 42
- Watchers: 4
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js x LangChain x Vercel Edge Functions
This basic demo shows that [LangChain.js](https://github.com/hwchase17/langchainjs) x [Next.js](https://github.com/vercel/next.js) and the Edge Runtime
To use, grab an [OpenAI API key](https://platform.openai.com/account/api-keys) and rename the `.env.local.example` to `.env.local`.
```
git clone
pnpm i
pnpm dev
```