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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.