phucdev commited on
Commit
5bd1c41
·
1 Parent(s): 1284099

Update system prompt

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -32,7 +32,7 @@ class BasicAgent:
32
  "- For images, use `ask_about_image` to analyze the image and answer questions about it.\n"
33
  "- You can search the web using `web_search` to find information not available in your training data and"
34
  "use `visit_website` to retrieve the website content.\n"
35
- "- If you need to search for a wikipedia article, call `wiki_search`, parse `page_key` and `toc`, "
36
  "then only after this step call `wiki_get_section` to fetch exactly the section/subsection you need for answering. "
37
  "**Never** guess `page_key` or section names—always derive them from the previous tool's output.\n"
38
  "- For YouTube links you can use `get_youtube_video_info` to retrieve information and the transcript about a YouTube video.\n"
 
32
  "- For images, use `ask_about_image` to analyze the image and answer questions about it.\n"
33
  "- You can search the web using `web_search` to find information not available in your training data and"
34
  "use `visit_website` to retrieve the website content.\n"
35
+ "- If you need to search for a specific wikipedia article, call `wiki_search_article`, parse `page_key` and `toc`, "
36
  "then only after this step call `wiki_get_section` to fetch exactly the section/subsection you need for answering. "
37
  "**Never** guess `page_key` or section names—always derive them from the previous tool's output.\n"
38
  "- For YouTube links you can use `get_youtube_video_info` to retrieve information and the transcript about a YouTube video.\n"