Spaces:
Configuration error
Configuration error
File size: 479 Bytes
62218d5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# RAG Chatbot với Gemini
Chatbot sử dụng Retrieval-Augmented Generation (RAG) với Gemini API.
## Cài đặt
1. Clone repo
2. Cài đặt dependencies: `pip install -r requirements.txt`
3. Thêm Gemini API key vào file `.env`
4. Đặt dataset vào `data/your_dataset.txt`
5. Chạy: `python app.py`
## Deploy lên Hugging Face Spaces
1. Tạo Space mới trên Hugging Face
2. Upload tất cả files
3. Thêm secret GEMINI_API_KEY trong Settings
|