HuggingFaceLLM
) using the NLSQLTableQueryEngine
. If I use OpenAI directly, I get a whole preamble of:Given an input question, first create a syntactically correct sqlite query to run, then look at the results of the query and return the answer
with a lot more prompt prepping openai for a response.HuggingFaceLLM
class, i only get the SQL tables dumped out to the LLM.NLSQLTableQueryEngine
but im just trying to make sure ive explored using this path as much as i can before falling back to openai