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 {
    database: SqlDatabase;
    llm: BaseLanguageModelInterface;
    callbackManager?: any;
    inputKey?: string;
    memory?: any;
    outputKey?: string;
    prompt?: any;
    sqlOutputKey?: string;
    topK?: number;
}

Hierarchy (view full)

Properties

database: SqlDatabase
llm: BaseLanguageModelInterface
callbackManager?: any

Use callbacks instead

inputKey?: string
memory?: any
outputKey?: string
prompt?: any
sqlOutputKey?: string
topK?: number