Skip to main content
All docs
V25.2
  • AIExtensionsContainerConsole.Settings.RegisterChatClient(Func<IServiceProvider, IChatClient>) Method

    Registers a chat client.

    Namespace: DevExpress.AIIntegration

    Assembly: DevExpress.AIIntegration.v25.2.dll

    NuGet Package: DevExpress.AIIntegration

    Declaration

    public void RegisterChatClient(
        Func<IServiceProvider, IChatClient> chatClientCreatorCallback
    )

    Parameters

    Name Type Description
    chatClientCreatorCallback Func<IServiceProvider, Microsoft.Extensions.AI.IChatClient>

    A delegate that creates and configures an IChatClient instance. The factory receives the application’s IServiceProvider and must return a fully initialized chat client.

    See Also