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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.