Skip to content

This project demonstrates a question-answering system built with LangChain and Retrieval-Augmented Generation (RAG). The chatbot processes PDF documents to provide accurate answers to user queries based on the document's content.

Notifications You must be signed in to change notification settings

ChristieX/RAG_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG_Chatbot


Problem Statement:

Building a Simple Q&A Chatbot with RAG and LangChain.
Create a question-answering system that can understand, and answer questions based on PDF documents (like course materials or company documentation).
The system should use LangChain and RAG (RetrievalAugmented Generation) to provide accurate answers based on the document content.
Project Goals

  1. Build a working prototype that can:
    A. Read and process PDF documents
    B. Answer questions based on the document content
    C. Provide relevant responses using RAG architecture
  2. Learn key concepts:
    A. Document processing with LangChain
    B. Vector embeddings
    C. RAG architecture
    D. LLM integration

Prerequisites:

  • Python 3.9+ installed

Installation:

To install dependancies:

pip install -r requirements.txt

To run:

streamlit run app.py

Notes:

Update secrets.toml file in .streamlit

QDRANT_API_KEY = YOUR API KEY
QDRANT_URL=YOUR QDRANT URL
GEMINI_API_KEY = YOUR API KEY

About

This project demonstrates a question-answering system built with LangChain and Retrieval-Augmented Generation (RAG). The chatbot processes PDF documents to provide accurate answers to user queries based on the document's content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages