Spaces:
Sleeping
Sleeping
Update app.py to use correct retriever config for HF deployment
Browse files- Changed default config from compute_rag_vector_index_conversations.yaml to compute_rag_vector_index_openai_contextual.yaml
- This ensures HF Space uses the optimized contextual retriever with all improvements
app.py
CHANGED
|
@@ -28,7 +28,7 @@ except ImportError as e:
|
|
| 28 |
def main():
|
| 29 |
"""Main function for Hugging Face Space deployment."""
|
| 30 |
# Set default values for HF Spaces
|
| 31 |
-
retriever_config_path = os.getenv("RETRIEVER_CONFIG_PATH", "configs/
|
| 32 |
|
| 33 |
print("π Starting Second Brain AI Assistant...")
|
| 34 |
print(f"π Using retriever config: {retriever_config_path}")
|
|
|
|
| 28 |
def main():
|
| 29 |
"""Main function for Hugging Face Space deployment."""
|
| 30 |
# Set default values for HF Spaces
|
| 31 |
+
retriever_config_path = os.getenv("RETRIEVER_CONFIG_PATH", "configs/compute_rag_vector_index_openai_contextual.yaml")
|
| 32 |
|
| 33 |
print("π Starting Second Brain AI Assistant...")
|
| 34 |
print(f"π Using retriever config: {retriever_config_path}")
|