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

    Gets or sets the collection of prompt suggestions (hint bubbles). 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 ObservableCollection<IPromptSuggestion> PromptSuggestions { get; set; }

    Property Value

    Type Description
    ObservableCollection<IPromptSuggestion>

    A collection of prompt suggestions (hint bubbles).

    Remarks

    To help users get started or explore new possibilities, the AI Chat Control can display prompt suggestions.

    Prompt Suggestions - WPF AI Chat Control

    Run Demo: Prompt Suggestions — AI Chat

    Use the PromptSuggestions property to supply intelligent suggestions:

    <dxaichat:AIChatControl>
        <dxaichat:AIChatControl.PromptSuggestions>
            <chat:DxAIChatPromptSuggestion
                Title="Birthday Wish"
                Text="A warm and cheerful birthday greeting message."
                PromptMessage="Write a heartfelt birthday message for a close friend." />
            <chat:DxAIChatPromptSuggestion
                Title="Thank You Note"
                Text="A polite thank you note to express gratitude."
                PromptMessage="Compose a short thank you note to a colleague who helped with a project." />
        </dxaichat:AIChatControl.PromptSuggestions>
    </dxaichat:AIChatControl>
    

    Refer to the following help topic for additional information: AI Chat Control

    See Also