Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -309,9 +309,9 @@ def rag_workflow(query):
|
|
309 |
|
310 |
rewrite_prompt = (
|
311 |
f"""You are an intelligent assistant that helps users rewrite their queries.
|
312 |
-
The vectorstore consists of the source code and documentation of a Python library
|
313 |
-
|
314 |
-
|
315 |
library's methods and documentation, ensuring optimal retrieval of relevant information.
|
316 |
|
317 |
Guidelines for rewriting the query:
|
|
|
309 |
|
310 |
rewrite_prompt = (
|
311 |
f"""You are an intelligent assistant that helps users rewrite their queries.
|
312 |
+
The vectorstore consists of the source code and documentation of a Python library.
|
313 |
+
The library's functions and methods have descriptive docstrings.
|
314 |
+
Your task is to rewrite the query in a way that aligns with the language and structure of the
|
315 |
library's methods and documentation, ensuring optimal retrieval of relevant information.
|
316 |
|
317 |
Guidelines for rewriting the query:
|