New to Telerik UI for WPFStart a free 30-day trial

View model for managing AI-powered summaries and chat messages for a fixed document.

Definition

Constructors

Initializes a new instance of the AISummaryModel class.

C#
public AISummaryModel(RadFixedDocument document, ISummaryProvider summaryProvider)
Parameters:documentRadFixedDocument

The fixed document to summarize and ask questions about.

summaryProviderISummaryProvider

The summary provider to use for AI operations.

Properties

Gets the current author (AI or user) for the next message.

C#
public Author CurrentAuthor { get; set; }

Gets the collection of messages in the chat.

C#
public ObservableCollection<MessageModel> Messages { get; set; }

Gets the command used to send a message.

C#
public DelegateCommand SendMessageCommand { get; }

Gets or sets a value indicating whether the typing indicator should be displayed.

C#
public bool ShowTypingIndicator { get; set; }

Gets the summary provider used for generating summaries and answering questions.

C#
public ISummaryProvider SummaryProvider { get; }