add debug

This commit is contained in:
Henry
2023-05-19 18:20:41 +01:00
parent fb400cbfbc
commit 1f4efd6734
12 changed files with 28 additions and 10 deletions
@@ -82,7 +82,8 @@ const getSQLDBChain = async (databaseType: 'sqlite', dbFilePath: string, llm: Ba
const obj: SqlDatabaseChainInput = {
llm,
database: db
database: db,
verbose: process.env.DEBUG === 'true' ? true : false
}
const chain = new SqlDatabaseChain(obj)