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
Send it a prompt. Here's an example that returns a bool from a yes/no question. Not that the `image` field of the service request may be left empty.
37
+
Send it a prompt. Here's an example that returns a bool from a yes/no question. Note that the `image` field of the service request may be left empty...
34
38
35
39
`ros2 service call /openai_server ai_msgs/srv/BoolResponse prompt:\ "Are you a pirate? Please respond with a one-word answer, yes or no"`
36
40
37
-
Here's an example that returns a full string.
41
+
Here's an example that returns a full string...
38
42
39
43
`ros2 service call /openai_string_response ai_msgs/srv/StringResponse prompt:\ "Are you a pirate?"`
40
44
41
-
There's an example client which sends an image of a wooden table and prompts whether it is indeed a wooden table:
45
+
Here's an example client which sends an image of a wooden table and prompts whether it is indeed a wooden table:
0 commit comments