Hi, The call to create LLamaIndex SQLDatabase wrapper always takes ~10 secs : SQLDatabase(engine, include_tables=tables_to_inclue,sample_rows_in_table_info=sample_table_rows_for_training). Any clues on how to improve this to subseconds ?
That's just how long it takes SQLAlchemy to run π€·ββοΈ Not really any easy way to speed it up. I suggest setting up an app so that it only has to run this once (i.e. like when a fast-api server is starting up)