diff --git a/components/qdrant/actions/search-points/search-points.mjs b/components/qdrant/actions/search-points/search-points.mjs index 05ef5b61b423c..a303c1c2319fd 100644 --- a/components/qdrant/actions/search-points/search-points.mjs +++ b/components/qdrant/actions/search-points/search-points.mjs @@ -7,7 +7,7 @@ export default { name: "Search Points", description: "Performs a semantic search on the Qdrant collection.", type: "action", - version: "0.0.1", + version: "0.0.2", props: { app, collectionName: { @@ -56,10 +56,10 @@ export default { const client = new QdrantClient(this.app.getCredentials()); - return client.search(collectionName, { + return client.query(collectionName, { filter, limit, - vector, + query: vector, with_payload: withPayload, with_vector: withVector, }); @@ -84,6 +84,6 @@ export default { step.export("$summary", "Successfully searched the collection"); - return response; + return response.points; }, }; diff --git a/components/qdrant/package.json b/components/qdrant/package.json index 155dab9cf3fe3..5ae89f52de02d 100644 --- a/components/qdrant/package.json +++ b/components/qdrant/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/qdrant", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Qdrant Components", "main": "qdrant.app.mjs", "keywords": [ @@ -13,6 +13,6 @@ "access": "public" }, "dependencies": { - "@qdrant/js-client-rest": "^1.9.0" + "@qdrant/js-client-rest": "^1.11.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c60247f5bfb99..29ab5043c849e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7555,9 +7555,9 @@ importers: components/qdrant: specifiers: - '@qdrant/js-client-rest': ^1.9.0 + '@qdrant/js-client-rest': ^1.11.0 dependencies: - '@qdrant/js-client-rest': 1.9.0_typescript@5.5.4 + '@qdrant/js-client-rest': 1.11.0_typescript@5.5.4 components/qntrl: specifiers: @@ -18838,8 +18838,8 @@ packages: - supports-color dev: true - /@qdrant/js-client-rest/1.9.0_typescript@5.5.4: - resolution: {integrity: sha512-YiX/IskbRCoAY2ujyPDI6FBcO0ygAS4pgkGaJ7DcrJFh4SZV2XHs+u0KM7mO72RWJn1eJQFF2PQwxG+401xxJg==} + /@qdrant/js-client-rest/1.11.0_typescript@5.5.4: + resolution: {integrity: sha512-RzF+HxL8A7bb/uaxU1jVS1a919bb3FCo1giB/D19UT3d50AYl4+4AyklbsjlXpWEHekbNocQAQ016fqT9hSRtQ==} engines: {node: '>=18.0.0', pnpm: '>=8'} peerDependencies: typescript: '>=4.7'