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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.