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

Fix MilvusVectorStore max allowed dimension size to 32768 #1008

Conversation

zbqmgldjfh
Copy link
Contributor

Milvus Vector store v2.x index provider allows up to 32768 dimensions. link
image

Fix that part and write a boundary test!

Issue #781

@@ -84,4 +89,16 @@ public void fallBackToDefaultDimensions() {
verify(embeddingModel, only()).dimensions();
}

@ParameterizedTest
@ValueSource(ints = { 0, 32769 })
Copy link
Member

Choose a reason for hiding this comment

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

nice

@markpollack
Copy link
Member

squashed and merged in 6931148 thanks!

@markpollack markpollack closed this Jul 5, 2024
@markpollack markpollack modified the milestones: 1.0.0-RC1, 1.0.0-M2 Jul 5, 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