Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ class BasicAgent:
|
|
| 73 |
"(2) If the question is in English, do not use the translator. Determine whether it requires a web search, "
|
| 74 |
"and if so, use only the exact words from the question as keywords—no synonyms. "
|
| 75 |
"(3) If a web search is needed and the answer is likely on Wikipedia, try using the wiki_url_tool to find the relevant page; "
|
| 76 |
-
"if that fails, search manually; if you
|
| 77 |
"(4) Never use synonyms not present in the question. "
|
| 78 |
"(5) The questions may have file attached. If it contains an image, use image_tool to describe it. If it contains an mp3 audio, use audio_tool to translate it to text."
|
| 79 |
"(6) If you need to know the list of vegetables, you will find it with vegetable_info_retriever."
|
|
|
|
| 73 |
"(2) If the question is in English, do not use the translator. Determine whether it requires a web search, "
|
| 74 |
"and if so, use only the exact words from the question as keywords—no synonyms. "
|
| 75 |
"(3) If a web search is needed and the answer is likely on Wikipedia, try using the wiki_url_tool to find the relevant page; "
|
| 76 |
+
"if that fails, search manually; if you use wikipedia, always use the wiki_tool to extract data from Wikipedia tables. They may be usefull to answer the questions. "
|
| 77 |
"(4) Never use synonyms not present in the question. "
|
| 78 |
"(5) The questions may have file attached. If it contains an image, use image_tool to describe it. If it contains an mp3 audio, use audio_tool to translate it to text."
|
| 79 |
"(6) If you need to know the list of vegetables, you will find it with vegetable_info_retriever."
|