你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChatCompletionsToolChoicePreset Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a generic policy for how a chat completions tool may be selected.
public readonly struct ChatCompletionsToolChoicePreset : IEquatable<Azure.AI.Inference.ChatCompletionsToolChoicePreset>
type ChatCompletionsToolChoicePreset = struct
Public Structure ChatCompletionsToolChoicePreset
Implements IEquatable(Of ChatCompletionsToolChoicePreset)
- Inheritance
-
ChatCompletionsToolChoicePreset
- Implements
Constructors
ChatCompletionsToolChoicePreset(String) |
Initializes a new instance of ChatCompletionsToolChoicePreset. |
Properties
Auto |
Specifies that the model may either use any of the tools provided in this chat completions request or instead return a standard chat completions response as if no tools were provided. |
None |
Specifies that the model should not respond with a tool call and should instead provide a standard chat completions response. Response content may still be influenced by the provided tool definitions. |
Required |
Specifies that the model should respond with a call to one or more tools. |
Methods
Equals(ChatCompletionsToolChoicePreset) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(ChatCompletionsToolChoicePreset, ChatCompletionsToolChoicePreset) |
Determines if two ChatCompletionsToolChoicePreset values are the same. |
Implicit(String to ChatCompletionsToolChoicePreset) |
Converts a String to a ChatCompletionsToolChoicePreset. |
Inequality(ChatCompletionsToolChoicePreset, ChatCompletionsToolChoicePreset) |
Determines if two ChatCompletionsToolChoicePreset values are not the same. |