Update retrieval_engine.py
Browse files- retrieval_engine.py +1 -1
retrieval_engine.py
CHANGED
|
@@ -122,7 +122,7 @@ class RetrievalEngine:
|
|
| 122 |
) -> List[RetrievedChunk]:
|
| 123 |
|
| 124 |
if not self.rows:
|
| 125 |
-
|
| 126 |
|
| 127 |
combined_query = clean_math_text(query)
|
| 128 |
normalized_topic = (topic or "").strip().lower()
|
|
|
|
| 122 |
) -> List[RetrievedChunk]:
|
| 123 |
|
| 124 |
if not self.rows:
|
| 125 |
+
return []
|
| 126 |
|
| 127 |
combined_query = clean_math_text(query)
|
| 128 |
normalized_topic = (topic or "").strip().lower()
|