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

    Interface BashScriptScoringFunction

    BashScriptScoringFunction is a scoring function specified by a bash script that will be run in the context of your environment.

    interface BashScriptScoringFunction {
        type: "bash_script_scorer";
        bash_script?: string;
    }
    Index

    Properties

    Properties

    type: "bash_script_scorer"
    bash_script?: string

    A single bash script that sets up the environment, scores, and prints the final score to standard out. Score should be a float between 0.0 and 1.0, and look like "score=[0.0..1.0].