langchain4j / langchain4j

Java version of LangChain
https://docs.langchain4j.dev
Apache License 2.0
4.91k stars 977 forks source link

Google AI Gemini: implement Spring Boot starter #2103

Open langchain4j opened 1 week ago

langchain4j commented 1 week ago

Implement Spring Boot starter for langchain4j-google-ai-gemini in https://github.com/langchain4j/langchain4j-spring repo

langchain4j-github-bot[bot] commented 1 week ago

/cc @glaforge (gemini)

Suhas-Koheda commented 1 week ago

@langchain4j hey can i try working on it ? I have just started reading docs related to gemini api in langchain4j I can refer to the other starter packs and create it

langchain4j commented 1 week ago

@Suhas-Koheda sure, thank you in advance!

Suhas-Koheda commented 1 week ago

@langchain4j hey is there a streaming model for google gemini ai ? i am unable to find any class of streaming model

langchain4j commented 1 week ago

@Suhas-Koheda yes, https://github.com/langchain4j/langchain4j/blob/main/langchain4j-google-ai-gemini/src/main/java/dev/langchain4j/model/googleai/GoogleAiGeminiStreamingChatModel.java

Suhas-Koheda commented 1 week ago

Okay jus found out that i was on the older version of langchain4j lol

Suhas-Koheda commented 1 week ago

@langchain4j hey i have opened a pr regarding this :)

langchain4j commented 1 week ago

@Suhas-Koheda thanks a lot, I will try to review it ASAP