Interface for the input of a ConstitutionalChain. Extends ChainInputs.

interface ConstitutionalChainInput {
    chain: LLMChain<string, any>;
    constitutionalPrinciples: ConstitutionalPrinciple[];
    critiqueChain: LLMChain<string, any>;
    revisionChain: LLMChain<string, any>;
    callbackManager?: any;
    memory?: any;
}

Hierarchy (view full)

Implemented by

Properties

chain: LLMChain<string, any>
constitutionalPrinciples: ConstitutionalPrinciple[]
critiqueChain: LLMChain<string, any>
revisionChain: LLMChain<string, any>
callbackManager?: any

Use callbacks instead

memory?: any
""