Hacker News new | ask | show | jobs
by chaz6 98 days ago
When I got the update I looked through the settings and there appears to be no way to disable it. I do not want AI anywhere near my database. I only use it for testing/staging at least so I should hopefully not have to worry about it wrecking production.
6 comments

The docs suggest that you can set the default provider to "None" to disable AI features: https://www.pgadmin.org/docs/pgadmin4/9.13/preferences.html#...
Note: AI features must be enabled in the server configuration

  LLM_ENABLED = True 
in config.py for these preferences to be available.
I did not enable this and yet I got the panel in the UI.
It is nice that they have the default set to "None". However to have this feature in pgAmdin is as distraction from the project.

If it is just calling API anyway, then I don't want to have this in my db admin tool. It also expose surface area of potential data leakage.

Worth pointing out that Postgres is perfectly usable without an admin dashboard at all
What's the danger? It can see the schemas to help it generate the queries but it can't run anything on its own. Also you have to give the application credentials to an AI provider for the feature to work. So, you can just not do that.
There is no need of potential dangers to not want to have non-deterministic features in an application.
> What's the danger?

Hallucinated ideas about what needs doing, what commands to run, etc.

So, data that's no longer reliable (ie could be subtly changed), or even outright data loss.

just don't accept bogus changes it suggests? this is why having a human in the loop is a very good idea
Yep, I fully agree. It'd be awesome if all (or even most?) of the users were immune to automation bias though. :)

https://en.wikipedia.org/wiki/Automation_bias

And hopefully the users who are using this aren't YOLO-ing it. Though I'm pretty sure we're all expecting there will be a sizeable percentage who are.

It's there on the UI, but it doesn't do anything if it's not enabled.
If you arent using it is it even a danger?
Did you miss this:

"This feature requires an AI provider to be configured in Preferences > AI."

And then you have to supply an API key (see here https://www.pgedge.com/blog/ai-features-in-pgadmin-configura... )

You don't get AI for free!

When I open a new query window, the AI tab is selected by default which is annoying. I just want to write SQL without having to switch tabs like I could before. Not only has it ruined my muscle memory, it's also more inefficient.
You can use it with Ollama rubbing a local model.
Why do you do in production?