AI

LangChain + Next.js Starter

LangChain + Next.js Starter
Type: Code
Framework: Next.js
CSS: Tailwind
Database: Supabase

The LangChain + Next.js Starter Template is an application template that demonstrates the use of LangChain.js and Next.js for various use cases. It provides examples of:

  1. Simple chat
  2. Returning structured output from an LLM call
  3. Answering complex, multi-step questions with agents
  4. Retrieval augmented generation (RAG) with a chain and a vector store
  5. Retrieval augmented generation (RAG) with an agent and a vector store

The template uses Vercel’s AI SDK to stream tokens to the client and display incoming messages. It’s designed to be free-tier friendly.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.