OpenAIImageDescriptionCopilotOptions.WithDocument

WithDocument(PdfDocument)

将 PDF 文档添加到图像描述助手选项的文档集合中。

public OpenAIImageDescriptionCopilotOptions WithDocument(PdfDocument pdfDocument)
参数类型描述
pdfDocumentPdfDocument要添加的 PDF 文档。

返回值

当前实例的 OpenAIImageDescriptionCopilotOptions

另见


WithDocument(string)

将文档路径添加到图像描述助手选项的文档集合中。

public OpenAIImageDescriptionCopilotOptions WithDocument(string filePath)
参数类型描述
filePathString要添加的文档的文件路径。

返回值

当前实例的 OpenAIImageDescriptionCopilotOptions

另见