@vectorstores/milvus 0.1.6 → 0.1.8

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.
package/dist/index.cjs CHANGED
@@ -45,7 +45,7 @@ function parseScalarFilters(scalarFilters) {
45
45
  }
46
46
  class MilvusVectorStore extends core.BaseVectorStore {
47
47
  constructor(init){
48
- super(init), this.storesText = true, this.isEmbeddingQuery = false, this.flatMetadata = true, this.collectionInitialized = false;
48
+ super(), this.storesText = true, this.isEmbeddingQuery = false, this.flatMetadata = true, this.collectionInitialized = false;
49
49
  if (init?.milvusClient) {
50
50
  this.milvusClient = init.milvusClient;
51
51
  } else {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ChannelOptions } from '@grpc/grpc-js';
2
- import { BaseVectorStore, VectorStoreBaseParams, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
2
+ import { BaseVectorStore, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
3
3
  import { MilvusClient, ClientConfig, DeleteReq } from '@zilliz/milvus2-sdk-node';
4
4
 
5
5
  declare class MilvusVectorStore extends BaseVectorStore {
@@ -15,7 +15,7 @@ declare class MilvusVectorStore extends BaseVectorStore {
15
15
  private embeddingKey;
16
16
  constructor(init?: Partial<{
17
17
  milvusClient: MilvusClient;
18
- }> & VectorStoreBaseParams & {
18
+ }> & {
19
19
  params?: {
20
20
  configOrAddress: ClientConfig | string;
21
21
  ssl?: boolean;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ChannelOptions } from '@grpc/grpc-js';
2
- import { BaseVectorStore, VectorStoreBaseParams, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
2
+ import { BaseVectorStore, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
3
3
  import { MilvusClient, ClientConfig, DeleteReq } from '@zilliz/milvus2-sdk-node';
4
4
 
5
5
  declare class MilvusVectorStore extends BaseVectorStore {
@@ -15,7 +15,7 @@ declare class MilvusVectorStore extends BaseVectorStore {
15
15
  private embeddingKey;
16
16
  constructor(init?: Partial<{
17
17
  milvusClient: MilvusClient;
18
- }> & VectorStoreBaseParams & {
18
+ }> & {
19
19
  params?: {
20
20
  configOrAddress: ClientConfig | string;
21
21
  ssl?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ChannelOptions } from '@grpc/grpc-js';
2
- import { BaseVectorStore, VectorStoreBaseParams, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
2
+ import { BaseVectorStore, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
3
3
  import { MilvusClient, ClientConfig, DeleteReq } from '@zilliz/milvus2-sdk-node';
4
4
 
5
5
  declare class MilvusVectorStore extends BaseVectorStore {
@@ -15,7 +15,7 @@ declare class MilvusVectorStore extends BaseVectorStore {
15
15
  private embeddingKey;
16
16
  constructor(init?: Partial<{
17
17
  milvusClient: MilvusClient;
18
- }> & VectorStoreBaseParams & {
18
+ }> & {
19
19
  params?: {
20
20
  configOrAddress: ClientConfig | string;
21
21
  ssl?: boolean;
@@ -43,7 +43,7 @@ function parseScalarFilters(scalarFilters) {
43
43
  }
44
44
  class MilvusVectorStore extends BaseVectorStore {
45
45
  constructor(init){
46
- super(init), this.storesText = true, this.isEmbeddingQuery = false, this.flatMetadata = true, this.collectionInitialized = false;
46
+ super(), this.storesText = true, this.isEmbeddingQuery = false, this.flatMetadata = true, this.collectionInitialized = false;
47
47
  if (init?.milvusClient) {
48
48
  this.milvusClient = init.milvusClient;
49
49
  } else {
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ function parseScalarFilters(scalarFilters) {
43
43
  }
44
44
  class MilvusVectorStore extends BaseVectorStore {
45
45
  constructor(init){
46
- super(init), this.storesText = true, this.isEmbeddingQuery = false, this.flatMetadata = true, this.collectionInitialized = false;
46
+ super(), this.storesText = true, this.isEmbeddingQuery = false, this.flatMetadata = true, this.collectionInitialized = false;
47
47
  if (init?.milvusClient) {
48
48
  this.milvusClient = init.milvusClient;
49
49
  } else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vectorstores/milvus",
3
3
  "description": "Milvus Storage for vectorstores",
4
- "version": "0.1.6",
4
+ "version": "0.1.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "vitest": "^2.1.5",
38
- "@vectorstores/core": "0.1.6",
38
+ "@vectorstores/core": "0.1.8",
39
39
  "@vectorstores/env": "0.1.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@vectorstores/core": "0.1.6",
42
+ "@vectorstores/core": "0.1.8",
43
43
  "@vectorstores/env": "0.1.0"
44
44
  },
45
45
  "dependencies": {