Find answers from the community

Updated 3 months ago

The SQLDatabase class [here](https://

The SQLDatabase class here accepts a parameter called custom_table_info but it doesn't seem to get used. It seems like a bug ?

More generally, what's the best way to add custom SQL table and column descriptions to get into the prompt ? (text-to-sql use case)
L
N
5 comments
In NLSQLTableQueryEngine set context_query_kwargs to be a dict mapping of table name -> description
@Logan M thank you! by the way, you used to work at Yardi - my startup is building on top of yardi . what a small world
Happy to help!

haha small world indeed! πŸ˜† You are the first person I've met to recognize yardi
i didn't know it existed 6 months ago. it seems far outside the mainstream startup and tech world
it definitely is! They had an office in my city, and were hiring for the exact AI stuff I did in my masters. Some neat problems to work on for a bit πŸ™‚
Add a reply
Sign up and join the conversation on Discord