Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A chatbot created with Next.js and AI SDK, using Langchain with RetrievalQA to provide information from a PDF loaded into a vector store in MongoDB.

Notifications You must be signed in to change notification settings

eltatata/Nextjs-langchain-retrievalQA

Repository files navigation

Felipe β€” AI-Powered Assistant for Data Structures

alt text

Felipe is a lightweight AI assistant built with RAG (Retrieval-Augmented Generation) to help users ask questions and retrieve relevant information specifically about data structures.


πŸš€ Features

  • πŸ’¬ Ask natural language questions about data structures.
  • πŸ“„ Information is retrieved from a structured PDF source.
  • βš™οΈ Built using LangChain, Next.js, and Vercel AI SDK.
  • 🧠 MongoDB is used as the vector store for efficient semantic search.

πŸ“Έ Demo

Demo de Felipe


πŸ“˜ Source Material

All responses are based on a curated PDF about data structures.

πŸ‘‰ Download the PDF


πŸ› οΈ Tech Stack


πŸ“¦ Installation

# Clone the repo
git clone https://github.com/eltatata/Nextjs-langchain-retrievalQA
cd Nextjs-langchain-retrievalQA
# Install dependencies
npm install
# Create your .env file based on .env.example and configure your keys
cp .env.example .env
# Run the development server
npm run dev

About

A chatbot created with Next.js and AI SDK, using Langchain with RetrievalQA to provide information from a PDF loaded into a vector store in MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /