-
Notifications
You must be signed in to change notification settings - Fork 4
Add pgvector as default KB store #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Entelligence AI Vulnerability ScannerStatus: No security vulnerabilities found Your code passed our comprehensive security analysis. |
Review Summary🏷️ Draft Comments (4)
|
Review Summary |
Review Summary |
Review Summary |
| \$\$; | ||
| GRANT ALL PRIVILEGES ON DATABASE $db_name TO $username; | ||
| GRANT ALL PRIVILEGES ON SCHEMA public TO $username; | ||
| GRANT ALL ON SCHEMA public TO $username; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is handled by GRANT ALL PRIVILEGES ON SCHEMA public TO $username;
| \$\$; | ||
| GRANT ALL PRIVILEGES ON DATABASE kb TO $username; | ||
| GRANT ALL PRIVILEGES ON SCHEMA public TO $username; | ||
| GRANT ALL ON SCHEMA public TO $username; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here handled by GRANT ALL PRIVILEGES ON SCHEMA public TO $username;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you saying we can get rid of?
GRANT ALL PRIVILEGES ON DATABASE $db_name TO $username;
GRANT ALL ON SCHEMA public TO $username;
Adds a pgvector container and uses it as the default KB store. Requires building our own pgvector container in order to include an init script that ensures DBs are created.