by joshstrange · 1y ago · 0 comments
Obviously there are tricks to let them better understand your schema but even using all of those it’s going to make the wrong assumptions about some columns and how they are used.
Believe me, LLMs understand the schema very well, and in the vast majority of cases, they suggest relevant indexes and/or query rewrites.
That being said, they are still LLMs and inherently non-deterministic.
But the goal of pgAssistant is not to fight against databases experts : it was build to help developpers before asking help to a DBA.