Uses of Class
dev.langchain4j.model.voyageai.VoyageAiEmbeddingModel.Builder
-
Uses of VoyageAiEmbeddingModel.Builder in dev.langchain4j.model.voyageai
Modifier and TypeMethodDescriptionVoyageAiEmbeddingModel.builder()
VoyageAiEmbeddingModel.Builder.encodingFormat
(String encodingFormat) Format in which the embeddings are encoded.Type of the input text.VoyageAiEmbeddingModel.Builder.logRequests
(Boolean logRequests) VoyageAiEmbeddingModel.Builder.logResponses
(Boolean logResponses) VoyageAiEmbeddingModel.Builder.maxRetries
(Integer maxRetries) VoyageAiEmbeddingModel.Builder.maxSegmentsPerBatch
(Integer maxSegmentsPerBatch) VoyageAiEmbeddingModel.Builder.modelName
(VoyageAiEmbeddingModelName modelName) Name of the model.Name of the model.VoyageAiEmbeddingModel.Builder.truncation
(Boolean truncation) Whether to truncate the input texts to fit within the context length.