Partager via


RequiredChatToolMode Class

Definition

Indicates that a chat tool must be called. It may optionally nominate a specific function, or if not, indicates that any of them may be selected.

public ref class RequiredChatToolMode sealed : Microsoft::Extensions::AI::ChatToolMode
public sealed class RequiredChatToolMode : Microsoft.Extensions.AI.ChatToolMode
type RequiredChatToolMode = class
    inherit ChatToolMode
Public NotInheritable Class RequiredChatToolMode
Inherits ChatToolMode
Inheritance
RequiredChatToolMode

Constructors

RequiredChatToolMode(String)

Initializes a new instance of the RequiredChatToolMode class that requires a specific function to be called.

Properties

RequiredFunctionName

Gets the name of a specific AIFunction that must be called.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to