qdrant-js
qdrant-js copied to clipboard
hybrid retrieval in qdrantjs
Does the qdrantjs support hybrid retrieval, including the initialization configuration of QdrantVectorStore for hybrid retrieval, generation and upload of sparse vectors, as well as hybrid queries?
On the official website, I only saw examples like the following code used to create a collection with sparse vector configuration:
client.createCollection('sparse1', {
sparse_vectors: {
text: {},
},
});
Is there currently a way to generate, upload, and perform hybrid queries with sparse vectors using JavaScript?
Hello. Trying the same, were you able to upsert sparse and dense vectors?
const point = {
id: uuidv4(),
vector: {
dense: denseVector,
sparse: sparseVectorArr,
},
payload: payload,
};
// Upsert the point into the collection
await client.upsert(collectionName, [point]);
getting 400