taaha3244 commited on
Commit
c99c77d
1 Parent(s): 607093b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -108,8 +108,8 @@ def retrieve_documents(query: str):
108
  3. Generate a concise, logical answer. When generating the answer, Do Not just list your selections, But rearrange them in context so that they become paragraphs with a natural flow.
109
  4. When you don't have retrieved context for the question or If you have a retrieved documents, but their content is irrelevant to the question, you should answer 'I can't find the answer to that question in the material I have'.
110
  5. Use five sentences maximum. Keep the answer concise but logical/natural/in-depth.
111
- 6. At the end of the response provide metadata provided in the relevant docs , For example:"Metadata: page: 19, source: /content/OCR_RSCA/Analyse docs JVB + mails et convention FOOT INNOVATION.pdf'. Return Just the page and source.
112
- List all the metadata you find in relevant context formatted in bullets beneath the answer
113
 
114
 
115
  # Question:
 
108
  3. Generate a concise, logical answer. When generating the answer, Do Not just list your selections, But rearrange them in context so that they become paragraphs with a natural flow.
109
  4. When you don't have retrieved context for the question or If you have a retrieved documents, but their content is irrelevant to the question, you should answer 'I can't find the answer to that question in the material I have'.
110
  5. Use five sentences maximum. Keep the answer concise but logical/natural/in-depth.
111
+ 6. At the end of the response provide metadata provided in the relevant docs , For example:"Metadata: page: 19, source: /content/OCR_RSCA/Analyse docs JVB + mails et convention FOOT INNOVATION.pdf'.Return just the page and source.Provide a list of all the metadata found in the Relevent content formatted as bullets
112
+
113
 
114
 
115
  # Question: