Class ToolChoice

ToolChoice class

Represents the ToolChoice, which can be either a string value or an object value.

public class ToolChoice : IStringOrObject<ObjectType>

Constructors

NameDescription
ToolChoice()The default constructor.

Properties

NameDescription
IsObjectValue { get; }Gets a value indicating whether the ToolChoice is an object value.
IsStringValue { get; }Gets a value indicating whether the ToolChoice is a string value.
ObjectValue { get; set; }Gets or sets the object value of the ToolChoice.
StringValue { get; set; }Gets or sets the string value of the ToolChoice.

See Also