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

Bugfix: PGVector/RAG - Calculate the Vector Size based on Model Dimensions #2865

Merged
merged 19 commits into from
Jun 11, 2024

Conversation

Knucklessg1
Copy link
Collaborator

@Knucklessg1 Knucklessg1 commented Jun 4, 2024

Why are these changes needed?

Dynamically calculate the vector column in the pgvector db based off the sentence embedding model's dimension size.

Checks

@Knucklessg1 Knucklessg1 self-assigned this Jun 4, 2024
@Knucklessg1 Knucklessg1 added rag retrieve-augmented generative agents vectordb Vector Databases labels Jun 4, 2024
@thinkall
Copy link
Collaborator

thinkall commented Jun 4, 2024

Thanks @Knucklessg1 , could you also add an example of embedding_function for using customized embedding functions in the docstrings?

…ding function has different dimension from default one
@thinkall thinkall added this pull request to the merge queue Jun 11, 2024
Merged via the queue into main with commit bf7e4d6 Jun 11, 2024
83 of 97 checks passed
@thinkall thinkall deleted the bugfix/pgvector-dimensions branch June 11, 2024 12:23
@thinkall thinkall mentioned this pull request Jun 15, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rag retrieve-augmented generative agents vectordb Vector Databases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants