Skip to content

Commit

Permalink
Update vision_agent_prompts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 authored Apr 9, 2024
1 parent c1883b5 commit b2bf294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vision_agent/agent/vision_agent_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{tools}
Please note that:
1. You should only choose one tool from the tool list to solve this question.
1. You should only choose one tool from the Tool List to solve this question.
2. You must ONLY output the ID of the tool you chose in a parsible JSON format. Two example outputs look like:
Example 1: {{"ID": 1}}
Expand All @@ -70,7 +70,7 @@
{reflections}
Please note that:
1. You should only choose one tool from the tool list to solve this question.
1. You should only choose one tool from the Tool List to solve this question.
2. You must ONLY output the ID of the tool you chose in a parsible JSON format. Two example outputs look like:
Example 1: {{"ID": 1}}
Expand All @@ -80,7 +80,7 @@

CHOOSE_PARAMETER_DEPENDS = """Given a user's question and an API tool documentation, you need to output parameters according to the API tool documentation to successfully call the API to solve the user's question.
Please note that:
1. The examples in the API tool documentation can help you better understand the use of the API.
1. The Example in the API tool documentation can help you better understand the use of the API.
2. Ensure the parameters you output are correct. The output must contain the required parameters, and can contain the optional parameters based on the question. If there are no paremters in the required parameters and optional parameters, just leave it as {{"Parameters":{{}}}}
3. If the user's question mentions other APIs, you should ONLY consider the API tool documentation I give and do not consider other APIs.
4. The question may have dependencies on answers of other questions, so we will provide logs of previous questions and answers for your reference.
Expand Down

0 comments on commit b2bf294

Please sign in to comment.