langchain 0.0.171 → 0.0.172
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/agents/format_scratchpad/log.cjs +1 -0
- package/agents/format_scratchpad/log.d.ts +1 -0
- package/agents/format_scratchpad/log.js +1 -0
- package/agents/format_scratchpad/log_to_message.cjs +1 -0
- package/agents/format_scratchpad/log_to_message.d.ts +1 -0
- package/agents/format_scratchpad/log_to_message.js +1 -0
- package/agents/format_scratchpad/xml.cjs +1 -0
- package/agents/format_scratchpad/xml.d.ts +1 -0
- package/agents/format_scratchpad/xml.js +1 -0
- package/agents/format_scratchpad.cjs +1 -1
- package/agents/format_scratchpad.d.ts +1 -1
- package/agents/format_scratchpad.js +1 -1
- package/agents/react/output_parser.cjs +1 -0
- package/agents/react/output_parser.d.ts +1 -0
- package/agents/react/output_parser.js +1 -0
- package/dist/agents/format_scratchpad/log.cjs +16 -0
- package/dist/agents/format_scratchpad/log.d.ts +9 -0
- package/dist/agents/format_scratchpad/log.js +12 -0
- package/dist/agents/format_scratchpad/log_to_message.cjs +22 -0
- package/dist/agents/format_scratchpad/log_to_message.d.ts +2 -0
- package/dist/agents/format_scratchpad/log_to_message.js +18 -0
- package/dist/agents/{format_scratchpad.cjs → format_scratchpad/openai_functions.cjs} +3 -3
- package/dist/agents/{format_scratchpad.d.ts → format_scratchpad/openai_functions.d.ts} +1 -1
- package/dist/agents/{format_scratchpad.js → format_scratchpad/openai_functions.js} +3 -3
- package/dist/agents/format_scratchpad/xml.cjs +12 -0
- package/dist/agents/format_scratchpad/xml.d.ts +2 -0
- package/dist/agents/format_scratchpad/xml.js +8 -0
- package/dist/agents/react/output_parser.cjs +96 -0
- package/dist/agents/react/output_parser.d.ts +47 -0
- package/dist/agents/react/output_parser.js +92 -0
- package/dist/agents/react/prompt.cjs +13 -0
- package/dist/agents/react/prompt.d.ts +1 -0
- package/dist/agents/react/prompt.js +10 -0
- package/dist/embeddings/openai.cjs +11 -0
- package/dist/embeddings/openai.d.ts +2 -0
- package/dist/embeddings/openai.js +11 -0
- package/dist/load/import_constants.cjs +1 -0
- package/dist/load/import_constants.js +1 -0
- package/dist/load/import_map.cjs +8 -3
- package/dist/load/import_map.d.ts +6 -1
- package/dist/load/import_map.js +6 -1
- package/dist/storage/file_system.cjs +147 -0
- package/dist/storage/file_system.d.ts +60 -0
- package/dist/storage/file_system.js +140 -0
- package/dist/tools/render.cjs +18 -0
- package/dist/tools/render.d.ts +13 -0
- package/dist/tools/render.js +14 -0
- package/dist/vectorstores/analyticdb.cjs +7 -3
- package/dist/vectorstores/analyticdb.d.ts +1 -1
- package/dist/vectorstores/analyticdb.js +7 -3
- package/dist/vectorstores/qdrant.cjs +19 -11
- package/dist/vectorstores/qdrant.d.ts +1 -1
- package/dist/vectorstores/qdrant.js +19 -11
- package/dist/vectorstores/redis.cjs +4 -1
- package/dist/vectorstores/redis.d.ts +1 -1
- package/dist/vectorstores/redis.js +4 -1
- package/package.json +49 -1
- package/storage/file_system.cjs +1 -0
- package/storage/file_system.d.ts +1 -0
- package/storage/file_system.js +1 -0
- package/tools/render.cjs +1 -0
- package/tools/render.d.ts +1 -0
- package/tools/render.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langchain",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.172",
|
|
4
4
|
"description": "Typescript bindings for langchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -34,6 +34,18 @@
|
|
|
34
34
|
"agents/format_scratchpad.cjs",
|
|
35
35
|
"agents/format_scratchpad.js",
|
|
36
36
|
"agents/format_scratchpad.d.ts",
|
|
37
|
+
"agents/format_scratchpad/log.cjs",
|
|
38
|
+
"agents/format_scratchpad/log.js",
|
|
39
|
+
"agents/format_scratchpad/log.d.ts",
|
|
40
|
+
"agents/format_scratchpad/xml.cjs",
|
|
41
|
+
"agents/format_scratchpad/xml.js",
|
|
42
|
+
"agents/format_scratchpad/xml.d.ts",
|
|
43
|
+
"agents/format_scratchpad/log_to_message.cjs",
|
|
44
|
+
"agents/format_scratchpad/log_to_message.js",
|
|
45
|
+
"agents/format_scratchpad/log_to_message.d.ts",
|
|
46
|
+
"agents/react/output_parser.cjs",
|
|
47
|
+
"agents/react/output_parser.js",
|
|
48
|
+
"agents/react/output_parser.d.ts",
|
|
37
49
|
"base_language.cjs",
|
|
38
50
|
"base_language.js",
|
|
39
51
|
"base_language.d.ts",
|
|
@@ -49,6 +61,9 @@
|
|
|
49
61
|
"tools/calculator.cjs",
|
|
50
62
|
"tools/calculator.js",
|
|
51
63
|
"tools/calculator.d.ts",
|
|
64
|
+
"tools/render.cjs",
|
|
65
|
+
"tools/render.js",
|
|
66
|
+
"tools/render.d.ts",
|
|
52
67
|
"tools/sql.cjs",
|
|
53
68
|
"tools/sql.js",
|
|
54
69
|
"tools/sql.d.ts",
|
|
@@ -673,6 +688,9 @@
|
|
|
673
688
|
"storage/upstash_redis.cjs",
|
|
674
689
|
"storage/upstash_redis.js",
|
|
675
690
|
"storage/upstash_redis.d.ts",
|
|
691
|
+
"storage/file_system.cjs",
|
|
692
|
+
"storage/file_system.js",
|
|
693
|
+
"storage/file_system.d.ts",
|
|
676
694
|
"graphs/neo4j_graph.cjs",
|
|
677
695
|
"graphs/neo4j_graph.js",
|
|
678
696
|
"graphs/neo4j_graph.d.ts",
|
|
@@ -1353,6 +1371,26 @@
|
|
|
1353
1371
|
"import": "./agents/format_scratchpad.js",
|
|
1354
1372
|
"require": "./agents/format_scratchpad.cjs"
|
|
1355
1373
|
},
|
|
1374
|
+
"./agents/format_scratchpad/log": {
|
|
1375
|
+
"types": "./agents/format_scratchpad/log.d.ts",
|
|
1376
|
+
"import": "./agents/format_scratchpad/log.js",
|
|
1377
|
+
"require": "./agents/format_scratchpad/log.cjs"
|
|
1378
|
+
},
|
|
1379
|
+
"./agents/format_scratchpad/xml": {
|
|
1380
|
+
"types": "./agents/format_scratchpad/xml.d.ts",
|
|
1381
|
+
"import": "./agents/format_scratchpad/xml.js",
|
|
1382
|
+
"require": "./agents/format_scratchpad/xml.cjs"
|
|
1383
|
+
},
|
|
1384
|
+
"./agents/format_scratchpad/log_to_message": {
|
|
1385
|
+
"types": "./agents/format_scratchpad/log_to_message.d.ts",
|
|
1386
|
+
"import": "./agents/format_scratchpad/log_to_message.js",
|
|
1387
|
+
"require": "./agents/format_scratchpad/log_to_message.cjs"
|
|
1388
|
+
},
|
|
1389
|
+
"./agents/react/output_parser": {
|
|
1390
|
+
"types": "./agents/react/output_parser.d.ts",
|
|
1391
|
+
"import": "./agents/react/output_parser.js",
|
|
1392
|
+
"require": "./agents/react/output_parser.cjs"
|
|
1393
|
+
},
|
|
1356
1394
|
"./base_language": {
|
|
1357
1395
|
"types": "./base_language.d.ts",
|
|
1358
1396
|
"import": "./base_language.js",
|
|
@@ -1378,6 +1416,11 @@
|
|
|
1378
1416
|
"import": "./tools/calculator.js",
|
|
1379
1417
|
"require": "./tools/calculator.cjs"
|
|
1380
1418
|
},
|
|
1419
|
+
"./tools/render": {
|
|
1420
|
+
"types": "./tools/render.d.ts",
|
|
1421
|
+
"import": "./tools/render.js",
|
|
1422
|
+
"require": "./tools/render.cjs"
|
|
1423
|
+
},
|
|
1381
1424
|
"./tools/sql": {
|
|
1382
1425
|
"types": "./tools/sql.d.ts",
|
|
1383
1426
|
"import": "./tools/sql.js",
|
|
@@ -2418,6 +2461,11 @@
|
|
|
2418
2461
|
"import": "./storage/upstash_redis.js",
|
|
2419
2462
|
"require": "./storage/upstash_redis.cjs"
|
|
2420
2463
|
},
|
|
2464
|
+
"./storage/file_system": {
|
|
2465
|
+
"types": "./storage/file_system.d.ts",
|
|
2466
|
+
"import": "./storage/file_system.js",
|
|
2467
|
+
"require": "./storage/file_system.cjs"
|
|
2468
|
+
},
|
|
2421
2469
|
"./graphs/neo4j_graph": {
|
|
2422
2470
|
"types": "./graphs/neo4j_graph.d.ts",
|
|
2423
2471
|
"import": "./graphs/neo4j_graph.js",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/storage/file_system.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/storage/file_system.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/storage/file_system.js'
|
package/tools/render.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/tools/render.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/tools/render.js'
|
package/tools/render.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/tools/render.js'
|