OpenAIImageDescriptionCopilotOptions.WithDocument

WithDocument(PdfDocument)

Adds a PDF document to the document collection for the image description copilot options.

public OpenAIImageDescriptionCopilotOptions WithDocument(PdfDocument pdfDocument)
ParameterTypeDescription
pdfDocumentPdfDocumentThe PDF document to add.

Return Value

The current instance of OpenAIImageDescriptionCopilotOptions.

See Also


WithDocument(string)

Adds a document path to the document collection for the image description copilot options.

public OpenAIImageDescriptionCopilotOptions WithDocument(string filePath)
ParameterTypeDescription
filePathStringThe file path of the document to add.

Return Value

The current instance of OpenAIImageDescriptionCopilotOptions.

See Also