Spaces:
Sleeping
Sleeping
Update rag_engine.py
Browse files- rag_engine.py +1 -1
rag_engine.py
CHANGED
|
@@ -130,7 +130,7 @@ class LabReportRAG:
|
|
| 130 |
|
| 131 |
# 1. Retrieve Medical Context
|
| 132 |
medical_context = self._retrieve_context(question, k=2)
|
| 133 |
-
|
| 134 |
# 2. Check for "Out of Context"
|
| 135 |
# If no documents found in DB, or query seems totally unrelated
|
| 136 |
if not medical_context:
|
|
|
|
| 130 |
|
| 131 |
# 1. Retrieve Medical Context
|
| 132 |
medical_context = self._retrieve_context(question, k=2)
|
| 133 |
+
print(medical_context)
|
| 134 |
# 2. Check for "Out of Context"
|
| 135 |
# If no documents found in DB, or query seems totally unrelated
|
| 136 |
if not medical_context:
|