bupa1018 commited on
Commit
5f35a87
·
1 Parent(s): 831abbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, which enables users to
313
- programmatically interact with a REST-like API of a software system. The library methods have descriptive
314
- docstrings. 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:
 
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: