Language

ToolChoiceOption Constructors

Definition

Overloads

Name Description
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

Creates an options class with a fixed number of tokens.

public ToolChoiceOption(Azure.AI.Projects.Agents.ToolChoiceLiteral toolChoiceLiteral);
new Azure.AI.Projects.Agents.ToolChoiceOption : Azure.AI.Projects.Agents.ToolChoiceLiteral -> Azure.AI.Projects.Agents.ToolChoiceOption
Public Sub New (toolChoiceLiteral As ToolChoiceLiteral)

Parameters

toolChoiceLiteral
ToolChoiceLiteral

Applies to

ToolChoiceOption(String)

Source:
ToolChoiceOption.cs

Creates an options class with single tool name.

public ToolChoiceOption(string functionName);
new Azure.AI.Projects.Agents.ToolChoiceOption : string -> Azure.AI.Projects.Agents.ToolChoiceOption
Public Sub New (functionName As String)

Parameters

functionName
String

Applies to