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