Uses of Enum Class
dev.langchain4j.model.chat.request.ToolChoice
Packages that use ToolChoice
Package
Description
-
Uses of ToolChoice in dev.langchain4j.internal
Methods in dev.langchain4j.internal with parameters of type ToolChoiceModifier and TypeMethodDescriptionstatic void
ChatRequestValidationUtils.validate
(ToolChoice toolChoice) -
Uses of ToolChoice in dev.langchain4j.model.anthropic
Methods in dev.langchain4j.model.anthropic with parameters of type ToolChoiceModifier and TypeMethodDescriptionAnthropicChatModel.AnthropicChatModelBuilder.toolChoice
(ToolChoice toolChoice) AnthropicStreamingChatModel.AnthropicStreamingChatModelBuilder.toolChoice
(ToolChoice toolChoice) -
Uses of ToolChoice in dev.langchain4j.model.anthropic.internal.mapper
Methods in dev.langchain4j.model.anthropic.internal.mapper with parameters of type ToolChoiceModifier and TypeMethodDescriptionstatic AnthropicToolChoice
AnthropicMapper.toAnthropicToolChoice
(ToolChoice toolChoice, String toolChoiceName, Boolean disableParallelToolUse) -
Uses of ToolChoice in dev.langchain4j.model.chat.request
Subclasses with type arguments of type ToolChoice in dev.langchain4j.model.chat.requestMethods in dev.langchain4j.model.chat.request that return ToolChoiceModifier and TypeMethodDescriptionChatRequest.toolChoice()
ChatRequestParameters.toolChoice()
DefaultChatRequestParameters.toolChoice()
static ToolChoice
Returns the enum constant of this class with the specified name.static ToolChoice[]
ToolChoice.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.langchain4j.model.chat.request with parameters of type ToolChoiceModifier and TypeMethodDescriptionChatRequest.Builder.toolChoice
(ToolChoice toolChoice) DefaultChatRequestParameters.Builder.toolChoice
(ToolChoice toolChoice) -
Uses of ToolChoice in dev.langchain4j.model.mistralai.internal.mapper
Methods in dev.langchain4j.model.mistralai.internal.mapper with parameters of type ToolChoiceModifier and TypeMethodDescriptionstatic MistralAiToolChoiceName
MistralAiMapper.toMistralAiToolChoiceName
(ToolChoice toolChoice) -
Uses of ToolChoice in dev.langchain4j.model.openai.internal
Methods in dev.langchain4j.model.openai.internal with parameters of type ToolChoiceModifier and TypeMethodDescriptionstatic ToolChoiceMode
OpenAiUtils.toOpenAiToolChoice
(ToolChoice toolChoice)