AYS11231's picture
Upload folder using huggingface_hub
0af0679 verified

A newer version of the Gradio SDK is available: 5.42.0

Upgrade

RAG Chat Evaluator Bot

A lightweight chatbot app that uses LangChain RAG for chunk retrieval, OpenAI for generation, and Gemini for response evaluation.

πŸ”§ Features

  • πŸ“š Retrieval-Augmented Generation (RAG) with LangChain + ChromaDB
  • πŸ€– Chat interface powered by OpenAI's GPT
  • βœ… Gemini-based evaluator checks tone + accuracy
  • πŸ› οΈ Records user emails to Google Sheets or CSV fallback

πŸš€ Setup

  1. Clone the repo:
git clone https://github.com/your-username/rag-chat-evaluator-bot.git
cd career-chats
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
 install -r requirements.txt
  1. Keys in .env file:
   GOOGLE_API_KEY=<your-api-key>
   OPENAI_API_KEY=<your-api-key>
   GOOGLE_CREDENTIALS_JSON=<b64encoded-json>