Uses of Class
dev.langchain4j.model.typesafe.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder
Packages that use TypeSafeDecisionModel.TypeSafeDecisionModelBuilder
-
Uses of TypeSafeDecisionModel.TypeSafeDecisionModelBuilder in dev.langchain4j.model.typesafe
Methods in dev.langchain4j.model.typesafe that return TypeSafeDecisionModel.TypeSafeDecisionModelBuilderModifier and TypeMethodDescriptionThe API key.The base URL of the API.TypeSafeDecisionModel.builder()TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.customHeaders(Supplier<Map<String, String>> customHeadersSupplier) Sets a supplier for custom HTTP headers.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.customHeaders(Map<String, String> customHeaders) Sets custom HTTP headers.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.httpClientBuilder(HttpClientBuilder httpClientBuilder) Sets a custom HTTP client builder, allowing fine-grained control over the HTTP client configuration such as timeouts and proxy settings.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.listeners(DecisionModelListener... listeners) TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.listeners(List<DecisionModelListener> listeners) Sets the listeners that are notified of every request, response and error.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.logger(org.slf4j.Logger logger) An alternateLoggerto be used instead of the default one for logging requests and responses.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.logRequests(Boolean logRequests) Whether to log requests.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.logResponses(Boolean logResponses) Whether to log responses.TypeSafeDecisionModel.TypeSafeDecisionModelBuilder.maxRetries(Integer maxRetries) The number of retries after the first attempt, for transient errors such as timeouts, rate limits and server errors.The model to use when a request does not specify one, for examplejev-latest.The connect and read timeout.Constructors in dev.langchain4j.model.typesafe with parameters of type TypeSafeDecisionModel.TypeSafeDecisionModelBuilderModifierConstructorDescription