LlamaSummaryCopilotOptions.WithDocuments

WithDocuments(DocumentCollection)

Sets the document collection for the summary copilot options.

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

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also


WithDocuments(List<TextDocument>)

Adds multiple text documents to the document collection for the summary copilot options.

public LlamaSummaryCopilotOptions WithDocuments(List<TextDocument> textDocuments)
ParameterTypeDescription
textDocumentsList`1The list of text documents to add.

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also


WithDocuments(List<PdfDocument>)

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

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

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also


WithDocuments(List<string>)

Adds multiple document paths to the document collection for the summary copilot options.

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

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also