Share via


ToolChoiceOption Constructors

Definition

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

Applies to