This automatically generates relevant table aliases and appends it to a prompt. Doing so transfers the onus of creating table aliases away from the LLM. We may have to retrain our LLM to expect this kind of prompting, so that it expects a more varied source of inputs.
Fixed! We can now use --cot_table_alias instruct to get the model to use {cot_instructions}, and --cot_table_alias pregen to pre-generate table aliases
This automatically generates relevant table aliases and appends it to a prompt. Doing so transfers the onus of creating table aliases away from the LLM. We may have to retrain our LLM to expect this kind of prompting, so that it expects a more varied source of inputs.
Here's an example of how to run this.