- Python 3.8+
- API key của Google Gemini
pip install -r requirements.txt- Truy cập: https://makersuite.google.com/app/apikey
- Đăng nhập bằng tài khoản Google
- Tạo API key mới
- Sao chép API key
Cách 1: Tạo file .env (Khuyến nghị)
# Tạo file .env trong thư mục dự án
echo GEMINI_API_KEY=your_actual_api_key_here > .envCách 2: Thiết lập biến môi trường
# Windows PowerShell
$env:GEMINI_API_KEY="your_actual_api_key_here"
# Windows Command Prompt
set GEMINI_API_KEY=your_actual_api_key_herestreamlit run main.py- Mở trình duyệt và truy cập: http://localhost:8501
- Nhập câu hỏi vào ô text
- Nhấn "Submit" để xử lý
- Task Splitting: Hệ thống chia nhỏ câu hỏi thành các task
- Multi-Agent Processing: Mỗi task được xử lý bởi Gemini AI
- Memory Storage: Kết quả được lưu vào FAISS vector database
- Context Retrieval: Các câu hỏi sau sẽ sử dụng context từ bộ nhớ
- Không chia sẻ API key của bạn
- API key có giới hạn sử dụng hàng tháng
- Đảm bảo kết nối internet ổn định