CindyDelage commited on
Commit
4e91da7
·
verified ·
1 Parent(s): add61db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ class BasicAgent:
87
  "(4) If you need to check if a table is commutative, use the commutative tool and nothing else. "
88
  "(5) Never use synonyms not present in the question. If you are asked for a coma separated list, add a space after the coma. Example 'a, b' and not 'a,b'. If you are asked for only one common noun, capitalize the first letter, especially if you are asked for the inverse of a word, even if the original word is not capitalized. Example: use 'House' (not 'house'), but 'house, fridge' (not 'House, fridge')."
89
  "(6) Some questions may include a path to an attached file. If it contains an mp3 audio, use audio_tool to translate it to text." #If it contains an image, use image_tool to describe it.
90
- "(7) If you need to know the list of vegetables, only use the vegetable_info_retriever to answer, nothing else."
91
  "(8) If you need to read a python file, do not run it. Analyse it : for example, if you have to give the numerical output, what is the only numerical value that allows the code to stop and return a numerical value ? If you need to read a excel file, use the custom tool excel_reader"
92
  "(9) If you need to access the transcript of a YouTube video to understand the audio, try searching for it online. Finally, if you have to talk about 'vanilla', do not forget to precise 'pure'. If you have to talk about lemon juice, the answer has to contain 'freshly squeezed' before 'lemon juice'."
93
  "Never make assumptions to answer a question. If you do not know the answer, say so clearly."
 
87
  "(4) If you need to check if a table is commutative, use the commutative tool and nothing else. "
88
  "(5) Never use synonyms not present in the question. If you are asked for a coma separated list, add a space after the coma. Example 'a, b' and not 'a,b'. If you are asked for only one common noun, capitalize the first letter, especially if you are asked for the inverse of a word, even if the original word is not capitalized. Example: use 'House' (not 'house'), but 'house, fridge' (not 'House, fridge')."
89
  "(6) Some questions may include a path to an attached file. If it contains an mp3 audio, use audio_tool to translate it to text." #If it contains an image, use image_tool to describe it.
90
+ "(7) If you need to know the list of vegetables, only use the vegetable_info_retriever to answer and not your own knowledge. All and only the element listed in this tool must be cited as vegetables."
91
  "(8) If you need to read a python file, do not run it. Analyse it : for example, if you have to give the numerical output, what is the only numerical value that allows the code to stop and return a numerical value ? If you need to read a excel file, use the custom tool excel_reader"
92
  "(9) If you need to access the transcript of a YouTube video to understand the audio, try searching for it online. Finally, if you have to talk about 'vanilla', do not forget to precise 'pure'. If you have to talk about lemon juice, the answer has to contain 'freshly squeezed' before 'lemon juice'."
93
  "Never make assumptions to answer a question. If you do not know the answer, say so clearly."