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 TypeMethodDescription@Nullable String@Nullable org.springframework.core.io.Resource@Nullable String@Nullable StringbooleanvoidvoidsetCredentialsUri(@Nullable org.springframework.core.io.Resource credentialsUri) voidsetLocation(@Nullable String location) voidsetProjectId(@Nullable 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 @Nullable org.springframework.core.io.Resource getCredentialsUri() -
setCredentialsUri
public void setCredentialsUri(@Nullable org.springframework.core.io.Resource credentialsUri) -
isVertexAi
public boolean isVertexAi() -
setVertexAi
public void setVertexAi(boolean vertexAi)
-