OpenAIImageDescriptionCopilotOptions.WithDocuments
WithDocuments(DocumentCollection)
设置图像描述助手选项的文档集合。
public OpenAIImageDescriptionCopilotOptions WithDocuments(DocumentCollection documentCollection)
| 参数 | 类型 | 描述 |
|---|---|---|
| documentCollection | DocumentCollection | 要设置的文档集合。 |
返回值
当前的 OpenAIImageDescriptionCopilotOptions 实例。
另见
WithDocuments(List<PdfDocument>)
将多个 PDF 文档添加到图像描述助手选项的文档集合中。
public OpenAIImageDescriptionCopilotOptions WithDocuments(List<PdfDocument> pdfDocuments)
| 参数 | 类型 | 描述 |
|---|---|---|
| pdfDocuments | List`1 | 要添加的 PDF 文档列表。 |
返回值
当前的 OpenAIImageDescriptionCopilotOptions 实例。
另见
WithDocuments(List<string>)
将多个文档路径添加到图像描述助手选项的文档集合中。
public OpenAIImageDescriptionCopilotOptions WithDocuments(List<string> filePaths)
| 参数 | 类型 | 描述 |
|---|---|---|
| filePaths | List`1 | 要添加的文件路径列表。 |
返回值
当前的 OpenAIImageDescriptionCopilotOptions 实例。