langchain.js
    Preparing search index...

    Interface ReviewConfig

    Policy for reviewing a HITL request.

    interface ReviewConfig {
        actionName: string;
        allowedDecisions: ("approve" | "edit" | "reject")[];
        argsSchema?: Record<string, any>;
    }
    Index

    Properties

    actionName: string

    Name of the action associated with this review configuration.

    allowedDecisions: ("approve" | "edit" | "reject")[]

    The decisions that are allowed for this request.

    argsSchema?: Record<string, any>

    JSON schema for the arguments associated with the action, if edits are allowed.