Potentially a langchain approach where we first ask gpt to determine which tables are relevant followed by a second phase where we generate the sql may help
3 Likes
Potentially a langchain approach where we first ask gpt to determine which tables are relevant followed by a second phase where we generate the sql may help