Since AI's main achilles heal is that it can make up responses, isn't a database widget view the worst use case? Wouldn't you want to be sure the displayed data was exactly correct?
Seems like the trick is to use the LLM to produce a query - then the data you get back is simply the result of the query, and you can examine the query to check that it's appropriate.
In my own experiments I've caught ChatGPT running the correct query but then hallucinating the results, because the response was too long for the token context window and got truncated!