feat(vector-stores): add Weaviate adapter to TypeScript OSS SDK (#5800)

Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
This commit is contained in:
Rod Boev
2026-07-08 21:12:01 +05:30
committed by GitHub
co-authored by kartik-mem0
parent e72ae96ad4
commit b26469e006
9 changed files with 547 additions and 10 deletions
+98
View File
@@ -17,6 +17,7 @@ overrides:
path-to-regexp@>=8.0.0 <8.4.0: ^8.4.0
postcss@<8.5.10: '>=8.5.10'
uuid@<11.1.1: '>=11.1.1'
weaviate-client>uuid: ^11.1.1
ws@>=8.0.0 <8.20.1: '>=8.20.1'
rollup@>=4.0.0 <4.59.0: ^4.59.0
tar-fs@>=2.0.0 <2.1.4: ^2.1.4
@@ -136,6 +137,9 @@ importers:
uuid:
specifier: ^11.1.1
version: 11.1.1
weaviate-client:
specifier: ^3.0.0
version: 3.13.1
zod:
specifier: ^3.24.1
version: 3.25.76
@@ -647,6 +651,9 @@ packages:
'@dabh/diagnostics@2.0.8':
resolution: {integrity: sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==}
'@datastructures-js/deque@1.0.8':
resolution: {integrity: sha512-PSBhJ2/SmeRPRHuBv7i/fHWIdSC3JTyq56qb+Rq0wjOagi0/fdV5/B/3Md5zFZus/W6OkSPMaxMKKMNMrSmubg==}
'@elastic/elasticsearch@9.4.2':
resolution: {integrity: sha512-H9myMlLUeotkZhZ4ppinoMGDFxmW3lY8/s+4TIk1vFHyCvWU1Ej4T7azX5buCzemyFApgN0ywnEuvOtpel2VZg==}
engines: {node: '>=20'}
@@ -829,6 +836,11 @@ packages:
'@modelcontextprotocol/sdk':
optional: true
'@graphql-typed-document-node/core@3.2.0':
resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==}
peerDependencies:
graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
'@grpc/grpc-js@1.14.4':
resolution: {integrity: sha512-k9Dj3DV/itK9D06Y8f190Qgop7/Ui+D0njFV3LHMPwPT75DpXLQohE9Wmz0QElrJnzsjB7KPWiKJbOl7IPDArQ==}
engines: {node: '>=12.10.0'}
@@ -1562,6 +1574,9 @@ packages:
'@zilliz/milvus2-sdk-node@3.0.3':
resolution: {integrity: sha512-7rC+MDmzfctc9wscIfqxkzTJCxWafSdkyFDESMIzEX1G2ndImRQzHfkrzjcPFqPBVgQHQScGnGa3W7edqcThjA==}
abort-controller-x@0.5.0:
resolution: {integrity: sha512-yTt9CI0x+nRfX6BFMenEGP8ooPvErGH6AbFz20C2IeOLIlDsrw/VHpgne3GsCEuTA410IiFiaLVFKmgM4bKEPQ==}
abort-controller@3.0.0:
resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}
engines: {node: '>=6.5'}
@@ -1967,6 +1982,9 @@ packages:
create-require@1.1.1:
resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==}
cross-fetch@3.2.0:
resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==}
cross-spawn@7.0.6:
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
engines: {node: '>= 8'}
@@ -2371,6 +2389,15 @@ packages:
resolution: {integrity: sha512-rXunEHF9M9EkMydTBux7+IryYXEZinRk6g8OBOGDBzo/qWJjhTxy86i5q7lQYpCLHN8Sqv1XX3OIOc7ka2gtvQ==}
engines: {node: '>=8.0.0'}
graphql-request@6.1.0:
resolution: {integrity: sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==}
peerDependencies:
graphql: 14 - 16
graphql@16.14.2:
resolution: {integrity: sha512-Chq1s4CY7jmh8gO2qvLIJyfCDIN+EHLFW/9iShnp1z8FjBQMoodWP1kDC36VAMXXIvAjj4ARa7ntfAV2BrjsbA==}
engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}
groq-sdk@0.3.0:
resolution: {integrity: sha512-Cdgjh4YoSBE2X4S9sxPGXaAy1dlN4bRtAaDZ3cnq+XsxhhN9WSBeHF64l7LWwuD5ntmw7YC5Vf4Ff1oHCg1LOg==}
@@ -3031,6 +3058,15 @@ packages:
neo-async@2.6.2:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
nice-grpc-client-middleware-retry@3.1.15:
resolution: {integrity: sha512-fXfNNdtjCQzc3O/w3WsK1AOU+xdE1V7FCm4FEQWS/UUVsV1616S2oryvWqsZAF8aOvuMir8lFtNmgH3DeP+PBg==}
nice-grpc-common@2.0.3:
resolution: {integrity: sha512-MEhnD3JMah0mgyivpb9hpRDbOBuXBxI/TVO+OK1h6rC97WM42HsPMR+zzRNQ0C5BqYJTw1nyWiQRD0DucO+pjQ==}
nice-grpc@2.1.16:
resolution: {integrity: sha512-Cl3Pn00212Hl8/U6bpgMxmhZj5lyv3nWoJov4cd3FjWarktrMHP4DNvSjCnDwkMWYx4W1tyscEia4JX6Y4GVCQ==}
node-abi@3.92.0:
resolution: {integrity: sha512-KdHvFWZjEKDf0cakgFjebl371GPsISX2oZHcuyKqM7DtogIsHrqKeLTo8wBHxaXRAQlY2PsPlZmfo+9ZCxEREQ==}
engines: {node: '>=10'}
@@ -3753,6 +3789,9 @@ packages:
resolution: {integrity: sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==}
engines: {node: '>= 14.0.0'}
ts-error@1.0.6:
resolution: {integrity: sha512-tLJxacIQUM82IR7JO1UUkKlYuUTmoY9HBJAmNWFzheSlDS5SPMcNIepejHJa4BpPQLAcbRhRf3GDJzyj6rbKvA==}
ts-interface-checker@0.1.13:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
@@ -3912,6 +3951,10 @@ packages:
walker@1.0.8:
resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}
weaviate-client@3.13.1:
resolution: {integrity: sha512-cimmwR8w8GnSKQsP7tyW3dT2fMxJA2Tj+WqGzaVVkTVOLH4bb4B4iY0SO3TJUM4L8bcHkL04+MY2RAWEWJpU6A==}
engines: {node: '>=22.0.0'}
web-streams-polyfill@3.3.3:
resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}
engines: {node: '>= 8'}
@@ -4932,6 +4975,8 @@ snapshots:
enabled: 2.0.0
kuler: 2.0.0
'@datastructures-js/deque@1.0.8': {}
'@elastic/elasticsearch@9.4.2':
dependencies:
'@elastic/transport': 9.3.7
@@ -5047,6 +5092,10 @@ snapshots:
- supports-color
- utf-8-validate
'@graphql-typed-document-node/core@3.2.0(graphql@16.14.2)':
dependencies:
graphql: 16.14.2
'@grpc/grpc-js@1.14.4':
dependencies:
'@grpc/proto-loader': 0.8.1
@@ -5936,6 +5985,8 @@ snapshots:
- bufferutil
- utf-8-validate
abort-controller-x@0.5.0: {}
abort-controller@3.0.0:
dependencies:
event-target-shim: 5.0.1
@@ -6337,6 +6388,12 @@ snapshots:
create-require@1.1.1: {}
cross-fetch@3.2.0:
dependencies:
node-fetch: 2.7.0
transitivePeerDependencies:
- encoding
cross-spawn@7.0.6:
dependencies:
path-key: 3.1.1
@@ -6781,6 +6838,16 @@ snapshots:
grad-school@0.0.5: {}
graphql-request@6.1.0(graphql@16.14.2):
dependencies:
'@graphql-typed-document-node/core': 3.2.0(graphql@16.14.2)
cross-fetch: 3.2.0
graphql: 16.14.2
transitivePeerDependencies:
- encoding
graphql@16.14.2: {}
groq-sdk@0.3.0:
dependencies:
'@types/node': 18.19.130
@@ -7614,6 +7681,21 @@ snapshots:
neo-async@2.6.2: {}
nice-grpc-client-middleware-retry@3.1.15:
dependencies:
abort-controller-x: 0.5.0
nice-grpc-common: 2.0.3
nice-grpc-common@2.0.3:
dependencies:
ts-error: 1.0.6
nice-grpc@2.1.16:
dependencies:
'@grpc/grpc-js': 1.14.4
abort-controller-x: 0.5.0
nice-grpc-common: 2.0.3
node-abi@3.92.0:
dependencies:
semver: 7.8.4
@@ -8351,6 +8433,8 @@ snapshots:
triple-beam@1.4.1: {}
ts-error@1.0.6: {}
ts-interface-checker@0.1.13: {}
ts-jest@29.4.11(@babel/core@7.29.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.29.7))(esbuild@0.28.1)(jest-util@29.7.0)(jest@29.7.0(@types/node@22.19.21)(ts-node@10.9.2(@types/node@22.19.21)(typescript@5.5.4)))(typescript@5.5.4):
@@ -8491,6 +8575,20 @@ snapshots:
dependencies:
makeerror: 1.0.12
weaviate-client@3.13.1:
dependencies:
'@datastructures-js/deque': 1.0.8
abort-controller-x: 0.5.0
graphql: 16.14.2
graphql-request: 6.1.0(graphql@16.14.2)
long: 5.3.2
nice-grpc: 2.1.16
nice-grpc-client-middleware-retry: 3.1.15
nice-grpc-common: 2.0.3
uuid: 11.1.1
transitivePeerDependencies:
- encoding
web-streams-polyfill@3.3.3: {}
web-streams-polyfill@4.0.0-beta.3: {}