langchain.js
    Preparing search index...

    Interface SqlDatabaseChainInput

    Interface that extends the ChainInputs interface and defines additional fields specific to a SQL database chain. It represents the input fields for a SQL database chain.

    interface SqlDatabaseChainInput {
        callbackManager?: any;
        database: SqlDatabase;
        inputKey?: string;
        llm: BaseLanguageModelInterface;
        memory?: any;
        outputKey?: string;
        prompt?: any;
        sqlOutputKey?: string;
        topK?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    callbackManager?: any

    Use callbacks instead

    database: SqlDatabase
    inputKey?: string
    llm: BaseLanguageModelInterface
    memory?: any
    outputKey?: string
    prompt?: any
    sqlOutputKey?: string
    topK?: number