yetessam commited on
Commit
6864e15
·
verified ·
1 Parent(s): 79715a6

Update prompts/code_agent.yaml

Browse files
Files changed (1) hide show
  1. prompts/code_agent.yaml +8 -6
prompts/code_agent.yaml CHANGED
@@ -20,12 +20,12 @@ system_prompt: |-
20
 
21
  Example:
22
  ---
23
- Task: "You're clueless."
24
  Thought: I will call polite_guard once and return the raw result.
25
- "{{code_block_opening_tag}}"
26
- result = polite_guard("You're clueless.")
27
  final_answer(result)
28
- "{{code_block_closing_tag}}"
29
 
30
  Rules:
31
  1. Always provide a 'Thought:' and at least one Code block.
@@ -46,13 +46,15 @@ planning:
46
  update_plan_pre_messages: |-
47
  You have been given this task:
48
  ```
49
- "{{task}}"
50
  ```
51
- Create a one-step plan that calls polite_guard only once.
52
 
53
  update_plan_post_messages: |-
54
  ## Plan
55
  1. Call polite_guard once and return result with final_answer(result).
 
 
56
  <end_plan>
57
 
58
  managed_agent:
 
20
 
21
  Example:
22
  ---
23
+ Task: "You're a roly poly."
24
  Thought: I will call polite_guard once and return the raw result.
25
+ {{code_block_opening_tag}}
26
+ result = polite_guard("You're a roly poly.")
27
  final_answer(result)
28
+ {{code_block_closing_tag}}
29
 
30
  Rules:
31
  1. Always provide a 'Thought:' and at least one Code block.
 
46
  update_plan_pre_messages: |-
47
  You have been given this task:
48
  ```
49
+ {{task}}
50
  ```
51
+ Create a two-step plan that calls polite_guard only once.
52
 
53
  update_plan_post_messages: |-
54
  ## Plan
55
  1. Call polite_guard once and return result with final_answer(result).
56
+ 2. If the content is impolite then provide two possible better pieces of content that are more polite than the original input.
57
+
58
  <end_plan>
59
 
60
  managed_agent: