OpenAIOcrCopilotOptions.WithDocuments

WithDocuments(DocumentCollection)

Sets the document collection.

public OpenAIOcrCopilotOptions WithDocuments(DocumentCollection documentCollection)
ParameterTypeDescription
documentCollectionDocumentCollectionThe document collection to set.

Return Value

The current instance of OpenAIOcrCopilotOptions.

See Also


WithDocuments(List<PdfDocument>)

Adds multiple PDF documents to the document collection.

public OpenAIOcrCopilotOptions WithDocuments(List<PdfDocument> pdfDocuments)
ParameterTypeDescription
pdfDocumentsList`1The list of PDF documents to add.

Return Value

The current instance of OpenAIOcrCopilotOptions.

See Also


WithDocuments(List<string>)

Adds multiple document paths to the document collection.

public OpenAIOcrCopilotOptions WithDocuments(List<string> filePaths)
ParameterTypeDescription
filePathsList`1The list of file paths to add.

Return Value

The current instance of OpenAIOcrCopilotOptions.

See Also