Thanks to visit codestin.com
Credit goes to github.com

Skip to content

barbavegeta/qa-bot-llm-rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QA Bot using Retrieval-Augmented Generation (RAG)

Deployable question-answering system that allows users to upload a PDF and ask natural language questions using a Retrieval-Augmented Generation pipeline.

Project Structure

qa-bot-rag/
├── app/
│   ├── main.py
│   ├── rag_pipeline.py
│   └── config.py
├── ui/
│   └── gradio_app.py
├── requirements.txt
├── Dockerfile
├── docker-compose.yml
└── README.md

What this does

  • loads a PDF
  • splits it into chunks
  • embeds the chunks
  • stores them in Chroma
  • retrieves relevant chunks
  • generates an answer with an LLM

Run locally

pip install -r requirements.txt
python ui/gradio_app.py

Run API

uvicorn app.main:app --reload

Docker

docker build -t rag-bot .
docker run -p 8000:8000 rag-bot

About

Customer segmentation using K-Means, Hierarchical clustering, and DBSCAN to identify behavioural groups in Telco churn data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors