Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.16.1
metadata
title: Gradio RAG
emoji: 💬
colorFrom: yellow
colorTo: red
sdk: gradio
sdk_version: 5.0.1
app_file: app.py
pinned: false
thumbnail: >-
https://cdn-uploads.huggingface.co/production/uploads/6717debbdc93697931443e1a/ZGyXEFgXtnCB8QMWAzExn.jpeg
short_description: 'RAG in chatbot style '
license: mit
An example chatbot using Gradio, huggingface_hub
, and the Hugging Face Inference API.
Knowledge Base Chatbot
This is a chatbot that can answer questions based on your knowledge base. It uses FAISS for similarity search and the Together API for generating responses.
Features
- Natural conversation with context awareness
- Chat history preservation
- Clean interface
- Fast responses
Setup
- Create a Hugging Face Space
- Upload your FAISS index files
- Set your Together API key in the Space's secrets with the name
TOGETHER_API_KEY
- The app will automatically deploy
Usage
Simply type your questions in the chat interface and get responses based on the knowledge base.
Environment Variables
TOGETHER_API_KEY
: Together API key (required)