AISummaryModel
View model for managing AI-powered summaries and chat messages for a fixed document.
Definition
Namespace:Telerik.Windows.Controls.FixedDocumentViewersUI.Panels.ViewModels
Assembly:Telerik.Windows.Controls.FixedDocumentViewersUI.dll
Syntax:
public class AISummaryModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseAISummaryModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the AISummaryModel class.
public AISummaryModel(RadFixedDocument document, ISummaryProvider summaryProvider)
The fixed document to summarize and ask questions about.
summaryProviderISummaryProviderThe summary provider to use for AI operations.
Properties
Gets the current author (AI or user) for the next message.
public Author CurrentAuthor { get; set; }
Gets the collection of messages in the chat.
public ObservableCollection<MessageModel> Messages { get; set; }
Gets the command used to send a message.
public DelegateCommand SendMessageCommand { get; }
Gets or sets a value indicating whether the typing indicator should be displayed.
public bool ShowTypingIndicator { get; set; }
Gets the summary provider used for generating summaries and answering questions.
public ISummaryProvider SummaryProvider { get; }