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

Support message with image in GPT-4V and Claude3 #286

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

uezo
Copy link
Owner

@uezo uezo commented Mar 7, 2024

🖼️ How to send image in demo

  1. Configure and run demo. Use GPT-4V(gpt-4-vision-preview) or Claude3(claude-3-sonnet-20240229, claude-3-opus-20240229).
  2. Click image icon on input field.
  3. Input path to image file and press enter key then image is set.
  4. Wake and say something or input something to message input.

Developer info

  • GPT-4V: Set image as byte[] to payload of request with key "imageBytes" or set image url with key "imageUrl".
  • Claude3: Set image as byte[] to payload of request with key "imageBytes".

uezo added 3 commits March 8, 2024 04:52
Set image as byte[] to payload of request with key "imageBytes".
Supports single image per message for now.
Set image as byte[] to payload of request with key "imageBytes" or set image url with key "imageUrl".
Supports single image per message for now.
Use GPT-4V(gpt-4-vision-preview) or Claude3(claude-3-sonnet-20240229, claude-3-opus-20240229).

1. Configure and run demo.
2. Click image icon on input field.
3. Input path to image file and press enter key then image is set.
4. Say something or input something to message input.
@uezo uezo merged commit b2ad076 into master Mar 7, 2024
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.

None yet

1 participant