Update default_system_prompt.yaml
Browse files
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 |
-
|
122 |
-
|
123 |
-
If
|
124 |
-
If you need
|
|
|
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:
|