Python Text to SQL – migrating from ChatGPT to Lllam2 using LM Studio
So I have this code running in python that will take a text type of query , such as “How many customers do I have?” and it will use the below and convert to a SQL query using the prompt template with is simply a schema of the table to check, this code below runs 100% fine: