179 Add support for Google Gemini

Comment From: tzolov

Hi @King-Chau , Today I finished the bulk of the Chat/Embedding API refactoring, that is based on a common Generic Model API. Because those changes where too intrusive we postponed adding new chat/embedding models. Today I decided to start reviewing your Gemini support PR but noticed hat you have closed? Let me know if you are still interested contributing this? Cheers, Christian

Comment From: King-Chau

Hi @King-Chau , Today I finished the bulk of the Chat/Embedding API refactoring, that is based on a common Generic Model API. Because those changes where too intrusive we postponed adding new chat/embedding models. Today I decided to start reviewing your Gemini support PR but noticed hat you have closed? Let me know if you are still interested contributing this? Cheers, Christian

Hi, @tzolov Thank you for your reply. I'm still interested contributing this. But this PR was too old, and the code have changed a lot. I will rebase the code and pull a new PR.

Comment From: tzolov

@King-Chau , fyi, i've put together some initial implementation that implements ChatClient, StreamingChatClient and support multimodal content (e.g. text + images, video ..) https://github.com/spring-projects/spring-ai/tree/vertex-ai-gemini/models/spring-ai-vertex-ai-gemini