This is a simple app that demonstrates how to build a generative AI app with Langgraph.js, Next.js and Vercel AI SDK with streaming support.
Please leave a ⭐️ if you like the project!
Try out the chat completions with history where the response is streamed to the UI
Try out the simple chat generation demo where the response is generated all at once
- Copy the
.env.example
file to.env
and set the environment variables.
cp .env.example .env
- Install the dependencies:
pnpm install
- Run the development server:
pnpm dev
- Add simple chat generation with history
- Add chat completions with history
- Add tool calling with streaming
- Add Generative UI with tool calling