Class GoogleGenAiEmbeddingConnectionProperties
java.lang.Object
org.springframework.ai.model.google.genai.autoconfigure.embedding.GoogleGenAiEmbeddingConnectionProperties
@ConfigurationProperties("spring.ai.google.genai.embedding")
public class GoogleGenAiEmbeddingConnectionProperties
extends Object
Configuration properties for Google GenAI Embedding Connection.
- Since:
- 1.1.0
- Author:
- Christian Tzolov, Mark Pollack, Ilayaperumal Gopinathan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.ResourcebooleanvoidvoidsetCredentialsUri(org.springframework.core.io.Resource credentialsUri) voidsetLocation(String location) voidsetProjectId(String projectId) voidsetVertexAi(boolean vertexAi)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
GoogleGenAiEmbeddingConnectionProperties
public GoogleGenAiEmbeddingConnectionProperties()
-
-
Method Details
-
getApiKey
-
setApiKey
-
getProjectId
-
setProjectId
-
getLocation
-
setLocation
-
getCredentialsUri
public org.springframework.core.io.Resource getCredentialsUri() -
setCredentialsUri
public void setCredentialsUri(org.springframework.core.io.Resource credentialsUri) -
isVertexAi
public boolean isVertexAi() -
setVertexAi
public void setVertexAi(boolean vertexAi)
-