ISummaryProvider
Interface
Defines methods for providing summaries and answering questions about documents.
Definition
Namespace:Telerik.WinControls.UI.AIProviders
Assembly:Telerik.WinControls.PdfViewer.dll
Syntax:
C#
public interface ISummaryProvider
Derived Classes:
Properties
Gets or sets additional instructions to be appended to the prompt for summarization or question answering.
C#
string PromptAddition { get; set; }
Methods
Asks a question about the specified document and returns the answer.
C#
string AskQuestion(string question, SimpleTextDocument simpleDocument)
The question to ask.
simpleDocumentSimpleTextDocumentThe document to use as context for the question.
Returns:The answer string generated by the provider.
Generates a summary for the specified document.
C#
string GetSummary(SimpleTextDocument simpleDocument)
The document to summarize.
Returns:A summary string generated by the provider.