Class
AISummaryModel

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

Definition

Constructors

AISummaryModel(RadFixedDocument, ISummaryProvider)

Initializes a new instance of the AISummaryModel class.

Declaration

cs-api-definition
public AISummaryModel(RadFixedDocument document, ISummaryProvider summaryProvider)

Parameters

document

RadFixedDocument

The fixed document to summarize and ask questions about.

summaryProvider

ISummaryProvider

The summary provider to use for AI operations.

Properties

CurrentAuthor

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

Declaration

cs-api-definition
public Author CurrentAuthor { get; set; }

Property Value

Author

Messages

Gets the collection of messages in the chat.

Declaration

cs-api-definition
public ObservableCollection<MessageModel> Messages { get; set; }

Property Value

ObservableCollection<MessageModel>

SendMessageCommand

Gets the command used to send a message.

Declaration

cs-api-definition
public DelegateCommand SendMessageCommand { get; }

Property Value

DelegateCommand

ShowTypingIndicator

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

Declaration

cs-api-definition
public bool ShowTypingIndicator { get; set; }

Property Value

bool

SummaryProvider

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

Declaration

cs-api-definition
public ISummaryProvider SummaryProvider { get; }

Property Value

ISummaryProvider