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

[HZAI-68] Initial vector search implementation #674

Merged
merged 12 commits into from
Jun 3, 2024

Conversation

yuce
Copy link
Contributor

@yuce yuce commented May 3, 2024

This PR

@yuce yuce changed the title Initial vector search implementation [WIP] Initial vector search implementation May 3, 2024
@yuce yuce changed the title [WIP] Initial vector search implementation Initial vector search implementation May 3, 2024
@yuce yuce requested a review from srknzl May 3, 2024 15:27
Copy link
Member

@srknzl srknzl left a comment

Choose a reason for hiding this comment

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

main code & test not reviewed, review in progress

Comment on lines +84 to +86
jvector = download_if_necessary(RELEASE_REPO, "io.github.jbellis", "jvector", "2.0.5")
artifacts.append(jvector)
math3 = download_if_necessary(RELEASE_REPO, "org.apache.commons", "commons-math3", "3.6.1")
Copy link
Member

Choose a reason for hiding this comment

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

I'd say let's put these versions at the top of the file, next to SERVER_VERSION &
RC_VERSION.

Why do we need these jars though? Should not "hazelcast-enterprise-vector" include them(any dependency needed for vectors) already? If you are going to shade those dependencies into hazelcast-enterprise-vector soon, I'd add a todo comment here about removing these dependencies from here because it seems this pr will be open for a while until 5.4 is released

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently hazelcast-enterprise-vector jar doesn't include those dependencies.
But eventually it will, so we can just delete those lines when that happens.

examples/vector_collection/vector_collection.py Outdated Show resolved Hide resolved
examples/vector_collection/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/vector.py Show resolved Hide resolved
hazelcast/vector.py Show resolved Hide resolved
examples/vector_collection/vector_collection.py Outdated Show resolved Hide resolved
examples/vector_collection/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/client.py Outdated Show resolved Hide resolved
hazelcast/protocol/builtin.py Show resolved Hide resolved
Copy link
Member

@srknzl srknzl left a comment

Choose a reason for hiding this comment

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

Review of vector_collection.py

hazelcast/proxy/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Outdated Show resolved Hide resolved
hazelcast/proxy/vector_collection.py Show resolved Hide resolved
Copy link
Member

@srknzl srknzl left a comment

Choose a reason for hiding this comment

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

review of the test

@yuce yuce requested a review from srknzl May 8, 2024 08:05
srknzl
srknzl previously approved these changes May 8, 2024
# Conflicts:
#	.github/workflows/nightly_runner.yml
@yuce yuce merged commit 5d50e3e into hazelcast:master Jun 3, 2024
6 of 9 checks passed
@yuce yuce deleted the experimental-vector-api branch June 3, 2024 11:26
@yuce yuce changed the title Initial vector search implementation [HZAI-68] Initial vector search implementation Jun 10, 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.

None yet

2 participants