OpenAIImageDescriptionCopilotOptions.WithDocument
WithDocument(PdfDocument)
将 PDF 文档添加到图像描述助手选项的文档集合中。
public OpenAIImageDescriptionCopilotOptions WithDocument(PdfDocument pdfDocument)
参数 | 类型 | 描述 |
---|---|---|
pdfDocument | PdfDocument | 要添加的 PDF 文档。 |
返回值
当前实例的 OpenAIImageDescriptionCopilotOptions
。
另见
WithDocument(string)
将文档路径添加到图像描述助手选项的文档集合中。
public OpenAIImageDescriptionCopilotOptions WithDocument(string filePath)
参数 | 类型 | 描述 |
---|---|---|
filePath | String | 要添加的文档的文件路径。 |
返回值
当前实例的 OpenAIImageDescriptionCopilotOptions
。