OpenAIOcrCopilotOptions.WithDocument

WithDocument(PdfDocument)

Adds a PDF document to the document collection.

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

Return Value

The current instance of OpenAIOcrCopilotOptions.

See Also


WithDocument(string)

Adds a document path to the document collection.

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

Return Value

The current instance of OpenAIOcrCopilotOptions.

See Also