LlamaSummaryCopilotOptions.WithDocuments

WithDocuments(DocumentCollection)

设置摘要助手选项的文档集合。

public LlamaSummaryCopilotOptions WithDocuments(DocumentCollection documentCollection)
参数类型描述
documentCollectionDocumentCollection要设置的文档集合。

返回值

当前的 LlamaSummaryCopilotOptions 实例。

另见


WithDocuments(List<TextDocument>)

将多个文本文档添加到摘要助手选项的文档集合中。

public LlamaSummaryCopilotOptions WithDocuments(List<TextDocument> textDocuments)
参数类型描述
textDocumentsList`1要添加的文本文档列表。

返回值

当前的 LlamaSummaryCopilotOptions 实例。

另见


WithDocuments(List<PdfDocument>)

将多个 PDF 文档添加到摘要助手选项的文档集合中。

public LlamaSummaryCopilotOptions WithDocuments(List<PdfDocument> pdfDocuments)
参数类型描述
pdfDocumentsList`1要添加的 PDF 文档列表。

返回值

当前的 LlamaSummaryCopilotOptions 实例。

另见


WithDocuments(List<string>)

将多个文档路径添加到摘要助手选项的文档集合中。

public LlamaSummaryCopilotOptions WithDocuments(List<string> filePaths)
参数类型描述
filePathsList`1要添加的文件路径列表。

返回值

当前的 LlamaSummaryCopilotOptions 实例。

另见