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

⚠️ Deprecated ⚠️

Use callbacks instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

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

Generated using TypeDoc