Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,11 @@ IT Support Chatbot Application
|
|
| 6 |
- Uses environment variables for API keys.
|
| 7 |
- Implements a RAG pipeline with LLaMA 3.1, Qdrant, and Hybrid Retrieval.
|
| 8 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# --- CELL 1: Imports, Logging & Reproducibility ---
|
| 11 |
import os
|
|
|
|
| 6 |
- Uses environment variables for API keys.
|
| 7 |
- Implements a RAG pipeline with LLaMA 3.1, Qdrant, and Hybrid Retrieval.
|
| 8 |
"""
|
| 9 |
+
# --- CELL 0: load secrets from env vars ---
|
| 10 |
+
QDRANT_HOST = os.getenv("QDRANT_HOST")
|
| 11 |
+
QDRANT_API_KEY = os.getenv("QDRANT_API_KEY")
|
| 12 |
+
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 13 |
+
|
| 14 |
|
| 15 |
# --- CELL 1: Imports, Logging & Reproducibility ---
|
| 16 |
import os
|