3 ms·
It could be a nice-to-have to feed the database schema into an LLM to allow it to generate queries (would of course need a step to double check in case it hallu
by joegibbs 2y ago
It could be a nice-to-have to feed the database schema into an LLM to allow it to generate queries (would of course need a step to double check in case it hallucinations a query that drops your tables, or limit it to SELECT), then run the LLM again on the query results to point out specific values. You could also provide a few inbuilt functions to generate different visualisations and let the LLM pick one.