Class GoogleGenAiBatchEmbeddingModel.Builder
java.lang.Object
dev.langchain4j.model.google.genai.GoogleGenAiBatchEmbeddingModel.Builder
- Enclosing class:
GoogleGenAiBatchEmbeddingModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiEndpoint(String apiEndpoint) build()client(com.google.genai.Client client) customHeaders(Map<String, String> customHeaders) googleCredentials(com.google.auth.oauth2.GoogleCredentials credentials) maxRetries(Integer maxRetries) outputDimensionality(Integer outputDimensionality) titleMetadataKey(String titleMetadataKey)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
client
-
googleCredentials
public GoogleGenAiBatchEmbeddingModel.Builder googleCredentials(com.google.auth.oauth2.GoogleCredentials credentials) -
apiKey
-
projectId
-
location
-
modelName
-
maxRetries
-
timeout
-
outputDimensionality
-
taskType
public GoogleGenAiBatchEmbeddingModel.Builder taskType(GoogleGenAiEmbeddingModel.TaskTypeEnum taskType) -
titleMetadataKey
-
apiEndpoint
-
customHeaders
-
build
-