Uses of Class
dev.langchain4j.model.anthropic.AnthropicChatModel.AnthropicChatModelBuilder
Packages that use AnthropicChatModel.AnthropicChatModelBuilder
-
Uses of AnthropicChatModel.AnthropicChatModelBuilder in dev.langchain4j.model.anthropic
Methods in dev.langchain4j.model.anthropic that return AnthropicChatModel.AnthropicChatModelBuilderModifier and TypeMethodDescriptionAnthropicChatModel.builder()AnthropicChatModel.AnthropicChatModelBuilder.cacheSystemMessages(Boolean cacheSystemMessages) AnthropicChatModel.AnthropicChatModelBuilder.cacheTools(Boolean cacheTools) AnthropicChatModel.AnthropicChatModelBuilder.customParameters(Map<String, Object> customParameters) AnthropicChatModel.AnthropicChatModelBuilder.defaultRequestParameters(ChatRequestParameters parameters) AnthropicChatModel.AnthropicChatModelBuilder.disableParallelToolUse(Boolean disableParallelToolUse) AnthropicChatModel.AnthropicChatModelBuilder.httpClientBuilder(HttpClientBuilder httpClientBuilder) AnthropicChatModel.AnthropicChatModelBuilder.listeners(List<ChatModelListener> listeners) AnthropicChatModel.AnthropicChatModelBuilder.logger(org.slf4j.Logger logger) AnthropicChatModel.AnthropicChatModelBuilder.logRequests(Boolean logRequests) AnthropicChatModel.AnthropicChatModelBuilder.logResponses(Boolean logResponses) AnthropicChatModel.AnthropicChatModelBuilder.maxRetries(Integer maxRetries) AnthropicChatModel.AnthropicChatModelBuilder.modelName(AnthropicChatModelName modelName) AnthropicChatModel.AnthropicChatModelBuilder.responseFormat(ResponseFormat responseFormat) AnthropicChatModel.AnthropicChatModelBuilder.returnServerToolResults(Boolean returnServerToolResults) Controls whether to return server tool results (e.g., web_search, code_execution) insideAiMessage.attributes()under the key "server_tool_results".AnthropicChatModel.AnthropicChatModelBuilder.returnThinking(Boolean returnThinking) Controls whether to return thinking/reasoning text (if available) insideAiMessage.thinking().AnthropicChatModel.AnthropicChatModelBuilder.sendThinking(Boolean sendThinking) Controls whether to send thinking/reasoning text to the LLM in follow-up requests.AnthropicChatModel.AnthropicChatModelBuilder.serverTools(AnthropicServerTool... serverTools) Specifies server tools to be included in each request to the Anthropic API.AnthropicChatModel.AnthropicChatModelBuilder.serverTools(List<AnthropicServerTool> serverTools) Specifies server tools to be included in each request to the Anthropic API.AnthropicChatModel.AnthropicChatModelBuilder.stopSequences(List<String> stopSequences) AnthropicChatModel.AnthropicChatModelBuilder.strictTools(Boolean strictTools) AnthropicChatModel.AnthropicChatModelBuilder.supportedCapabilities(Capability... supportedCapabilities) AnthropicChatModel.AnthropicChatModelBuilder.supportedCapabilities(Set<Capability> supportedCapabilities) AnthropicChatModel.AnthropicChatModelBuilder.temperature(Double temperature) AnthropicChatModel.AnthropicChatModelBuilder.thinkingBudgetTokens(Integer thinkingBudgetTokens) Configures thinking.AnthropicChatModel.AnthropicChatModelBuilder.thinkingType(String thinkingType) Enables thinking.AnthropicChatModel.AnthropicChatModelBuilder.toolChoice(ToolChoice toolChoice) AnthropicChatModel.AnthropicChatModelBuilder.toolChoiceName(String toolChoiceName) AnthropicChatModel.AnthropicChatModelBuilder.toolMetadataKeysToSend(String... toolMetadataKeysToSend) Specifies metadata keys from theToolSpecification.metadata()to be included in the request.AnthropicChatModel.AnthropicChatModelBuilder.toolMetadataKeysToSend(Set<String> toolMetadataKeysToSend) Specifies metadata keys from theToolSpecification.metadata()to be included in the request.AnthropicChatModel.AnthropicChatModelBuilder.toolSpecifications(ToolSpecification... toolSpecifications) AnthropicChatModel.AnthropicChatModelBuilder.toolSpecifications(List<ToolSpecification> toolSpecifications) Sets the user ID for the requests.Constructors in dev.langchain4j.model.anthropic with parameters of type AnthropicChatModel.AnthropicChatModelBuilderModifierConstructorDescription