@plust/datasleuth - v0.2.0
    Preparing search index...

    Interface EvaluateOptions

    Options for the evaluate step

    interface EvaluateOptions {
        criteriaFn: (state: ResearchState) => boolean | Promise<boolean>;
        criteriaName?: string;
        confidenceThreshold?: number;
        storeResult?: boolean;
        retry?: { maxRetries?: number; baseDelay?: number };
    }
    Index

    Properties

    criteriaFn: (state: ResearchState) => boolean | Promise<boolean>

    Criteria function that determines if evaluation passes

    criteriaName?: string

    Name for this evaluation criteria (used in logs)

    confidenceThreshold?: number

    Confidence threshold (0.0 to 1.0)

    storeResult?: boolean

    Whether to store evaluation result in state metadata

    retry?: { maxRetries?: number; baseDelay?: number }

    Retry configuration

    Type declaration

    • OptionalmaxRetries?: number

      Maximum number of retries

    • OptionalbaseDelay?: number

      Base delay between retries in ms