Uses of Class
dev.langchain4j.model.anthropic.AnthropicModelCatalog.Builder
Packages that use AnthropicModelCatalog.Builder
-
Uses of AnthropicModelCatalog.Builder in dev.langchain4j.model.anthropic
Methods in dev.langchain4j.model.anthropic that return AnthropicModelCatalog.BuilderModifier and TypeMethodDescriptionSets the Anthropic API key used to authenticate requests.Sets the base URL of the Anthropic API.AnthropicModelCatalog.builder()AnthropicModelCatalog.Builder.httpClientBuilder(HttpClientBuilder httpClientBuilder) Sets a customHttpClientBuilderfor the underlying HTTP client.AnthropicModelCatalog.Builder.logger(org.slf4j.Logger logger) Sets an alternateLoggerto be used instead of the default one provided by LangChain4j for logging requests and responses.AnthropicModelCatalog.Builder.logRequests(Boolean logRequests) Enables debug logging of HTTP request bodies sent to the Anthropic API.AnthropicModelCatalog.Builder.logResponses(Boolean logResponses) Enables debug logging of HTTP response bodies received from the Anthropic API.Sets the HTTP request timeout for calls to the Anthropic API.Sets the value of theanthropic-versionrequest header.