Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.11.0
metadata
title: RAG Chatbot AI
emoji: π
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 6.9.0
python_version: '3.10'
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
π RAG Chatbot AI (Gradio)
This is a RAG (Retrieval-Augmented Generation) chatbot using Gradio.
It allows users to upload documents (PDF, DOCX, CSV) and ask questions.
The chatbot retrieves relevant context using FAISS embeddings and generates answers via Groq API (LLaMA3-70B).
Features
- Upload documents and extract text.
- Retrieve relevant context using FAISS embeddings.
- Generate answers using Groq LLaMA3-70B.
- Optional evaluation with BLEU, ROUGE, BERTScore.
Files in this repository
app.pyβ Main Gradio apprequirements.txtβ Python dependenciesREADME.mdβ This file
Hugging Face Space Setup
- Create a new Gradio Space on Hugging Face.
- Upload all files (
app.py,requirements.txt,README.md). - Add your GROQ_API_KEY in Space Settings β Variables and secrets.
- Click Run β your chatbot will be live.