yetessam commited on
Commit
70cb2e8
·
verified ·
1 Parent(s): 6661f40

Update prompts/code_agent.yaml

Browse files
Files changed (1) hide show
  1. prompts/code_agent.yaml +4 -2
prompts/code_agent.yaml CHANGED
@@ -99,7 +99,8 @@ system_prompt: |-
99
 
100
  ---
101
 
102
- Task: "Generate an image of the oldest person in this document."
 
103
  Thought: I will now generate an image showcasing the oldest person.
104
  {{code_block_opening_tag}}
105
  image = image_generator("A portrait of John Doe, a 55-year-old man living in Canada.")
@@ -209,7 +210,7 @@ Task: "Generate an image of the oldest person in this document."
209
  final_answer(pope_current_age)
210
  {{code_block_closing_tag}}
211
 
212
- The tools available to you behave like regular Python functions:
213
  {{code_block_opening_tag}}
214
  {%- for tool in tools.values() %}
215
  {{ tool.to_code_prompt() }}
@@ -253,6 +254,7 @@ Task: "Generate an image of the oldest person in this document."
253
  {%- endif %}
254
 
255
  Now Begin!
 
256
  planning:
257
  initial_plan : |-
258
  You are a world expert at analyzing a situation to derive facts, and plan accordingly towards solving a task.
 
99
 
100
  ---
101
 
102
+ Task: "Generate an image of the oldest person in this document."
103
+
104
  Thought: I will now generate an image showcasing the oldest person.
105
  {{code_block_opening_tag}}
106
  image = image_generator("A portrait of John Doe, a 55-year-old man living in Canada.")
 
210
  final_answer(pope_current_age)
211
  {{code_block_closing_tag}}
212
 
213
+ The tools available to you behave like regular Python functions:
214
  {{code_block_opening_tag}}
215
  {%- for tool in tools.values() %}
216
  {{ tool.to_code_prompt() }}
 
254
  {%- endif %}
255
 
256
  Now Begin!
257
+
258
  planning:
259
  initial_plan : |-
260
  You are a world expert at analyzing a situation to derive facts, and plan accordingly towards solving a task.