Spaces:
Running
Running
Update rag_engine.py
Browse files- rag_engine.py +1 -1
rag_engine.py
CHANGED
@@ -380,7 +380,7 @@ def process_query(query, top_k=5, word_limit=100):
|
|
380 |
top_k=top_k
|
381 |
)
|
382 |
|
383 |
-
# Format citations
|
384 |
sources = format_citations(retrieved_sources) if retrieved_sources else "No citation available."
|
385 |
|
386 |
# Generate answer
|
|
|
380 |
top_k=top_k
|
381 |
)
|
382 |
|
383 |
+
# Format citations
|
384 |
sources = format_citations(retrieved_sources) if retrieved_sources else "No citation available."
|
385 |
|
386 |
# Generate answer
|