Uses of Class
dev.langchain4j.model.voyageai.VoyageAiScoringModel.Builder
Packages that use VoyageAiScoringModel.Builder
-
Uses of VoyageAiScoringModel.Builder in dev.langchain4j.model.voyageai
Methods in dev.langchain4j.model.voyageai that return VoyageAiScoringModel.BuilderModifier and TypeMethodDescriptionSets the Voyage AI API key used to authenticate requests.Sets the base URL of the Voyage AI API.static VoyageAiScoringModel.BuilderVoyageAiScoringModel.builder()VoyageAiScoringModel.Builder.customHeaders(Supplier<Map<String, String>> customHeadersSupplier) Sets a supplier for custom HTTP headers.VoyageAiScoringModel.Builder.customHeaders(Map<String, String> customHeaders) Sets custom HTTP headers.VoyageAiScoringModel.Builder.httpClientBuilder(HttpClientBuilder httpClientBuilder) Sets a custom HTTP client builder, allowing fine-grained control over the HTTP client configuration such as timeouts and proxy settings.VoyageAiScoringModel.Builder.logger(org.slf4j.Logger logger) VoyageAiScoringModel.Builder.logRequests(Boolean logRequests) Enables debug logging of request bodies sent to the Voyage AI API.VoyageAiScoringModel.Builder.logResponses(Boolean logResponses) Enables debug logging of response bodies received from the Voyage AI API.VoyageAiScoringModel.Builder.maxRetries(Integer maxRetries) Sets the maximum number of retries on transient errors.VoyageAiScoringModel.Builder.modelName(VoyageAiScoringModelName modelName) Name of the model.Name of the model.Sets the HTTP request timeout.The number of most relevant documents to return.VoyageAiScoringModel.Builder.truncation(Boolean truncation) Whether to truncate the input to satisfy the "context length limit" on the query and the documents.Constructors in dev.langchain4j.model.voyageai with parameters of type VoyageAiScoringModel.Builder