You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vision_agent/tools/tools.py
+21-6Lines changed: 21 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,10 @@ class CLIP(Tool):
66
66
"Here are some exmaples of how to use the tool, the examples are in the format of User Question: which will have the user's question in quotes followed by the parameters in JSON format, which is the parameters you need to output to call the API to solve the user's question.\n"
"scenario": "Detect the red shirts and green shirst. Image name: shirts.jpg",
135
-
"parameters": {"prompt": "red shirt. green shirt", "image": "shirts.jpg"},
141
+
"parameters": {
142
+
"prompt": "red shirt. green shirt",
143
+
"image": "shirts.jpg",
144
+
},
136
145
},
137
146
],
138
147
}
@@ -193,7 +202,10 @@ class GroundingSAM(Tool):
193
202
"Here are some exmaples of how to use the tool, the examples are in the format of User Question: which will have the user's question in quotes followed by the parameters in JSON format, which is the parameters you need to output to call the API to solve the user's question.\n"
0 commit comments