This basic demo shows that LangChain.js x Next.js and the Edge Runtime
To use, grab an OpenAI API key and rename the .env.local.example
to .env.local
.
git clone
pnpm i
pnpm dev
Demo of using LangChain.js with Next.js and Vercel Edge Functions (to stream the response)
TypeScript
This basic demo shows that LangChain.js x Next.js and the Edge Runtime
To use, grab an OpenAI API key and rename the .env.local.example
to .env.local
.
git clone
pnpm i
pnpm dev