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 openailogging.basicConfig(stream=sys.stdout, level=logging.DEBUG) logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
HuggingFaceLLM
classcontent
user role in the request to OpenAI. The rest of the output is the same. So it might just be that I am seeing more in the OpenAI logging because it is logging the full request to OpenAI