4 ms·
When pgAssistant sends the prompt to the LLM, it provides the DDL of the tables involved in the query (using pg_dump), the result of the ANALYZE query, and of c
by bertrandhartwig 2y ago
When pgAssistant sends the prompt to the LLM, it provides the DDL of the tables involved in the query (using pg_dump), the result of the ANALYZE query, and of course, the query itself.
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.