Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vision_agent): report visualization images via callback #62

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

humpydonkey
Copy link
Collaborator

@humpydonkey humpydonkey commented Apr 23, 2024

Report visualization images via callback.
This enables client apps to show those visualization images on a UI.

Images are sent via text in below format:

<VIZ>
<IMG>{base64 encoded image 1}</IMG>
<IMG>{base64 encoded image 2}</IMG>
<IMG>{base64 encoded image 3}</IMG>
</VIZ>

Minor tweaks:

  1. change b64 encoding back to PNG
  2. loosen some test assertion

Copy link
Member

@dillonalaird dillonalaird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@humpydonkey humpydonkey merged commit f4b334d into main Apr 23, 2024
7 checks passed
@humpydonkey humpydonkey deleted the report-viz branch April 23, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants