Spaces:
Configuration error
Configuration error
|
Download README.md from ghostdev11/multi-dataset-rag-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 479 Bytes
-
https://huggingface.co/spaces/ghostdev11/multi-dataset-rag-chatbot/resolve/main/README.md
- Command line
-
hf download hf://spaces/ghostdev11/multi-dataset-rag-chatbot/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ghostdev11/multi-dataset-rag-chatbot/resolve/main/README.md
479 Bytes
RAG Chatbot với Gemini
Chatbot sử dụng Retrieval-Augmented Generation (RAG) với Gemini API.
Cài đặt
- Clone repo
- Cài đặt dependencies:
pip install -r requirements.txt - Thêm Gemini API key vào file
.env - Đặt dataset vào
data/your_dataset.txt - Chạy:
python app.py
Deploy lên Hugging Face Spaces
- Tạo Space mới trên Hugging Face
- Upload tất cả files
- Thêm secret GEMINI_API_KEY trong Settings