ClassSummaryResourcesCalculatedEventArgs
Class
Carries resource estimates for summarizing document text (such as PDF), including call count and token usage, and enables flow control.
Definition
Namespace:Telerik.Windows.Documents.AIConnector
Assembly:Telerik.Windows.Documents.AIConnector.dll
Syntax:
cs-api-definition
public class SummaryResourcesCalculatedEventArgs : EventArgs
Inheritance: objectEventArgsSummaryResourcesCalculatedEventArgs
Inherited Members
Constructors
SummaryResourcesCalculatedEventArgs(int, int)
Creates event data with estimated calls and token counts for summarization over document text (such as PDF).
Properties
EstimatedCallsRequired
Gets the estimated number of model calls needed for summarization, impacting latency and cost.
EstimatedTokensRequired
Gets the estimated input token count for summarization, bounded by the model’s input token limit.
ShouldContinueExecution
Gets or sets whether summarization should proceed based on the resource estimates.