Skip to content

Commit

Permalink
updated vlm prompt to be more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
yeshaokai committed Aug 9, 2024
1 parent 9161f1c commit f9ce60e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions amadeusgpt/system_prompts/code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def get_watching_events(identifier):
11) You MUST call functions in api docs on the analysis object.
12) For api functions that require min_window and max_window, make sure you leave them as default values unless you are asked to change them.
HOW TO AVOID BUGS:
You should always comment the shape of the any numpy array you are working with to avoid bugs. YOU MUST DO IT.
"""
Expand Down
2 changes: 1 addition & 1 deletion amadeusgpt/system_prompts/visual_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def _get_system_prompt():
```
The "description" has high level description of the image.
The "individuals" indicates the number of animals in the image
The "species" indicates the species of the animals in the image. You can only choose from one of "topview_mouse", "sideview_quadruped" or "others".
The "species" indicates the species of the animals in the image. You can only choose from one of "topview_mouse", "sideview_quadruped" or "others". Note all quadruped animals should be considered as sideview_quadruped.
The "background_objects" is a list of background objects in the image.
Explain your answers before you fill the answers. Make sure you only return one json string.
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def test_3d_maushaus():

qa_message = amadeus.step(query)

parse_result(amadeus, qa_message, use_ipython=False)
parse_result(amadeus, qa_message, use_ipython=False)

0 comments on commit f9ce60e

Please sign in to comment.