河畔一角 1 сар өмнө
parent
commit
ed54df1835
2 өөрчлөгдсөн 63 нэмэгдсэн , 1 устгасан
  1. 2 1
      package.json
  2. 61 0
      pnpm-lock.yaml

+ 2 - 1
package.json

@@ -14,6 +14,7 @@
     "@baiducloud/sdk": "^1.0.1",
     "@koa/router": "^12.0.0",
     "@langchain/community": "^0.2.31",
+    "@langchain/core": "^0.3.55",
     "@larksuiteoapi/node-sdk": "^1.30.0",
     "ai": "^4.1.61",
     "ali-oss": "^6.22.0",
@@ -37,9 +38,9 @@
     "nodemailer": "^6.9.14",
     "nodemon": "^3.0.1",
     "pg": "^8.13.1",
-    "postgres": "^3.4.4",
     "pg-core": "^0.1.15",
     "pgvector": "^0.2.0",
+    "postgres": "^3.4.4",
     "qs": "^6.13.1",
     "scp2": "^0.5.0",
     "uuid": "^10.0.0",

+ 61 - 0
pnpm-lock.yaml

@@ -20,6 +20,9 @@ importers:
       '@langchain/community':
         specifier: ^0.2.31
         version: 0.2.33(axios@1.8.4)(fast-xml-parser@4.5.3)(ignore@5.3.2)(jsonwebtoken@9.0.2)(lodash@4.17.21)(mysql2@3.14.0)(openai@4.95.1(ws@8.18.1)(zod@3.24.3))(pg@8.15.1)(ws@8.18.1)
+      '@langchain/core':
+        specifier: ^0.3.55
+        version: 0.3.55(openai@4.95.1(ws@8.18.1)(zod@3.24.3))
       '@larksuiteoapi/node-sdk':
         specifier: ^1.30.0
         version: 1.46.0
@@ -158,6 +161,9 @@ packages:
   '@baiducloud/sdk@1.0.3':
     resolution: {integrity: sha512-NdHV8RkkFPvUQvyQ2ehJCazs8sAtGXzaN49LnN6VwJ+AIbYhJWTKtpvhDTOqcWespMYWL/02sN9P0OIf7OivBQ==}
 
+  '@cfworker/json-schema@4.1.1':
+    resolution: {integrity: sha512-gAmrUZSGtKc3AiBL71iNWxDsyUC5uMaKKGdvzYsBoTW/xi42JQHl7eKV2OYzCUqvc+D2RCcf7EXY2iCyFIk6og==}
+
   '@eslint-community/eslint-utils@4.6.1':
     resolution: {integrity: sha512-KTsJMmobmbrFLe3LDh0PC2FXpcSYJt/MLjlkh/9LEnmKYLSYmT/0EW9JWANjeoemiuZrmogti0tW5Ch+qNUYDw==}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -580,6 +586,10 @@ packages:
     resolution: {integrity: sha512-qHLvScqERDeH7y2cLuJaSAlMwg3f/3Oc9nayRSXRU2UuaK/SOhI42cxiPLj1FnuHJSmN0rBQFkrLx02gI4mcVg==}
     engines: {node: '>=18'}
 
+  '@langchain/core@0.3.55':
+    resolution: {integrity: sha512-SojY2ugpT6t9eYfFB9Ysvyhhyh+KJTGXs50hdHUE9tAEQWp3WAwoxe4djwJnOZ6fSpWYdpFt2UT2ksHVDy2vXA==}
+    engines: {node: '>=18'}
+
   '@langchain/openai@0.2.11':
     resolution: {integrity: sha512-Pu8+WfJojCgSf0bAsXb4AjqvcDyAWyoEB1AoCRNACgEnBWZuitz3hLwCo9I+6hAbeg3QJ37g82yKcmvKAg1feg==}
     engines: {node: '>=18'}
@@ -962,6 +972,9 @@ packages:
   concat-map@0.0.1:
     resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
 
+  console-table-printer@2.12.1:
+    resolution: {integrity: sha512-wKGOQRRvdnd89pCeH96e2Fn4wkbenSP6LMHfjfyNLMbGuHEFbMqQNuxXqd0oXG9caIOQ1FTvc5Uijp9/4jujnQ==}
+
   content-disposition@0.5.4:
     resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}
     engines: {node: '>= 0.6'}
@@ -1862,6 +1875,14 @@ packages:
       openai:
         optional: true
 
+  langsmith@0.3.28:
+    resolution: {integrity: sha512-Vq8n0zJ9MhDMhwkOhmOEb/rl/8jpm0LnAF4dE5TEXMdLmhJ784gcrWOghnFh7Qs5B4DY2Bdz3OKxIevkGKn5xg==}
+    peerDependencies:
+      openai: '*'
+    peerDependenciesMeta:
+      openai:
+        optional: true
+
   levn@0.4.1:
     resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
     engines: {node: '>= 0.8.0'}
@@ -2399,6 +2420,9 @@ packages:
     resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==}
     engines: {node: '>=10'}
 
+  simple-wcswidth@1.0.1:
+    resolution: {integrity: sha512-xMO/8eNREtaROt7tJvWJqHBDTMFN4eiQ5I4JRMuilwfnFcV5W9u7RUkueNkdw0jPqGMX36iCywelS5yilTuOxg==}
+
   split-on-first@1.1.0:
     resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==}
     engines: {node: '>=6'}
@@ -2750,6 +2774,8 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
+  '@cfworker/json-schema@4.1.1': {}
+
   '@eslint-community/eslint-utils@4.6.1(eslint@8.57.1)':
     dependencies:
       eslint: 8.57.1
@@ -2862,6 +2888,23 @@ snapshots:
     transitivePeerDependencies:
       - openai
 
+  '@langchain/core@0.3.55(openai@4.95.1(ws@8.18.1)(zod@3.24.3))':
+    dependencies:
+      '@cfworker/json-schema': 4.1.1
+      ansi-styles: 5.2.0
+      camelcase: 6.3.0
+      decamelize: 1.2.0
+      js-tiktoken: 1.0.20
+      langsmith: 0.3.28(openai@4.95.1(ws@8.18.1)(zod@3.24.3))
+      mustache: 4.2.0
+      p-queue: 6.6.2
+      p-retry: 4.6.2
+      uuid: 10.0.0
+      zod: 3.24.3
+      zod-to-json-schema: 3.24.5(zod@3.24.3)
+    transitivePeerDependencies:
+      - openai
+
   '@langchain/openai@0.2.11(ws@8.18.1)':
     dependencies:
       '@langchain/core': 0.2.36(openai@4.95.1(ws@8.18.1)(zod@3.24.3))
@@ -3305,6 +3348,10 @@ snapshots:
 
   concat-map@0.0.1: {}
 
+  console-table-printer@2.12.1:
+    dependencies:
+      simple-wcswidth: 1.0.1
+
   content-disposition@0.5.4:
     dependencies:
       safe-buffer: 5.2.1
@@ -4006,6 +4053,18 @@ snapshots:
     optionalDependencies:
       openai: 4.95.1(ws@8.18.1)(zod@3.24.3)
 
+  langsmith@0.3.28(openai@4.95.1(ws@8.18.1)(zod@3.24.3)):
+    dependencies:
+      '@types/uuid': 10.0.0
+      chalk: 4.1.2
+      console-table-printer: 2.12.1
+      p-queue: 6.6.2
+      p-retry: 4.6.2
+      semver: 7.7.1
+      uuid: 10.0.0
+    optionalDependencies:
+      openai: 4.95.1(ws@8.18.1)(zod@3.24.3)
+
   levn@0.4.1:
     dependencies:
       prelude-ls: 1.2.1
@@ -4532,6 +4591,8 @@ snapshots:
     dependencies:
       semver: 7.7.1
 
+  simple-wcswidth@1.0.1: {}
+
   split-on-first@1.1.0: {}
 
   split2@4.2.0: {}