Video wird geladen...
Video konnte nicht geladen werden
This is a very clever idea to use an LLM with your SQL data. SQL + AI has been tried before, but one of the best parts of this solution is getting the same exact OpenAI's completion API. In other words: You are now talking to an LLM that... show more
230,457 Aufrufe • vor 1 Jahr •via X (Twitter)
10 Kommentare

Just dump your schema and open it in Cursor. Works brilliantly. I’ve got 20 large tables and Cursor automatically searches for relevant ones

Well, that would work during development time when you want to explore a database. But I was thinking during runtime.

Do not waste time on this. Works only for demos.

Does it? Please, say more.

whenever I see sql and ai I mention @vannadotai and @zain_hoda

SQL + AI is gonna be revolutionary.

I'm using SQLite for an LLM payload. That's all I'll say at the moment.

I can't see this working for anything but the simplest of databases. It's hard enough for humans to write efficient SQL that returns correct results for complex data structures. Letting an LLM loose is a recipe for disaster IMHO.

Awesome use case, the course on database agents was my first exposure to this. Something I don’t fully get is how these are RAG use cases.

I think there is something here, Declarative Languages and AI combo seems to be the sweet spot. Given the LLM is prediction machine - they are perhaps better at "what to do" (Declarative) than "how to do" (Imperative).
