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

Implemented support for image inputs #428

Merged
merged 14 commits into from Jan 8, 2024
Merged

Implemented support for image inputs #428

merged 14 commits into from Jan 8, 2024

Conversation

langchain4j
Copy link
Owner

Support for image inputs was added in LangChain4j chat API as well as OpenAI & Gemini integrations

@langchain4j
Copy link
Owner Author

@glaforge could you please review Gemini part? Thanks!

Copy link
Contributor

@glaforge glaforge left a comment

Choose a reason for hiding this comment

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

It looks great to me!
It's interesting to see that it required quite a bit of changes here and there so it works across providers.
I'm wondering why you're not using the java.util.Base64 class instead of the internal sun one?
Otherwise, looks great and easy to use when users mix text and images!

@langchain4j langchain4j merged commit 7d32c14 into main Jan 8, 2024
6 checks passed
@langchain4j langchain4j deleted the image_inputs branch January 8, 2024 09:45
@liushuaikobe
Copy link

@langchain4j May I know when could I access these features in a released version?

@langchain4j
Copy link
Owner Author

@liushuaikobe most probably end of this week or during the next week. In the meantime, you can build a snapshot

@f361600134
Copy link

Awesome, this update is so timely, I just needed it!

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

4 participants