Find answers from the community

Updated 3 months ago

Hi, The call to create LLamaIndex

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 ?
T
L
3 comments
Any suggestions here ?
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)
Thanks for the suggestion @Logan M
Add a reply
Sign up and join the conversation on Discord