Using the qdrant Java apis, how do I get the named vectors that are resolved from queryAsync api? #76
-
I created a collection with a dense and sparse vector single point embedding for testing. I then ran queryAsync api against it with a query embedding and vectors enabled for put . I see the response include a vectors output with nested vectors containing the dense and sparse vector for that point/id. How do I get the named vectors out of the response? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out from looking at Points.java generated. From the ScoredPoint returned from queryAsync, I can check if |
Beta Was this translation helpful? Give feedback.
I figured it out from looking at Points.java generated. From the ScoredPoint returned from queryAsync, I can check if
scoredPoint.getVectors().HasVectors() is true and then call scoredPoint.getVectors().getVectors().getVectorsOrDefault()