Spaces:
Sleeping
Sleeping
Create .env
Browse files
.env
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
FLASK_HOST=0.0.0.0
|
| 3 |
+
FLASK_PORT=7860
|
| 4 |
+
# FLASK_DEBUG="False" # Gradio uses debug in launch()
|
| 5 |
+
|
| 6 |
+
# --- Groq LLM Models ---
|
| 7 |
+
GROQ_FALLBACK_MODEL=qwen/qwen3-32b
|
| 8 |
+
GROQ_AUXILIARY_MODEL=llama3-8b-8192
|
| 9 |
+
|
| 10 |
+
RAG_LLM_MODEL=qwen/qwen3-32b
|
| 11 |
+
RAG_TEMPERATURE=0.1
|
| 12 |
+
|
| 13 |
+
# --- RAG System Configuration ---
|
| 14 |
+
# Embedding model for RAG
|
| 15 |
+
RAG_EMBEDDING_MODEL=all-MiniLM-L6-v2
|
| 16 |
+
|
| 17 |
+
# Whether to use GPU for RAG embeddings (if available and faiss-gpu is installed)
|
| 18 |
+
|
| 19 |
+
RAG_EMBEDDING_GPU=false
|
| 20 |
+
|
| 21 |
+
# Whether to attempt loading an existing RAG index on startup.
|
| 22 |
+
RAG_LOAD_INDEX=true
|
| 23 |
+
|
| 24 |
+
# Default number of documents the RAG retriever should fetch.
|
| 25 |
+
RAG_RETRIEVER_K=5
|
| 26 |
+
|
| 27 |
+
GDRIVE_SOURCES_ENABLED=False
|
| 28 |
+
GDRIVE_FOLDER_URL=&HBGGtZ4TJA
|
| 29 |
+
|
| 30 |
+
LLM_FORMATTER_CONFIDENCE_THRESHOLD=95
|
| 31 |
+
CHAT_HISTORY_TO_SEND=5
|