Skip to content

proemian/langchain-1.0-nextjs

 
 

Repository files navigation

RAG Demo

This project demonstrates a Retrieval-Augmented Generation (RAG) agent using LangChain, Next.js, and Ollama for embeddings.

Prerequisites

  • Node.js 18+
  • Bun (or pnpm/npm/yarn)
  • Ollama installed, running, and exposed on the local network
  • Embedding Model: qwen3-embedding downloaded in Ollama (ollama pull qwen3-embedding)
  • Anthropic API Key: Add your key to .env.local:
    ANTHROPIC_API_KEY=sk-ant-...
    

Commands

Install dependencies:

bun i

Run the development server:

bun dev

About

LangChain.ts streaming in Next.js using the new 1.0 version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.8%
  • CSS 2.8%
  • JavaScript 1.4%