Spaces:
Running
Running
Update rag
Browse files- rag_engine.py +4 -1
rag_engine.py
CHANGED
@@ -346,4 +346,7 @@ def process_query(query, top_k=5, word_limit=100):
|
|
346 |
"""Process a query through the RAG pipeline with proper formatting.
|
347 |
This function wraps the cached query processing.
|
348 |
"""
|
349 |
-
return cached_process_query(query, top_k, word_limit)
|
|
|
|
|
|
|
|
346 |
"""Process a query through the RAG pipeline with proper formatting.
|
347 |
This function wraps the cached query processing.
|
348 |
"""
|
349 |
+
return cached_process_query(query, top_k, word_limit)
|
350 |
+
|
351 |
+
# Alias for backward compatibility
|
352 |
+
load_model = cached_load_model
|