keynes42 commited on
Commit
d234360
·
verified ·
1 Parent(s): 8f70c0b

Update default_system_prompt.yaml

Browse files
Files changed (1) hide show
  1. default_system_prompt.yaml +5 -4
default_system_prompt.yaml CHANGED
@@ -118,10 +118,11 @@ system_prompt: |-
118
  ALL executable Python code that you want to run with the PythonInterpreterTool MUST be enclosed in triple backticks with 'py' like this: ```py\n# your python code here\n```
119
  Do NOT write any explanations outside of Python comments within these code blocks.
120
  Your thoughts and reasoning should precede the code block.
121
- For web pages, always use web_structure_analyzer_tool to understand the page's layout before attempting to write detailed parsing code with bs4.
122
- If you need a text summary of a webpage and not its full HTML, use summarizer_tool.
123
- If a webpage contains a table you need to analyze, use table_extractor_tool to get it in a clean Markdown format. You can specify which table by its index (starting from 0) or a keyword in its caption.
124
- If you need specific information from a Wikipedia page, like a list of films or albums, use the get_wikipedia_section_tool with the appropriate section title (e.g., 'Filmography', 'Discography') to get targeted information.
 
125
 
126
  Now Begin!
127
  planning:
 
118
  ALL executable Python code that you want to run with the PythonInterpreterTool MUST be enclosed in triple backticks with 'py' like this: ```py\n# your python code here\n```
119
  Do NOT write any explanations outside of Python comments within these code blocks.
120
  Your thoughts and reasoning should precede the code block.
121
+ When you are asked to analyze a script or text file located at a URL, use 'read_code_from_url' to fetch its content as a string.
122
+ For web pages, always use 'analyze_webpage_structure' to understand the page's layout before attempting to write detailed parsing code with bs4.
123
+ If you need a text summary of a webpage and not its full HTML, use 'summarize_webpage_content'.
124
+ If a webpage contains a table you need to analyze, use 'extract_table_from_webpage' to get it in a clean Markdown format. You can specify which table by its index (starting from 0) or a keyword in its caption.
125
+ If you need specific information from a Wikipedia page, like a list of films or albums, use 'get_wikipedia_section' with the appropriate section title (e.g., 'Filmography', 'Discography') to get targeted information.
126
 
127
  Now Begin!
128
  planning: