Class VertexAiEmbeddingModel.Builder
java.lang.Object
dev.langchain4j.model.vertexai.VertexAiEmbeddingModel.Builder
- Enclosing class:
VertexAiEmbeddingModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoTruncate(Boolean autoTruncate) build()credentials(com.google.auth.oauth2.GoogleCredentials credentials) maxRetries(Integer maxRetries) maxSegmentsPerBatch(Integer maxBatchSize) maxTokensPerBatch(Integer maxTokensPerBatch) outputDimensionality(Integer outputDimensionality) taskType(VertexAiEmbeddingModel.TaskType taskType) titleMetadataKey(String titleMetadataKey)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
-
project
-
location
-
publisher
-
modelName
-
maxRetries
-
maxSegmentsPerBatch
-
maxTokensPerBatch
-
taskType
-
titleMetadataKey
-
autoTruncate
-
outputDimensionality
-
credentials
public VertexAiEmbeddingModel.Builder credentials(com.google.auth.oauth2.GoogleCredentials credentials) -
build
-