Skip to content

Commit 642c6ee

Browse files
authored
Merge pull request #291 from aspose-pdf/PDFNET-58347_AI_Copilot
AI Copilot (PDFNET-58347)
2 parents 728f435 + 5ad0995 commit 642c6ee

File tree

40 files changed

+37
-33
lines changed

40 files changed

+37
-33
lines changed

net/advanced-operations/_index.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,22 @@ You'll learn different ways to:
8686
- [Working with Images](/pdf/net/working-with-images/) - insert, remove, extract image in document
8787
- [Working with Tables](/pdf/net/working-with-tables/) - insert, decorate table in PDF, extract tabular data
8888
- [Working with Forms](/pdf/net/working-with-forms/) - deal with interact PDF documents, add formfields, extract data
89-
- [Working with Graphs](/pdf/net/graphs/) - manipulate with shapes on the page
89+
- [Working with Graphs](/pdf/net/working-with-graphs/) - manipulate with shapes on the page
9090
- [Working with XML](/pdf/net/working-with-xml) - construct PDF documents based on the XML structure
91+
- [Working with Operators](/pdf/net/working-with-operators/) - make low-level operations in PDF
92+
- [Working with Vector Graphics](/pdf/net/working-with-vector-graphics) - describes the features of working with GraphicsAbsorber
93+
- [Working with ZUGFeRD](pdf/net/working-with-zugferd) - create ZUGFeRD-compliant PDF invoices
94+
- [Working with Javascript](pdf/net/working-with-javascript) - add, remove Javascript code in PDF
9195
- [Compare PDF documents](/pdf/net/compare-pdf-documents/) - possible to compare PDF documents content
9296
- [Navigation and Interaction](/pdf/net/navigation-and-interaction/) - deal with actions, bookmarks, navigate pages
93-
- [AI Copilot](/pdf/net/ai-copilot/) - allow to process PDF documents using LLMs from different providers
94-
- [Annotations](/pdf/net/annotations/) - Annotations allow users to add custom content on PDF pages. You can add, delete and modify the annotation from the PDF documents.
97+
- [PDF AI Copilot](/pdf/net/ai-copilot/) - allow to process PDF documents using LLMs from different providers
98+
- [Annotations](/pdf/net/annotations/) - Annotations allow users to add custom content on PDF pages. You can add, delete and modify the annotation from the PDF documents
9599
- [Artifacts](/pdf/net/artifacts/) - deal with watermarks and other special objects in PDF
96-
- [Accessibility. Tagged PDF](/pdf/net/accessibility-tagged-pdf/) - Tagging is essential for PDF accessibility. Aspose.PDF allows to add tags into PDF and establish logical reading order and to provide a means for indicating structure and type.
97-
- [Attachments](/pdf/net/attachments/) - PDF documents may contain file attachments. These attachments can be other PDF documents, or any kind of file, like audio files, Microsoft Office documents etc. You will learn how to add attachments to pdf, get the information of an attachment, and save it to file, delete the attachment from PDF programmatically with C#.
98-
- [Metadata in PDFs](/pdf/net/pdf-file-metadata/) - get or set meta data in documents, dealing with XMP data.
100+
- [Accessibility. Tagged PDF](/pdf/net/accessibility-tagged-pdf/) - Tagging is essential for PDF accessibility. Aspose.PDF allows to add tags into PDF and establish logical reading order and to provide a means for indicating structure and type
101+
- [Attachments](/pdf/net/attachments/) - PDF documents may contain file attachments. These attachments can be other PDF documents, or any kind of file, like audio files, Microsoft Office documents etc. You will learn how to add attachments to pdf, get the information of an attachment, and save it to file, delete the attachment from PDF programmatically with C#
102+
- [Metadata in PDFs](/pdf/net/pdf-file-metadata/) - get or set meta data in documents, dealing with XMP data
99103
- [Securing and Signing](/pdf/net/securing-and-signing/) - protect and sign your PDF document programmatically
100104
- [Printing Document](/pdf/net/printing-document/) - print PDFs in various types of applications (WinForms, WPF, etc.)
101-
- [Operators](/pdf/net/operators/) - make low-level operations in PDF
102105

103106
<script type="application/ld+json">
104107
{

net/advanced-operations/accessibility-tagged-pdf/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Accessibility and Tagged PDFs
33
linktitle: Accessibility. Tagged PDF
44
type: docs
5-
weight: 120
5+
weight: 180
66
url: /net/accessibility-tagged-pdf/
77
description: Aspose.PDF provides the ability to create Tagged PDF documents, allowing you to tag the structural elements. Learn more about how to get accessible PDFs.
88
lastmod: "2022-02-17"

net/advanced-operations/ai-copilot/_index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Working with AI Copilot
3-
linktitle: Working with AI Copilot
2+
title: PDF AI Copilot
3+
linktitle: PDF AI Copilot
44
type: docs
5-
weight: 10
5+
weight: 150
66
url: /net/ai-copilot/
77
description: This article describes how AI Copilot can be used to process the PDF document with Aspose.PDF library.
88
sitemap:
@@ -11,7 +11,7 @@ sitemap:
1111
lastmod: "2024-10-23"
1212
---
1313
{{% alert color="primary" %}}
14-
**Aspose.PDF AI Copilot API** designed to allows users to process PDF documents using LLMs from different providers. This [API](https://reference.aspose.com/pdf/net/aspose.pdf/) will help users in building chatbot applications and integrating PDF solutions with LLMs.
14+
**Aspose.PDF AI Copilot API** designed to allows users to process PDF documents using LLMs from different providers. This [API](https://reference.aspose.com/pdf/net/aspose.pdf.ai/) will help users in building chatbot applications and integrating PDF solutions with LLMs.
1515
{{% /alert %}}
1616

1717
## Key Features
@@ -24,7 +24,7 @@ lastmod: "2024-10-23"
2424

2525
Currently, the following copilots available:
2626

27-
**OpenAI Summary** allows users to generate summaries from documents. It provides a convenient way to create summaries by configuring options such as the model, temperature, number of tokens, model instructions, document attachments and others. The copilot can asynchronously generate summaries as text, documents and save the summaries in various formats. The provided demo code showcases the creation of an OpenAI client, the configuration of copilot options and the usage of the SummaryCopilot to generate and save summaries.
27+
[**OpenAI Summary**](https://reference.aspose.com/pdf/net/aspose.pdf.ai/openaisummarycopilot/) allows users to generate summaries from documents. It provides a convenient way to create summaries by configuring options such as the model, temperature, number of tokens, model instructions, document attachments and others. The copilot can asynchronously generate summaries as text, documents and save the summaries in various formats. The provided demo code showcases the creation of an OpenAI client, the configuration of copilot options and the usage of the SummaryCopilot to generate and save summaries.
2828

2929
```cs
3030
// Create AI client.
@@ -57,7 +57,7 @@ Document summaryDocumentWithPageInfo = await summaryCopilot.GetSummaryDocumentAs
5757
await summaryCopilot.SaveSummaryAsync("outputPath");
5858
```
5959

60-
**OpenAI Chat** is an AI copilot designed for chat interactions with documents. It facilitates generating responses to user queries and managing context. Users can configure the copilot options, such as the model, temperature, number of tokens, model instructions, document attachments and others. The copilot can provide responses to single or multiple queries, save responses in various formats, save and delete the context.
60+
[**OpenAI Chat**](https://reference.aspose.com/pdf/net/aspose.pdf.ai/openaichatcopilot/) is an AI copilot designed for chat interactions with documents. It facilitates generating responses to user queries and managing context. Users can configure the copilot options, such as the model, temperature, number of tokens, model instructions, document attachments and others. The copilot can provide responses to single or multiple queries, save responses in various formats, save and delete the context.
6161

6262
The provided code demonstrates the creation of an OpenAI client, configuration of ChatCopilot options and usage of the ChatCopilot to interact with user queries and manage context.
6363

@@ -107,7 +107,7 @@ await chatCopilot
107107
"outputPath");
108108
```
109109

110-
**OpenAI Image Description** is an AI copilot designed for generating image descriptions of images inside PDF documents as well as separate image files. Users can configure the copilot options, such as the model, temperature, number of tokens, model instructions, document attachments and others. The copilot provides the ability to get image descriptions for all attached documents at once.
110+
[**OpenAI Image Description**](https://reference.aspose.com/pdf/net/aspose.pdf.ai/openaiimagedescriptioncopilot/) is an AI copilot designed for generating image descriptions of images inside PDF documents as well as separate image files. Users can configure the copilot options, such as the model, temperature, number of tokens, model instructions, document attachments and others. The copilot provides the ability to get image descriptions for all attached documents at once.
111111

112112
The provided code snippet demonstrates the creation of an OpenAI client, configuration of ImageDescriptionCopilot options and usage of the copilot to obtain image descriptions for attached documents. Additionally, there is an extension method that allows adding image descriptions to images in the attached documents and saving new documents in the provided directory.
113113

@@ -144,7 +144,7 @@ List<ImageDescriptionResult> imageDescriptions = await copilot.GetImageDescripti
144144
await copilot.AddPdfImageDescriptionsAsync("DocumentsOutputDirectory");
145145
```
146146

147-
**Llama Chat** allows the creation of a client to send requests to the Llama chat completion API.
147+
[**Llama Chat**](https://reference.aspose.com/pdf/net/aspose.pdf.ai/llamaclient/) allows the creation of a client to send requests to the Llama chat completion API.
148148

149149
```cs
150150
var llamaClient = LlamaClient
@@ -162,7 +162,7 @@ var result = await llamaClient.CreateCompletionAsync(new LlamaChatCompletionRequ
162162
var response = result.Choices[0].Message.Content; // Hello! How can I assist you today?
163163
```
164164

165-
**Llama Summary** allows client can be used to create the Summary Copilot.
165+
[**Llama Summary**](https://reference.aspose.com/pdf/net/aspose.pdf.ai/llamaclient/) allows client can be used to create the Summary Copilot.
166166

167167
```cs
168168
var llamaClient = LlamaClient

net/advanced-operations/annotations/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Working with Annotations
33
linktitle: Annotations in PDF
44
type: docs
5-
weight: 100
5+
weight: 160
66
url: /net/annotations/
77
description: This section shows how to use all kinds of annotations to your PDF file with the Aspose.PDF library.
88
lastmod: "2022-02-17"

net/advanced-operations/artifacts/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Working with Artifacts in .NET
33
linktitle: Working with Artifacts
44
type: docs
5-
weight: 110
5+
weight: 170
66
url: /net/artifacts/
77
description: Aspose.PDF for .NET allows you to add a background image to PDF pages, and get each watermark using Artifact class.
88
lastmod: "2024-01-17"

net/advanced-operations/attachments/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Working with Attachments in PDF
33
linktitle: Working with Attachments
44
type: docs
5-
weight: 130
5+
weight: 190
66
url: /net/attachments/
77
description: Use C# PDF API to access, add and remove attachments in PDF files using C# from within your applications. Complete guide with C# code samples.
88
lastmod: "2022-02-17"

net/advanced-operations/compare-pdf-documents/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Compare PDF documents
33
linktitle: Compare PDF
44
type: docs
5-
weight: 180
5+
weight: 130
66
url: /net/compare-pdf-documents/
77
description: Since 24.7 release it's possible to compare PDF documents content with annotation marks and side-by-side output
88
lastmod: "2024-08-17"

net/advanced-operations/navigation-and-interaction/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Navigation and Interaction in PDF
33
linktitle: Navigation and interaction
44
type: docs
5-
weight: 90
5+
weight: 140
66
url: /net/navigation-and-interaction/
77
description: This section describes the features of work with links, actions and bookmarks.
88
lastmod: "2022-02-17"

net/advanced-operations/pdf-file-metadata/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Working with PDF File Metadata | C#
2+
title: Working with PDF File Metadata in C#
33
linktitle: PDF File Metadata
44
type: docs
5-
weight: 140
5+
weight: 200
66
url: /net/pdf-file-metadata/
77
description: This section explains how to get PDF file information, how to get XMP Metadata from a PDF file, set PDF File Information.
88
lastmod: "2022-02-17"

net/advanced-operations/printing/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Printing PDF documents
33
linktitle: Printing document
44
type: docs
5-
weight: 160
5+
weight: 220
66
url: /net/printing-document/
77
description: C# Print PDF techniques and walkthrough for C# PDF printer settings and .NET project tips
88
lastmod: "2022-02-17"

0 commit comments

Comments
 (0)