Class LlamaSummaryCopilotOptions
Contents
[
Hide
]LlamaSummaryCopilotOptions class
Represents the options for configuring the OpenAICopilot.
public class LlamaSummaryCopilotOptions : LlamaCopilotOptionsBase,
ISummaryCopilotOptions<LlamaSummaryCopilotOptions>
Properties
Name | Description |
---|---|
DocumentCollection { get; set; } | Gets or sets the collection of documents to be processed. |
MaxCompletionTokens { get; set; } | Gets or sets the maximum number of completion tokens that may be used over the course of the run. |
virtual Model { get; set; } | Gets or sets the model to use for the assistant. |
SummaryPrompt { get; set; } | Gets or sets the prompt to instruct the model to provide a document summary. |
SystemInstructions { get; set; } | Gets or sets the file path for the text file containing assistant system instructions. |
Temperature { get; set; } | Gets or sets the sampling temperature to use for the model. |
TopP { get; set; } | Gets or sets the top-p value for nucleus sampling. |
Methods
Name | Description |
---|---|
static Create() | Creates a new instance of LlamaSummaryCopilotOptions . |
static Create(Action<LlamaSummaryCopilotOptions>) | Creates an instance of LlamaSummaryCopilotOptions and configures it using the provided delegate. |
GetOptions() | Gets the current LlamaSummaryCopilotOptions . |
WithDocument(PdfDocument) | Adds a PDF document to the document collection for the summary copilot options. |
WithDocument(string) | Adds a document path to the document collection for the summary copilot options. |
WithDocument(TextDocument) | Adds a text document to the document collection for the summary copilot options. |
WithDocuments(DocumentCollection) | Sets the document collection for the summary copilot options. |
WithDocuments(List<PdfDocument>) | Adds multiple PDF documents to the document collection for the summary copilot options. |
WithDocuments(List<string>) | Adds multiple document paths to the document collection for the summary copilot options. |
WithDocuments(List<TextDocument>) | Adds multiple text documents to the document collection for the summary copilot options. |
WithInstructions(string) | Sets the instructions for the summary copilot options. |
WithMaxCompletionTokens(int?) | Sets the max completion tokens for the summary copilot options. |
WithModel(string) | Sets the model for the summary copilot options. |
WithSummaryPrompt(string) | Sets the summary prompt for the summary copilot options. |
WithTemperature(double?) | Sets the temperature for the summary copilot options. |
WithTopP(double?) | Sets the top P value for the summary copilot options. |
See Also
- class LlamaCopilotOptionsBase
- interface ISummaryCopilotOptions<TOptions>
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF