SummaryCopilot

SummaryCopilot

Overview

SummaryCopilot is a type in Aspose.PDF FOSS for Go.

SummaryCopilot produces document summaries with an AI model.

This type provides 3 methods for working with SummaryCopilot objects in Go programs. Available methods include: GetSummary, GetSummaryDocument, SaveSummary. All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

Methods

SignatureDescription
GetSummary(ctx: context.Context)(string, error)GetSummary extracts the documents’ text and returns the model’s summary.
GetSummaryDocument(ctx: context.Context, format: ...pdf.PageFormat)(*pdf.Document, error)GetSummaryDocument returns the summary rendered as a new PDF document (A4 by default, or the given page format).
SaveSummary(ctx: context.Context, path: string)errorSaveSummary writes the summary as a PDF file at path.

See Also