Skip to content
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

Unify settings for vector and nodestore connections to PostgreSQL #1730

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

dbzoo
Copy link
Contributor

@dbzoo dbzoo commented Mar 15, 2024

The duel configuration of the postgres connection settings for the nodestore and the vector store has a smell about it. This PR unifies the connection to a postgres database by changing the database mode string from pgvector to postgres.

It has an opinionated configuration for the name of the embedding table, and removes it from the configuration. As the vector table needs to know the embedding model dimension to correctly setup the table, this has been moved into the embedding: section.

It was easier to create a PR than trying to explain all this in a discussion forum.

Copy link
Contributor

Copy link
Collaborator

@imartinez imartinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes total sense. Thanks for bringing this improvement. Makes things cleaner and more scalable.

@imartinez imartinez merged commit 63de7e4 into zylon-ai:main Mar 15, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants