Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -350,8 +350,7 @@ def rag_workflow(query):
|
|
| 350 |
Based on these examples and guidelines, rewrite the following user query to align more effectively with the keywords used in the docstrings.
|
| 351 |
Original query:
|
| 352 |
{query}
|
| 353 |
-
|
| 354 |
-
Rewritten query:"""
|
| 355 |
|
| 356 |
|
| 357 |
rewritten_query_response = llm.invoke(rewrite_prompt)
|
|
|
|
| 350 |
Based on these examples and guidelines, rewrite the following user query to align more effectively with the keywords used in the docstrings.
|
| 351 |
Original query:
|
| 352 |
{query}
|
| 353 |
+
"""
|
|
|
|
| 354 |
|
| 355 |
|
| 356 |
rewritten_query_response = llm.invoke(rewrite_prompt)
|