Skip to content

Commit

Permalink
fixed plan format
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Aug 24, 2024
1 parent 5e2689c commit 416ae38
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vision_agent/agent/vision_agent_coder_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
**Instructions**:
1. Based on the context and tools you have available, create a plan of subtasks to achieve the user request.
2. Output three different plans each utilize a different strategy or tool.
2. Output three different plans each utilize a different strategy or set of tools.
Output a list of jsons in the following format
```json
{{
"plan1":
[
{{
"thoughts": str # your thought process for this plan
"instructions": str # what you should do in this task associated with a tool
}}
],
{{
"thoughts": str # your thought process for choosing this plan
"instructions": [
str # what you should do in this task associated with a tool
]
}},
"plan2": ...,
"plan3": ...
}}
Expand Down Expand Up @@ -128,7 +128,7 @@
**Instructions**:
1. Given the plans, image, and tool outputs, decide which plan is the best to achieve the user request.
2. Try solving the problem yourself given the image and pick the plan which matches your solution the best.
2. Try solving the problem yourself given the image and pick the plan that matches your solution the best.
3. Output a JSON object with the following format:
{{
"thoughts": str # your thought process for choosing the best plan
Expand Down

0 comments on commit 416ae38

Please sign in to comment.