Spaces:
Sleeping
Sleeping
|
Download community_contributions/chatbot_rag_evaluation/README.md from uscemclean/cpu_basic: direct link, hf CLI and curl.
- Browser
- Download file 926 Bytes
-
https://huggingface.co/spaces/uscemclean/cpu_basic/resolve/main/community_contributions/chatbot_rag_evaluation/README.md
- Command line
-
hf download hf://spaces/uscemclean/cpu_basic/community_contributions/chatbot_rag_evaluation/README.md
-
curl -L -o README.md https://huggingface.co/spaces/uscemclean/cpu_basic/resolve/main/community_contributions/chatbot_rag_evaluation/README.md
926 Bytes
A newer version of the Gradio SDK is available: 6.33.0
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
- Clone the repo:
git clone https://github.com/your-username/rag-chat-evaluator-bot.git
cd career-chats
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
install -r requirements.txt
- Keys in
.envfile:
GOOGLE_API_KEY=<your-api-key>
OPENAI_API_KEY=<your-api-key>
GOOGLE_CREDENTIALS_JSON=<b64encoded-json>