LlamaSummaryCopilotOptions.WithDocument

WithDocument(TextDocument)

Adds a text document to the document collection for the summary copilot options.

public LlamaSummaryCopilotOptions WithDocument(TextDocument textDocument)
ParameterTypeDescription
textDocumentTextDocumentThe text document to add.

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also


WithDocument(PdfDocument)

Adds a PDF document to the document collection for the summary copilot options.

public LlamaSummaryCopilotOptions WithDocument(PdfDocument pdfDocument)
ParameterTypeDescription
pdfDocumentPdfDocumentThe PDF document to add.

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also


WithDocument(string)

Adds a document path to the document collection for the summary copilot options.

public LlamaSummaryCopilotOptions WithDocument(string filePath)
ParameterTypeDescription
filePathStringThe file path of the document to add.

Return Value

The current instance of LlamaSummaryCopilotOptions.

See Also