ToolChoiceLiteral 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.
The available set of mode-level, string literal tool_choice options for the voicelive endpoint.
public readonly struct ToolChoiceLiteral : IEquatable<Azure.AI.VoiceLive.ToolChoiceLiteral>
type ToolChoiceLiteral = struct
Public Structure ToolChoiceLiteral
Implements IEquatable(Of ToolChoiceLiteral)
- Inheritance
-
ToolChoiceLiteral
- Implements
Constructors
| Name | Description |
|---|---|
| ToolChoiceLiteral(String) |
Initializes a new instance of ToolChoiceLiteral. |
Properties
| Name | Description |
|---|---|
| Auto |
Specifies that the model should freely determine which tool or tools, if any, to call. |
| None |
Specifies that the model should call no tools whatsoever. |
| Required |
Specifies that the model should call at least one tool. |
Methods
| Name | Description |
|---|---|
| Equals(ToolChoiceLiteral) |
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
| Name | Description |
|---|---|
| Equality(ToolChoiceLiteral, ToolChoiceLiteral) |
Determines if two ToolChoiceLiteral values are the same. |
| Implicit(String to Nullable<ToolChoiceLiteral>) | |
| Implicit(String to ToolChoiceLiteral) |
Converts a string to a ToolChoiceLiteral. |
| Inequality(ToolChoiceLiteral, ToolChoiceLiteral) |
Determines if two ToolChoiceLiteral values are not the same. |