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

    Interface ScenarioCreateParams

    interface ScenarioCreateParams {
        input_context: InputContext;
        name: string;
        scoring_contract: ScoringContract;
        environment_parameters?: ScenarioEnvironment | null;
        metadata?: { [key: string]: string } | null;
        reference_output?: string | null;
        required_environment_variables?: string[] | null;
        required_secret_names?: string[] | null;
        validation_type?:
            | "UNSPECIFIED"
            | "FORWARD"
            | "REVERSE"
            | "EVALUATION"
            | null;
    }
    Index

    Properties

    input_context: InputContext

    The input context for the Scenario.

    name: string

    Name of the scenario.

    scoring_contract: ScoringContract

    The scoring contract for the Scenario.

    environment_parameters?: ScenarioEnvironment | null

    The Environment in which the Scenario will run.

    metadata?: { [key: string]: string } | null

    User defined metadata to attach to the scenario for organization.

    reference_output?: string | null

    A string representation of the reference output to solve the scenario. Commonly can be the result of a git diff or a sequence of command actions to apply to the environment.

    required_environment_variables?: string[] | null

    Environment variables required to run the scenario. If these variables are not provided, the scenario will fail to start.

    required_secret_names?: string[] | null

    Secrets required to run the scenario (user secret name to scenario required secret name). If these secrets are not provided or the mapping is incorrect, the scenario will fail to start.

    validation_type?: "UNSPECIFIED" | "FORWARD" | "REVERSE" | "EVALUATION" | null

    Validation strategy.