-
Notifications
You must be signed in to change notification settings - Fork 138
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
New public sparse vector configuration #393
Conversation
✅ Deploy Preview for poetic-froyo-8baba7 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -1255,7 +1255,7 @@ def convert_sparse_index_config(cls, model: grpc.SparseIndexConfig) -> rest.Spar | |||
full_scan_threshold=model.full_scan_threshold | |||
if model.HasField("full_scan_threshold") | |||
else None, | |||
on_disk=model.on_disk if model.HasField("on_disk") else None, | |||
index_type=model.on_disk if model.HasField("on_disk") else None, # TODO the types are incompatible for a conversion? |
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.
I have a problem here, the types do not align.
On one side an Optional and on the other side an enum.
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.
Because you need convert into SparseIndexParams
. Andrey declined and reverted changes in grpc here qdrant/qdrant#3168, so that we have names mismatch
first green run, marking for review |
* New public sparse vector configuration * regen * fix stubs * fix test * conversions * fix conversion * apply api changes --------- Co-authored-by: generall <andrey@vasnetsov.com>
qdrant/qdrant#3154