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

Skip to content

Meet CatBot - the c(h)atbot that showcased RAG evaluation using Ragas during PyData Amsterdam 2025.

Notifications You must be signed in to change notification settings

mkmbader/catbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatBot

Meet CatBot - the c(h)atbot who know's all about Cats, based on simple wikipedia. Catbot's gives a quick start guide to RAG evaluation using Ragas and was developped to fuel a presentation at PyData Amsterdam 2025.

Find the slides to the presentation 👉 here.

Connect to the developer 👉 here.

Check out Ragas, developped by ExplodingGradients 👉 here

Overview


This main.py notebook contains the following workflow:

  • Database Creation: Initializes a database using ChromaDB to efficiently store and retrieve data.
  • Retrieval-Augmented Generation (RAG) QA System: Builds a question-answering system that queries the database using RAG techniques.
  • Synthetic Dataset Generation: Utilizes Ragas with a custom prompt to generate a synthetic dataset tailored for QA tasks.
  • Automated Evaluation: Assesses the QA system’s responses using Ragas-provided evaluation metrics such as Faithfulness, Answer Correctness, Answer Relevancy

Setup


Environment

  • create virtual environment: python -m venv .catbot
  • activate environment: source .catbot/bin/activate
  • install dependencies: pip install -r requirements.txt

Create database

  • add your api keys and other variables to .env

About

Meet CatBot - the c(h)atbot that showcased RAG evaluation using Ragas during PyData Amsterdam 2025.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published