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

gpt 4.1 model

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -390,13 +390,13 @@ If there is a file (image, audio, or video) attached to the question, you should
390
  For audio or video attachments, the process_attachment tool will transcribe the audio and return the transcript, which you can use to answer the question.
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.
398
- If your response to a question is "The population of France is 67 million", you should return "67" as your final answer.
399
- If your response to a question is "4 studio albums were published by Mercedes Sosa between 2000 and 2009", you should return "4" as your final answer.
400
 
401
  Further instructions:
402
  - If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
 
390
  For audio or video attachments, the process_attachment tool will transcribe the audio and return the transcript, which you can use to answer the question.
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. 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 determine.....' instead just return "no_answer".
395
 
396
  Example of a valid answer:
397
+ - For a question if you deduced the answer something like "The capital of France is Paris", your output should just be: "Paris".
398
+ - For a question if you deduced the answer something like "The population of France is 67 million", your output should just be: "67".
399
+ - For a question if you deduced the answer something like "4 studio albums were published by Mercedes Sosa between 2000 and 2009", your output should just be: "4".
400
 
401
  Further instructions:
402
  - If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.