OpenAIImageDescriptionCopilotOptions.WithDocuments

WithDocuments(DocumentCollection)

Sets the document collection for the image description copilot options.

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

Return Value

The current instance of OpenAIImageDescriptionCopilotOptions.

See Also


WithDocuments(List<PdfDocument>)

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

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

Return Value

The current instance of OpenAIImageDescriptionCopilotOptions.

See Also


WithDocuments(List<string>)

Adds multiple document paths to the document collection for the image description copilot options.

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

Return Value

The current instance of OpenAIImageDescriptionCopilotOptions.

See Also