OpenAIChatCopilotOptions.WithDocuments
Contents
[
Hide
]WithDocuments(DocumentCollection)
Sets the document collection for the chat copilot options.
public OpenAIChatCopilotOptions WithDocuments(DocumentCollection documentCollection)
| Parameter | Type | Description |
|---|---|---|
| documentCollection | DocumentCollection | The document collection to set. |
Return Value
The current instance of OpenAIChatCopilotOptions.
See Also
- class DocumentCollection
- class OpenAIChatCopilotOptions
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF
WithDocuments(List<TextDocument>)
Adds multiple text documents to the document collection for the chat copilot options.
public OpenAIChatCopilotOptions WithDocuments(List<TextDocument> textDocuments)
| Parameter | Type | Description |
|---|---|---|
| textDocuments | List`1 | The list of text documents to add. |
Return Value
The current instance of OpenAIChatCopilotOptions.
See Also
- class TextDocument
- class OpenAIChatCopilotOptions
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF
WithDocuments(List<PdfDocument>)
Adds multiple PDF documents to the document collection for the chat copilot options.
public OpenAIChatCopilotOptions WithDocuments(List<PdfDocument> pdfDocuments)
| Parameter | Type | Description |
|---|---|---|
| pdfDocuments | List`1 | The list of PDF documents to add. |
Return Value
The current instance of OpenAIChatCopilotOptions.
See Also
- class PdfDocument
- class OpenAIChatCopilotOptions
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF
WithDocuments(List<string>)
Adds multiple document paths to the document collection for the chat copilot options.
public OpenAIChatCopilotOptions WithDocuments(List<string> filePaths)
| Parameter | Type | Description |
|---|---|---|
| filePaths | List`1 | The list of file paths to add. |
Return Value
The current instance of OpenAIChatCopilotOptions.
See Also
- class OpenAIChatCopilotOptions
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF