---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/summarycopilot
---

# SummaryCopilot

## Overview

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

SummaryCopilot produces document summaries with an AI model.

This type declares 3 methods for SummaryCopilot objects in Go programs.
Available methods include: `GetSummary`, `GetSummaryDocument`, `SaveSummary`.
Public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

## Methods

| Signature | Description |
|-----------|-------------|
| `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)` → `error` | SaveSummary writes the summary as a PDF file at path. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)