Hacker News
PgAdmin 4 9.13 with AI Assistant Panel
panzi
|next
[-]
chaz6
|next
|previous
[-]
ziml77
|root
|parent
|next
[-]
imjared
|root
|parent
|next
|previous
[-]
smartbit
|root
|parent
|next
[-]
LLM_ENABLED = True
in config.py for these preferences to be available.
zenmac
|root
|parent
|next
|previous
[-]
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.
lateforwork
|root
|parent
|next
|previous
[-]
"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!
vavkamil
|next
|previous
[-]
Click on the "Reset layout" button in the query tool (located in the top right corner), and it will move the "AI Assistant" tab to the right. Now, when you query a table, it will default to the Query tab as always.
aitchnyu
|next
|previous
[-]
zbentley
|root
|parent
[-]
I’m highly proficient in code, only average at SQL, and am routinely tasked to answer one-off questions or prototype reporting queries against highly complex schemas of thousands of tables (owned by multiple teams and changing all the time, with wildly insufficient shared DAO libraries or code APIs for constructing novel queries). My skill breakdown and situation aren’t optimal, certainly, but they aren’t uncommon either.
In that context, being able to ask “write a query that returns the last ten addresses of each of the the highest-spending customers, but only if those addresses are in rhetorical shipment system and are residences, not businesses”. Like, I could figure out the schemas of the ten tables involved in those queries and write those joins by hand, slowly. That would take time and, depending on data queries, the approach might get stale fast.
msavara
|next
|previous
[-]
stuaxo
|next
|previous
[-]
zbentley
|root
|parent
|previous
[-]
naranha
|previous
[-]
The first thing I do with these integration is look how I can remove them.