@mastra/qdrant 0.2.3 → 0.2.4-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/qdrant@0.2.3-alpha.1 build /home/runner/work/mastra/mastra/stores/qdrant
2
+ > @mastra/qdrant@0.2.4-alpha.1 build /home/runner/work/mastra/mastra/stores/qdrant
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 8164ms
9
+ TSC ⚡️ Build success in 8526ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.2
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/qdrant/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.2
15
15
  Writing package typings: /home/runner/work/mastra/mastra/stores/qdrant/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 9421ms
16
+ DTS ⚡️ Build success in 8999ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- CJS dist/index.cjs 13.17 KB
21
- CJS ⚡️ Build success in 600ms
22
20
  ESM dist/index.js 13.14 KB
23
- ESM ⚡️ Build success in 603ms
21
+ ESM ⚡️ Build success in 669ms
22
+ CJS dist/index.cjs 13.17 KB
23
+ CJS ⚡️ Build success in 668ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @mastra/qdrant
2
2
 
3
+ ## 0.2.4-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6794797]
8
+ - @mastra/core@0.6.4-alpha.1
9
+
10
+ ## 0.2.4-alpha.0
11
+
12
+ ### Patch Changes
13
+
14
+ - b56a681: Update README and some tests for vector stores
15
+ - Updated dependencies [fb68a80]
16
+ - Updated dependencies [b56a681]
17
+ - Updated dependencies [248cb07]
18
+ - @mastra/core@0.6.4-alpha.0
19
+
3
20
  ## 0.2.3
4
21
 
5
22
  ### Patch Changes
package/README.md CHANGED
@@ -20,16 +20,16 @@ const vectorStore = new QdrantVector(
20
20
  );
21
21
 
22
22
  // Create a new collection
23
- await vectorStore.createIndex({ indexName: 'my-collection', dimension: 1536, metric: 'cosine' });
23
+ await vectorStore.createIndex({ indexName: 'myCollection', dimension: 1536, metric: 'cosine' });
24
24
 
25
25
  // Add vectors
26
26
  const vectors = [[0.1, 0.2, ...], [0.3, 0.4, ...]];
27
27
  const metadata = [{ text: 'doc1' }, { text: 'doc2' }];
28
- const ids = await vectorStore.upsert({ indexName: 'my-collection', vectors, metadata });
28
+ const ids = await vectorStore.upsert({ indexName: 'myCollection', vectors, metadata });
29
29
 
30
30
  // Query vectors
31
31
  const results = await vectorStore.query({
32
- indexName: 'my-collection',
32
+ indexName: 'myCollection',
33
33
  queryVector: [0.1, 0.2, ...],
34
34
  topK: 10, // topK
35
35
  filter: { text: { $eq: 'doc1' } }, // optional filter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/qdrant",
3
- "version": "0.2.3",
3
+ "version": "0.2.4-alpha.1",
4
4
  "description": "Qdrant vector store provider for Mastra",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@qdrant/js-client-rest": "^1.13.0",
23
- "@mastra/core": "^0.6.3"
23
+ "@mastra/core": "^0.6.4-alpha.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@microsoft/api-extractor": "^7.52.1",