Freigeben über


FunctionInvokingChatClient(IChatClient, ILogger) Constructor

Definition

Initializes a new instance of the FunctionInvokingChatClient class.

public FunctionInvokingChatClient (Microsoft.Extensions.AI.IChatClient innerClient, Microsoft.Extensions.Logging.ILogger? logger = default);
new Microsoft.Extensions.AI.FunctionInvokingChatClient : Microsoft.Extensions.AI.IChatClient * Microsoft.Extensions.Logging.ILogger -> Microsoft.Extensions.AI.FunctionInvokingChatClient
Public Sub New (innerClient As IChatClient, Optional logger As ILogger = Nothing)

Parameters

innerClient
IChatClient

The underlying IChatClient, or the next instance in a chain of clients.

logger
ILogger

An ILogger to use for logging information about function invocation.

Applies to