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
Conversation
…AI & Gemini integrations
…AI & Gemini integrations
...vertex-ai-gemini/src/test/java/dev/langchain4j/model/vertexai/VertexAiGeminiChatModelIT.java
Outdated
Show resolved
Hide resolved
|
@glaforge could you please review Gemini part? Thanks! |
There was a problem hiding this 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!
...-gemini/src/test/java/dev/langchain4j/model/vertexai/VertexAiGeminiStreamingChatModelIT.java
Outdated
Show resolved
Hide resolved
langchain4j-vertex-ai-gemini/src/main/java/dev/langchain4j/model/vertexai/PartsMapper.java
Outdated
Show resolved
Hide resolved
...vertex-ai-gemini/src/test/java/dev/langchain4j/model/vertexai/VertexAiGeminiChatModelIT.java
Outdated
Show resolved
Hide resolved
...vertex-ai-gemini/src/test/java/dev/langchain4j/model/vertexai/VertexAiGeminiChatModelIT.java
Outdated
Show resolved
Hide resolved
...vertex-ai-gemini/src/test/java/dev/langchain4j/model/vertexai/VertexAiGeminiChatModelIT.java
Outdated
Show resolved
Hide resolved
...-gemini/src/test/java/dev/langchain4j/model/vertexai/VertexAiGeminiStreamingChatModelIT.java
Outdated
Show resolved
Hide resolved
|
@langchain4j May I know when could I access these features in a released version? |
|
@liushuaikobe most probably end of this week or during the next week. In the meantime, you can build a snapshot |
|
Awesome, this update is so timely, I just needed it! |
Support for image inputs was added in LangChain4j chat API as well as OpenAI & Gemini integrations