Rohan03 commited on
Commit
590e9f6
·
verified ·
1 Parent(s): 12ff1aa

Track 3: TOML prompts + PURPOSE_LEARNING.md whitepaper — purpose_agent/actor.py

Browse files
Files changed (1) hide show
  1. purpose_agent/actor.py +10 -10
purpose_agent/actor.py CHANGED
@@ -73,16 +73,16 @@ ACTOR_STEP_PROMPT = """\
73
 
74
  Based on the current state and your goal, decide your next action.
75
 
76
- Respond in this exact JSON format:
77
- ```json
78
- {{
79
- "thought": "Your reasoning about the current state and what to do next",
80
- "action": {{
81
- "name": "action_name",
82
- "params": {{"param1": "value1"}}
83
- }},
84
- "expected_delta": "Specific prediction of what will change in the state"
85
- }}
86
  ```
87
  """
88
 
 
73
 
74
  Based on the current state and your goal, decide your next action.
75
 
76
+ Respond in this format:
77
+ ```toml
78
+ thought = "Your reasoning about the current state and what to do next"
79
+ expected_delta = "What you expect to change"
80
+
81
+ [action]
82
+ name = "action_name"
83
+
84
+ [action.params]
85
+ param1 = "value1"
86
  ```
87
  """
88