Jaa


ConfigureOptionsChatClient Constructor

Definition

Initializes a new instance of the ConfigureOptionsChatClient class with the specified configureOptions callback.

public:
 ConfigureOptionsChatClient(Microsoft::Extensions::AI::IChatClient ^ innerClient, Func<Microsoft::Extensions::AI::ChatOptions ^, Microsoft::Extensions::AI::ChatOptions ^> ^ configureOptions);
public ConfigureOptionsChatClient (Microsoft.Extensions.AI.IChatClient innerClient, Func<Microsoft.Extensions.AI.ChatOptions?,Microsoft.Extensions.AI.ChatOptions?> configureOptions);
new Microsoft.Extensions.AI.ConfigureOptionsChatClient : Microsoft.Extensions.AI.IChatClient * Func<Microsoft.Extensions.AI.ChatOptions, Microsoft.Extensions.AI.ChatOptions> -> Microsoft.Extensions.AI.ConfigureOptionsChatClient
Public Sub New (innerClient As IChatClient, configureOptions As Func(Of ChatOptions, ChatOptions))

Parameters

innerClient
IChatClient

The inner client.

configureOptions
Func<ChatOptions,ChatOptions>

The delegate to invoke to configure the ChatOptions instance. It is passed the caller-supplied ChatOptions instance and should return the configured ChatOptions instance to use.

Applies to