Skip to content

Comments

Unify settings for vector and nodestore connections to PostgreSQL#1730

Merged
imartinez merged 3 commits intozylon-ai:mainfrom
dbzoo:upsteam
Mar 15, 2024
Merged

Unify settings for vector and nodestore connections to PostgreSQL#1730
imartinez merged 3 commits intozylon-ai:mainfrom
dbzoo:upsteam

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.

@github-actions
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
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