@runloop/api-client - v1.4.0
    Preparing search index...

    Interface ScoringFunctionResultView

    A ScoringFunctionResultView represents the result of running a single scoring function on a given input context.

    interface ScoringFunctionResultView {
        output: string;
        score: number;
        scoring_function_name: string;
        state: "error" | "unknown" | "complete";
    }
    Index

    Properties

    output: string

    Log output of the scoring function.

    score: number

    Final score for the given scoring function.

    scoring_function_name: string

    Scoring function name that ran.

    state: "error" | "unknown" | "complete"

    The state of the scoring function application.