Database Tool / Postgres, exclude_tables #739
Replies: 1 comment
-
@stevepaolucci I just realized there's a bug where Creating a dedicated DB role is the way to go. Do you have any opinions on whether the tables that this Database tool should have access to should be whitelisted or blacklisted? I'm trying to figure out what a good DSL would look like here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi - having issue with excluded tables showing up in queries. I'm establishing a connection to postgres, instantiating an llm and assistant:
Which seems to ignore the exclude_tables parameter:
#<Langchain::Messages::OpenAIMessage:0x000000013a8790c0
@content=
"Here are the emails and their corresponding encrypted passwords from the users in the database:\n\n| Email | Encrypted Password |\n|-----------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [email protected] | $2a$12$U24dr6GIh.TLzsAc8mNg.Pu8QzJPsoVD8ZalOZhyXZ.Ii7kLY85H1i |\n| [email protected] | $2a$12$Wh...
I can see it's getting set:
I do intend to create a role in Postgres that whitelists which tables I can run from this particular service, however - am I instantiating the db incorrectly with tables and exclude_tables? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions