langchain.js
    Preparing search index...

    Interface ConstitutionalChainInput

    Interface for the input of a ConstitutionalChain. Extends ChainInputs.

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

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    callbackManager?: any

    Use callbacks instead

    chain: LLMChain
    constitutionalPrinciples: ConstitutionalPrinciple[]
    critiqueChain: LLMChain
    memory?: any
    revisionChain: LLMChain