Below are the properties required to use vertexAI.
spring.ai.vertex.ai.gemini.project-id=PROJECT_ID
spring.ai.vertex.ai.gemini.location=LOCATION
spring.ai.vertex.ai.gemini.chat.options.model=vertex-pro-vision
spring.ai.vertex.ai.gemini.chat.options.temperature=0.5
#Credential
spring.ai.vertex.ai.gemini.credentialsUri
I am using the Google AI Studio Gemini API
to call LLM just like I am using OpenAI
.
However, in Google AI Studio, the only thing related to Credential is the API key. How can I use this as Credential?
Comment From: KotlinFactory
Really good question also wondering about that. Would be a shame if spring didnt support such an important api. Gemini 1.5pro experimental is currently on top of the LLM-leaderbords.
Comment From: csterwa
Closing this as duplicate of #1252