InterfaceISummaryProvider
Interface
Defines methods for providing summaries and answering questions about documents.
Definition
Namespace:Telerik.Windows.Controls.FixedDocumentViewersUI.AIProviders
Assembly:Telerik.Windows.Controls.FixedDocumentViewersUI.dll
Syntax:
cs-api-definition
public interface ISummaryProvider
Properties
PromptAddition
Gets or sets additional instructions to be appended to the prompt for summarization or question answering.
Methods
AskQuestion(string, SimpleTextDocument)
Asks a question about the specified document and returns the answer.
GetSummary(SimpleTextDocument)
Generates a summary for the specified document.
Declaration
cs-api-definition
string GetSummary(SimpleTextDocument simpleDocument)
Parameters
simpleDocument
SimpleTextDocument
The document to summarize.
Returns
A summary string generated by the provider.