-
Notifications
You must be signed in to change notification settings - Fork 339
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
feat: Add sparse float vector support to PyMilvus #1902
Conversation
Welcome @zhengbuqian! It looks like this is your first PR to milvus-io/pymilvus 🎉 |
81baaaa
to
64770eb
Compare
64770eb
to
09233bc
Compare
09233bc
to
abf1f6d
Compare
24b1b15
to
124b9af
Compare
bfafae2
to
ca6712c
Compare
6a57c9a
to
929a266
Compare
/hold reviewer please review, but I'll wait until all milvus PRs(expecting by Wednesday) before merging this one. |
@@ -456,11 +456,11 @@ def _pre_batch_check( | |||
fields_info: Any, | |||
): | |||
for entity in entities: | |||
if ( | |||
not entity.get("name", None) | |||
or not entity.get("values", None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or entity.get("values", None) is None
929a266
to
2e4b44d
Compare
/approve |
2e4b44d
to
c3c4ff3
Compare
hold until milvus PR is merged |
/unhold all required milvus PRs are merged |
…rts various sparse matrix representations also supported row based insertion so sparse is also supported in milvus client Signed-off-by: Buqian Zheng <[email protected]>
c3c4ff3
to
3051ed8
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: czs007, XuanYang-cn, zhengbuqian The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR adds the basic sparse float vector support to pymilvus.
The following types of input are supported:
scipy.sparse
matrix/array class family[{0: 0.3, 20: 0.5}, {4: 0.4}, ...]
[[(0, 0.3), (20, 0.5)], [(4, 0.4)], ...]
Sparse float vector support tracking issue: milvus-io/milvus#29419