Hacker News new | ask | show | jobs
by akisej 1131 days ago
Good question. A few different ways:

* Model Selection: We pre-select the best models for SQL generation, so you don't have to A/B test and figure it out. As the number of models available increases, this can take a lot of time if you want to do it yourself.

* Prompt Engineering: Similarly, we've had to fiddle around with a lot of different prompts to deal with common issues like hallucinations (and are constantly updating them, fixing bugs, telling the model what it can't ignore etc.) This also takes a lot of time, patience and skill.

* Directly on your data schema: You'd have to copy-paste your schema every single time you wanted to generate or modify a SQL query, which can be cumbersome. You connect your data sources once with LogicLoop, and it gets auto-included correctly for you.

Hope that helps.