Uses of Enum Class
org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionRequest.ToolChoice
Packages that use MistralAiApi.ChatCompletionRequest.ToolChoice
Package
Description
-
Uses of MistralAiApi.ChatCompletionRequest.ToolChoice in org.springframework.ai.mistralai
Methods in org.springframework.ai.mistralai that return MistralAiApi.ChatCompletionRequest.ToolChoiceMethods in org.springframework.ai.mistralai with parameters of type MistralAiApi.ChatCompletionRequest.ToolChoiceModifier and TypeMethodDescriptionMistralAiChatOptions.AbstractBuilder.toolChoice(@Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice) Constructors in org.springframework.ai.mistralai with parameters of type MistralAiApi.ChatCompletionRequest.ToolChoiceModifierConstructorDescriptionprotectedMistralAiChatOptions(@Nullable String model, @Nullable Double temperature, @Nullable Double topP, @Nullable Integer maxTokens, @Nullable Boolean safePrompt, @Nullable Integer randomSeed, @Nullable MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat, @Nullable List<String> stop, @Nullable MistralAiApi.ChatCompletionRequest.ReasoningEffort reasoningEffort, @Nullable Double frequencyPenalty, @Nullable Double presencePenalty, @Nullable Integer n, @Nullable List<MistralAiApi.FunctionTool> tools, @Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice, @Nullable List<ToolCallback> toolCallbacks, @Nullable Map<String, Object> toolContext) -
Uses of MistralAiApi.ChatCompletionRequest.ToolChoice in org.springframework.ai.mistralai.api
Methods in org.springframework.ai.mistralai.api that return MistralAiApi.ChatCompletionRequest.ToolChoiceModifier and TypeMethodDescriptionMistralAiApi.ChatCompletionRequest.toolChoice()Returns the value of thetoolChoicerecord component.Returns the enum constant of this class with the specified name.MistralAiApi.ChatCompletionRequest.ToolChoice.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.ai.mistralai.api with parameters of type MistralAiApi.ChatCompletionRequest.ToolChoiceModifierConstructorDescriptionChatCompletionRequest(@Nullable String model, List<MistralAiApi.ChatCompletionMessage> messages, @Nullable List<MistralAiApi.FunctionTool> tools, @Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice, @Nullable Double temperature, @Nullable Double topP, @Nullable Integer maxTokens, @Nullable Integer n, @Nullable Double presencePenalty, @Nullable Double frequencyPenalty, @Nullable Boolean stream, @Nullable Boolean safePrompt, @Nullable List<String> stop, @Nullable MistralAiApi.ChatCompletionRequest.ReasoningEffort reasoningEffort, @Nullable Integer randomSeed, @Nullable MistralAiApi.ChatCompletionRequest.ResponseFormat responseFormat) Creates an instance of aChatCompletionRequestrecord class.ChatCompletionRequest(List<MistralAiApi.ChatCompletionMessage> messages, String model, List<MistralAiApi.FunctionTool> tools, MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice) Shortcut constructor for a chat completion request with the given messages, model, tools and tool choice. -
Uses of MistralAiApi.ChatCompletionRequest.ToolChoice in org.springframework.ai.model.mistralai.autoconfigure
Methods in org.springframework.ai.model.mistralai.autoconfigure that return MistralAiApi.ChatCompletionRequest.ToolChoiceModifier and TypeMethodDescriptionMistralAiChatProperties.getToolChoice()MistralAiChatProperties.Options.getToolChoice()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.springframework.ai.model.mistralai.autoconfigure with parameters of type MistralAiApi.ChatCompletionRequest.ToolChoiceModifier and TypeMethodDescriptionvoidMistralAiChatProperties.Options.setToolChoice(@Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice) voidMistralAiChatProperties.setToolChoice(@Nullable MistralAiApi.ChatCompletionRequest.ToolChoice toolChoice)