Skip to main content
All docs
V26.1
  • AIChatControl.ChatResponseProviderServiceKey Property

    Associates the chat control with the specific AI service. This is a dependency property.

    Namespace: DevExpress.AIIntegration.Wpf.Chat

    Assembly: DevExpress.AIIntegration.Wpf.Chat.v26.1.dll

    NuGet Package: DevExpress.AIIntegration.Wpf.Chat

    Declaration

    public string ChatResponseProviderServiceKey { get; set; }

    Property Value

    Type Description
    String

    The unique identifier of the IChatResponseProvider service.

    Remarks

    Use the ChatResponseProviderServiceKey property to dynamically bind the DevExpress WPF AI Chat control to a specific AI service at runtime. You can offer users a choice of AI models, or programmatically select the most appropriate model for a task. For example, you can use a powerful, “thinking” model for complex queries and a faster, more cost-effective model for simpler interactions.

    Refer to the following help topic for additional information: Manage Multiple Chat Clients

    See Also