@vectorstores/weaviate 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 +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.edge-light.d.ts +2 -2
- package/dist/index.edge-light.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -126,7 +126,7 @@ const toWeaviateFilter = (collection, standardFilters)=>{
|
|
|
126
126
|
};
|
|
127
127
|
class WeaviateVectorStore extends core.BaseVectorStore {
|
|
128
128
|
constructor(init){
|
|
129
|
-
super(
|
|
129
|
+
super(), this.storesText = true, this.flatMetadata = true, this.sanitizeMetadata = true;
|
|
130
130
|
if (init?.weaviateClient) {
|
|
131
131
|
// Use the provided client
|
|
132
132
|
this.weaviateClient = init.weaviateClient;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseVectorStore,
|
|
1
|
+
import { BaseVectorStore, BaseNode, Metadata, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
|
|
2
2
|
import { WeaviateClient, DeleteManyOptions } from 'weaviate-client';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -21,7 +21,7 @@ declare class WeaviateVectorStore extends BaseVectorStore {
|
|
|
21
21
|
private contentKey;
|
|
22
22
|
private embeddingKey;
|
|
23
23
|
private metadataKey;
|
|
24
|
-
constructor(init?:
|
|
24
|
+
constructor(init?: {
|
|
25
25
|
weaviateClient?: WeaviateClient;
|
|
26
26
|
cloudOptions?: {
|
|
27
27
|
clusterURL?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseVectorStore,
|
|
1
|
+
import { BaseVectorStore, BaseNode, Metadata, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
|
|
2
2
|
import { WeaviateClient, DeleteManyOptions } from 'weaviate-client';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -21,7 +21,7 @@ declare class WeaviateVectorStore extends BaseVectorStore {
|
|
|
21
21
|
private contentKey;
|
|
22
22
|
private embeddingKey;
|
|
23
23
|
private metadataKey;
|
|
24
|
-
constructor(init?:
|
|
24
|
+
constructor(init?: {
|
|
25
25
|
weaviateClient?: WeaviateClient;
|
|
26
26
|
cloudOptions?: {
|
|
27
27
|
clusterURL?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseVectorStore,
|
|
1
|
+
import { BaseVectorStore, BaseNode, Metadata, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core';
|
|
2
2
|
import { WeaviateClient, DeleteManyOptions } from 'weaviate-client';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -21,7 +21,7 @@ declare class WeaviateVectorStore extends BaseVectorStore {
|
|
|
21
21
|
private contentKey;
|
|
22
22
|
private embeddingKey;
|
|
23
23
|
private metadataKey;
|
|
24
|
-
constructor(init?:
|
|
24
|
+
constructor(init?: {
|
|
25
25
|
weaviateClient?: WeaviateClient;
|
|
26
26
|
cloudOptions?: {
|
|
27
27
|
clusterURL?: string;
|
package/dist/index.edge-light.js
CHANGED
|
@@ -120,7 +120,7 @@ const toWeaviateFilter = (collection, standardFilters)=>{
|
|
|
120
120
|
};
|
|
121
121
|
class WeaviateVectorStore extends BaseVectorStore {
|
|
122
122
|
constructor(init){
|
|
123
|
-
super(
|
|
123
|
+
super(), this.storesText = true, this.flatMetadata = true, this.sanitizeMetadata = true;
|
|
124
124
|
if (init?.weaviateClient) {
|
|
125
125
|
// Use the provided client
|
|
126
126
|
this.weaviateClient = init.weaviateClient;
|
package/dist/index.js
CHANGED
|
@@ -120,7 +120,7 @@ const toWeaviateFilter = (collection, standardFilters)=>{
|
|
|
120
120
|
};
|
|
121
121
|
class WeaviateVectorStore extends BaseVectorStore {
|
|
122
122
|
constructor(init){
|
|
123
|
-
super(
|
|
123
|
+
super(), this.storesText = true, this.flatMetadata = true, this.sanitizeMetadata = true;
|
|
124
124
|
if (init?.weaviateClient) {
|
|
125
125
|
// Use the provided client
|
|
126
126
|
this.weaviateClient = init.weaviateClient;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectorstores/weaviate",
|
|
3
3
|
"description": "Weaviate Storage for vectorstores",
|
|
4
|
-
"version": "0.1.
|
|
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": "^3.2.0",
|
|
38
|
-
"@vectorstores/core": "0.1.
|
|
38
|
+
"@vectorstores/core": "0.1.8",
|
|
39
39
|
"@vectorstores/env": "0.1.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@vectorstores/core": "0.1.
|
|
42
|
+
"@vectorstores/core": "0.1.8",
|
|
43
43
|
"@vectorstores/env": "0.1.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|