Update app.py
Browse files
app.py
CHANGED
|
@@ -159,7 +159,7 @@ def load_session_from_mongodb(session_id: str) -> Dict[str, Any]:
|
|
| 159 |
groq_api_key = os.getenv("GROQ_API_KEY")
|
| 160 |
|
| 161 |
# Make sure to import from the correct module
|
| 162 |
-
from
|
| 163 |
session_rag = OptimizedSessionRAG(session_id, groq_api_key)
|
| 164 |
|
| 165 |
# 4. Load existing session data (rebuilds indices from stored embeddings)
|
|
|
|
| 159 |
groq_api_key = os.getenv("GROQ_API_KEY")
|
| 160 |
|
| 161 |
# Make sure to import from the correct module
|
| 162 |
+
from rag import OptimizedSessionRAG # Or whatever your actual import is
|
| 163 |
session_rag = OptimizedSessionRAG(session_id, groq_api_key)
|
| 164 |
|
| 165 |
# 4. Load existing session data (rebuilds indices from stored embeddings)
|