ankanghosh commited on
Commit
024dec5
·
verified ·
1 Parent(s): db4ca04

Update rag

Browse files
Files changed (1) hide show
  1. 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