Uses of Interface
org.springframework.ai.anthropic.api.AnthropicApi.ToolChoice
Packages that use AnthropicApi.ToolChoice
-
Uses of AnthropicApi.ToolChoice in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic that return AnthropicApi.ToolChoiceMethods in org.springframework.ai.anthropic with parameters of type AnthropicApi.ToolChoiceModifier and TypeMethodDescriptionvoidAnthropicChatOptions.setToolChoice(AnthropicApi.ToolChoice toolChoice) AnthropicChatOptions.Builder.toolChoice(AnthropicApi.ToolChoice toolChoice) -
Uses of AnthropicApi.ToolChoice in org.springframework.ai.anthropic.api
Classes in org.springframework.ai.anthropic.api that implement AnthropicApi.ToolChoiceModifier and TypeClassDescriptionstatic final recordAny tool choice - the model will use any available tools.static final recordAuto tool choice - the model will automatically decide whether to use tools.static final recordNone tool choice - the model will not be allowed to use tools.static final recordTool choice - the model will use the specified tool.Methods in org.springframework.ai.anthropic.api that return AnthropicApi.ToolChoiceModifier and TypeMethodDescriptionAnthropicApi.ChatCompletionRequest.toolChoice()Returns the value of thetoolChoicerecord component.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ToolChoiceModifier and TypeMethodDescriptionAnthropicApi.ChatCompletionRequestBuilder.toolChoice(AnthropicApi.ToolChoice toolChoice) Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ToolChoiceModifierConstructorDescriptionChatCompletionRequest(String model, List<AnthropicApi.AnthropicMessage> messages, Object system, Integer maxTokens, AnthropicApi.ChatCompletionRequest.Metadata metadata, List<String> stopSequences, Boolean stream, Double temperature, Double topP, Integer topK, List<AnthropicApi.Tool> tools, AnthropicApi.ToolChoice toolChoice, AnthropicApi.ChatCompletionRequest.ThinkingConfig thinking, AnthropicApi.ChatCompletionRequest.OutputFormat outputFormat, AnthropicApi.SkillContainer container) Creates an instance of aChatCompletionRequestrecord class.