ToolChoiceOption Constructors
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.
Overloads
| ToolChoiceOption(ToolChoiceLiteral) |
Creates an options class with a fixed number of tokens. |
| ToolChoiceOption(String) |
Creates an options class with single tool name. |
ToolChoiceOption(ToolChoiceLiteral)
- Source:
- ToolChoiceOption.cs
- Source:
- ToolChoiceOption.cs
Creates an options class with a fixed number of tokens.
public ToolChoiceOption(Azure.AI.VoiceLive.ToolChoiceLiteral toolChoiceLiteral);
new Azure.AI.VoiceLive.ToolChoiceOption : Azure.AI.VoiceLive.ToolChoiceLiteral -> Azure.AI.VoiceLive.ToolChoiceOption
Public Sub New (toolChoiceLiteral As ToolChoiceLiteral)
Parameters
- toolChoiceLiteral
- ToolChoiceLiteral
Applies to
ToolChoiceOption(String)
- Source:
- ToolChoiceOption.cs
- Source:
- ToolChoiceOption.cs
Creates an options class with single tool name.
public ToolChoiceOption(string functionName);
new Azure.AI.VoiceLive.ToolChoiceOption : string -> Azure.AI.VoiceLive.ToolChoiceOption
Public Sub New (functionName As String)
Parameters
- functionName
- String