AIExtensionsContainerDesktop.RegisterChatClient(AIExtensionsContainer, Func<IServiceProvider, IChatClient>) Method
Registers a chat client.
Namespace: DevExpress.AIIntegration
Assembly: DevExpress.AIIntegration.Desktop.v25.2.dll
Declaration
public static void RegisterChatClient(
this AIExtensionsContainer container,
Func<IServiceProvider, IChatClient> chatClientFactory
)
Parameters
| Name | Type | Description |
|---|---|---|
| container | AIExtensionsContainer | The container that holds the registered AI client. Components use this container to obtain AI services. |
| chatClientFactory | Func<IServiceProvider, Microsoft.Extensions.AI.IChatClient> | A delegate that creates and configures an |
See Also