Skip to content

sarthak-cs/RAG_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG Chatbot using Gemini 2.5 + LangChain + ChromaDB

This repository contains a Retrieval-Augmented Generation (RAG) chatbot built using:

  • Google Gemini 2.5 Pro
  • LangChain
  • HuggingFace Embeddings
  • Chroma Vector Store

It loads a custom dataset, splits it into chunks, embeds them, and retrieves relevant context for every query.


🚀 Features

  • Document ingestion (txt file)
  • Recursive text chunking
  • Chroma vector database
  • HuggingFace MiniLM embeddings
  • Gemini 2.5 Pro for smart answers
  • Console-based interactive chatbot


▶️ Run the Chatbot

pip install -r requirements.txt python src/rag_chatbot.py


🔑 .env Format

GEMINI_API_KEY=your_api_key_here


About

A repository for my RAG Chatbot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages