Summarizer Class

Wordize.AI.Summarizer class.

Summarizer class

public class Summarizer : Processor

Methods

NameDescription
static Create(SummarizerContext)Creates new instance of the Summarizer processor.
Execute()Execute the processor action.
Execute(CancellationToken)Execute the processor action allowing canceling document processing task using specified cancellation token.
From(Stream)Specifies input document for processing.
From(string)Specifies input document for processing.
From(Stream, LoadOptions)Specifies input document for processing.
From(string, LoadOptions)Specifies input document for processing.
To(string)Specifies output file for the processor.
To(List<Stream>, SaveFormat)Specifies output Document streams list.
To(List<Stream>, SaveOptions)Specifies output Document streams list.
To(Stream, SaveFormat)Specifies output stream for the processor.
To(Stream, SaveOptions)Specifies output stream for the processor.
To(string, SaveFormat)Specifies output file for the processor.
To(string, SaveOptions)Specifies output file for the processor.
static Summarize(string, string, AiModelSummarizeOptions)Generates summary for the document, with options to control the summary length and other settings.
static Summarize(string[], string, AiModelSummarizeOptions)Generates summaries for an array of documents, with options to control the summary length and other settings. This method utilizes the connected AI model for processing each document in the array.
static Summarize(Stream, Stream, SaveFormatAiModelSummarizeOptions)Generates summary for the document, with options to control the summary length and other settings.
static Summarize(Stream[], Stream, SaveFormatAiModelSummarizeOptions)Generates summaries for an array of documents, with options to control the summary length and other settings. This method utilizes the connected AI model for processing each document in the array.
static Summarize(string, string, SaveFormatAiModelSummarizeOptions)Generates summary for the document, with options to control the summary length and other settings.
static Summarize(string[], string, SaveFormatAiModelSummarizeOptions)Generates summaries for an array of documents, with options to control the summary length and other settings. This method utilizes the connected AI model for processing each document in the array.
static SummarizeToImages(Stream, ImageSaveOptionsAiModelSummarizeOptions)Generates summary for the document, with options to control the summary length and other settings and renders the result to images.
static SummarizeToImages(Stream[], ImageSaveOptionsAiModelSummarizeOptions)Generates summaries for an array of documents, with options to control the summary length and other settings and renders the result to images. This method utilizes the connected AI model for processing each document in the array.
static SummarizeToImages(string, ImageSaveOptionsAiModelSummarizeOptions)Generates summary for the document, with options to control the summary length and other settings and renders the result to images.
static SummarizeToImages(string[], ImageSaveOptionsAiModelSummarizeOptions)Generates summaries for an array of documents, with options to control the summary length and other settings and renders the result to images. This method utilizes the connected AI model for processing each document in the array.

See Also