Interface ThoughtResult<T>

Result from a thought module execution

interface ThoughtResult<T> {
    output: T;
    reasoning?: string;
    confidence?: number;
    tokenUsage?: TokenUsage;
    billingInfo?: BillingInfo;
    executionTime: number;
    trace: ExecutionTrace;
}

Type Parameters

  • T = any

Properties

output: T
reasoning?: string
confidence?: number
tokenUsage?: TokenUsage
billingInfo?: BillingInfo
executionTime: number