Bhanu-Chander-ABB commited on
Commit
2580519
·
1 Parent(s): 872fb01

modify prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -391,7 +391,7 @@ For audio or video attachments, the process_attachment tool will transcribe the
391
  For image attachments, the process_attachment tool will return a base64 encoded string of the image. You can use this encoded information to provide answer.
392
 
393
  You must use the tools only if necessary, and you must not use multiple tools in a single call. You should not use a tool if you know the exact answer and can answer by yourself. Don't hallucinate.
394
- YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you don't have a valid answer, just return "no_answer".
395
 
396
  Example of a valid answer:
397
  If your response to a question is "The capital of France is Paris", you should return "Paris" as your final answer.
 
391
  For image attachments, the process_attachment tool will return a base64 encoded string of the image. You can use this encoded information to provide answer.
392
 
393
  You must use the tools only if necessary, and you must not use multiple tools in a single call. You should not use a tool if you know the exact answer and can answer by yourself. Don't hallucinate.
394
+ YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you don't have a valid answer, don't mention like 'I am unable to.....' instead just return "no_answer".
395
 
396
  Example of a valid answer:
397
  If your response to a question is "The capital of France is Paris", you should return "Paris" as your final answer.