ConfigureOptionsChatClient Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.