langchain 0.0.164 → 0.0.165
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/chat_models/portkey.cjs +1 -0
- package/chat_models/portkey.d.ts +1 -0
- package/chat_models/portkey.js +1 -0
- package/dist/chat_models/portkey.cjs +159 -0
- package/dist/chat_models/portkey.d.ts +17 -0
- package/dist/chat_models/portkey.js +155 -0
- package/dist/embeddings/minimax.cjs +1 -1
- package/dist/embeddings/minimax.js +1 -1
- package/dist/llms/portkey.cjs +147 -0
- package/dist/llms/portkey.d.ts +33 -0
- package/dist/llms/portkey.js +138 -0
- package/dist/llms/sagemaker_endpoint.cjs +76 -14
- package/dist/llms/sagemaker_endpoint.d.ts +39 -20
- package/dist/llms/sagemaker_endpoint.js +77 -15
- package/dist/load/import_constants.cjs +3 -0
- package/dist/load/import_constants.js +3 -0
- package/dist/output_parsers/list.cjs +1 -1
- package/dist/output_parsers/list.js +1 -1
- package/dist/vectorstores/cassandra.cjs +212 -0
- package/dist/vectorstores/cassandra.d.ts +98 -0
- package/dist/vectorstores/cassandra.js +208 -0
- package/dist/vectorstores/mongodb_atlas.cjs +29 -39
- package/dist/vectorstores/mongodb_atlas.js +29 -39
- package/llms/portkey.cjs +1 -0
- package/llms/portkey.d.ts +1 -0
- package/llms/portkey.js +1 -0
- package/package.json +42 -2
- package/vectorstores/cassandra.cjs +1 -0
- package/vectorstores/cassandra.d.ts +1 -0
- package/vectorstores/cassandra.js +1 -0
package/llms/portkey.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/llms/portkey.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/portkey.js'
|
package/llms/portkey.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/llms/portkey.js'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langchain",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.165",
|
|
4
4
|
"description": "Typescript bindings for langchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -172,6 +172,9 @@
|
|
|
172
172
|
"llms/writer.cjs",
|
|
173
173
|
"llms/writer.js",
|
|
174
174
|
"llms/writer.d.ts",
|
|
175
|
+
"llms/portkey.cjs",
|
|
176
|
+
"llms/portkey.js",
|
|
177
|
+
"llms/portkey.d.ts",
|
|
175
178
|
"prompts.cjs",
|
|
176
179
|
"prompts.js",
|
|
177
180
|
"prompts.d.ts",
|
|
@@ -184,6 +187,9 @@
|
|
|
184
187
|
"vectorstores/base.cjs",
|
|
185
188
|
"vectorstores/base.js",
|
|
186
189
|
"vectorstores/base.d.ts",
|
|
190
|
+
"vectorstores/cassandra.cjs",
|
|
191
|
+
"vectorstores/cassandra.js",
|
|
192
|
+
"vectorstores/cassandra.d.ts",
|
|
187
193
|
"vectorstores/elasticsearch.cjs",
|
|
188
194
|
"vectorstores/elasticsearch.js",
|
|
189
195
|
"vectorstores/elasticsearch.d.ts",
|
|
@@ -412,6 +418,9 @@
|
|
|
412
418
|
"chat_models/openai.cjs",
|
|
413
419
|
"chat_models/openai.js",
|
|
414
420
|
"chat_models/openai.d.ts",
|
|
421
|
+
"chat_models/portkey.cjs",
|
|
422
|
+
"chat_models/portkey.js",
|
|
423
|
+
"chat_models/portkey.d.ts",
|
|
415
424
|
"chat_models/anthropic.cjs",
|
|
416
425
|
"chat_models/anthropic.js",
|
|
417
426
|
"chat_models/anthropic.d.ts",
|
|
@@ -693,7 +702,7 @@
|
|
|
693
702
|
"@aws-sdk/client-kendra": "^3.352.0",
|
|
694
703
|
"@aws-sdk/client-lambda": "^3.310.0",
|
|
695
704
|
"@aws-sdk/client-s3": "^3.310.0",
|
|
696
|
-
"@aws-sdk/client-sagemaker-runtime": "^3.
|
|
705
|
+
"@aws-sdk/client-sagemaker-runtime": "^3.414.0",
|
|
697
706
|
"@aws-sdk/client-sfn": "^3.362.0",
|
|
698
707
|
"@aws-sdk/credential-provider-node": "^3.388.0",
|
|
699
708
|
"@aws-sdk/types": "^3.357.0",
|
|
@@ -736,6 +745,7 @@
|
|
|
736
745
|
"@types/html-to-text": "^9",
|
|
737
746
|
"@types/js-yaml": "^4",
|
|
738
747
|
"@types/jsdom": "^21.1.1",
|
|
748
|
+
"@types/lodash": "^4",
|
|
739
749
|
"@types/mozilla-readability": "^0.2.1",
|
|
740
750
|
"@types/object-hash": "^3.0.2",
|
|
741
751
|
"@types/pdf-parse": "^1.1.1",
|
|
@@ -752,6 +762,7 @@
|
|
|
752
762
|
"@zilliz/milvus2-sdk-node": ">=2.2.11",
|
|
753
763
|
"apify-client": "^2.7.1",
|
|
754
764
|
"axios": "^0.26.0",
|
|
765
|
+
"cassandra-driver": "^4.6.4",
|
|
755
766
|
"cheerio": "^1.0.0-rc.12",
|
|
756
767
|
"chromadb": "^1.5.3",
|
|
757
768
|
"cohere-ai": ">=6.0.0",
|
|
@@ -779,6 +790,7 @@
|
|
|
779
790
|
"jest-environment-node": "^29.6.4",
|
|
780
791
|
"jsdom": "^22.1.0",
|
|
781
792
|
"llmonitor": "^0.5.4",
|
|
793
|
+
"lodash": "^4.17.21",
|
|
782
794
|
"mammoth": "^1.5.1",
|
|
783
795
|
"ml-matrix": "^6.10.4",
|
|
784
796
|
"mongodb": "^5.2.0",
|
|
@@ -792,6 +804,7 @@
|
|
|
792
804
|
"pg-copy-streams": "^6.0.5",
|
|
793
805
|
"pickleparser": "^0.1.0",
|
|
794
806
|
"playwright": "^1.32.1",
|
|
807
|
+
"portkey-ai": "^0.1.11",
|
|
795
808
|
"prettier": "^2.8.3",
|
|
796
809
|
"puppeteer": "^19.7.2",
|
|
797
810
|
"redis": "^4.6.6",
|
|
@@ -858,6 +871,7 @@
|
|
|
858
871
|
"@zilliz/milvus2-sdk-node": ">=2.2.7",
|
|
859
872
|
"apify-client": "^2.7.1",
|
|
860
873
|
"axios": "*",
|
|
874
|
+
"cassandra-driver": "^4.6.4",
|
|
861
875
|
"cheerio": "^1.0.0-rc.12",
|
|
862
876
|
"chromadb": "*",
|
|
863
877
|
"cohere-ai": ">=6.0.0",
|
|
@@ -874,6 +888,7 @@
|
|
|
874
888
|
"ioredis": "^5.3.2",
|
|
875
889
|
"jsdom": "*",
|
|
876
890
|
"llmonitor": "*",
|
|
891
|
+
"lodash": "^4.17.21",
|
|
877
892
|
"mammoth": "*",
|
|
878
893
|
"mongodb": "^5.2.0",
|
|
879
894
|
"mysql2": "^3.3.3",
|
|
@@ -886,6 +901,7 @@
|
|
|
886
901
|
"pg-copy-streams": "^6.0.5",
|
|
887
902
|
"pickleparser": "^0.1.0",
|
|
888
903
|
"playwright": "^1.32.1",
|
|
904
|
+
"portkey-ai": "^0.1.11",
|
|
889
905
|
"puppeteer": "^19.7.2",
|
|
890
906
|
"redis": "^4.6.4",
|
|
891
907
|
"replicate": "^0.18.0",
|
|
@@ -1031,6 +1047,9 @@
|
|
|
1031
1047
|
"axios": {
|
|
1032
1048
|
"optional": true
|
|
1033
1049
|
},
|
|
1050
|
+
"cassandra-driver": {
|
|
1051
|
+
"optional": true
|
|
1052
|
+
},
|
|
1034
1053
|
"cheerio": {
|
|
1035
1054
|
"optional": true
|
|
1036
1055
|
},
|
|
@@ -1079,6 +1098,9 @@
|
|
|
1079
1098
|
"llmonitor": {
|
|
1080
1099
|
"optional": true
|
|
1081
1100
|
},
|
|
1101
|
+
"lodash": {
|
|
1102
|
+
"optional": true
|
|
1103
|
+
},
|
|
1082
1104
|
"mammoth": {
|
|
1083
1105
|
"optional": true
|
|
1084
1106
|
},
|
|
@@ -1115,6 +1137,9 @@
|
|
|
1115
1137
|
"playwright": {
|
|
1116
1138
|
"optional": true
|
|
1117
1139
|
},
|
|
1140
|
+
"portkey-ai": {
|
|
1141
|
+
"optional": true
|
|
1142
|
+
},
|
|
1118
1143
|
"puppeteer": {
|
|
1119
1144
|
"optional": true
|
|
1120
1145
|
},
|
|
@@ -1470,6 +1495,11 @@
|
|
|
1470
1495
|
"import": "./llms/writer.js",
|
|
1471
1496
|
"require": "./llms/writer.cjs"
|
|
1472
1497
|
},
|
|
1498
|
+
"./llms/portkey": {
|
|
1499
|
+
"types": "./llms/portkey.d.ts",
|
|
1500
|
+
"import": "./llms/portkey.js",
|
|
1501
|
+
"require": "./llms/portkey.cjs"
|
|
1502
|
+
},
|
|
1473
1503
|
"./prompts": {
|
|
1474
1504
|
"types": "./prompts.d.ts",
|
|
1475
1505
|
"import": "./prompts.js",
|
|
@@ -1490,6 +1520,11 @@
|
|
|
1490
1520
|
"import": "./vectorstores/base.js",
|
|
1491
1521
|
"require": "./vectorstores/base.cjs"
|
|
1492
1522
|
},
|
|
1523
|
+
"./vectorstores/cassandra": {
|
|
1524
|
+
"types": "./vectorstores/cassandra.d.ts",
|
|
1525
|
+
"import": "./vectorstores/cassandra.js",
|
|
1526
|
+
"require": "./vectorstores/cassandra.cjs"
|
|
1527
|
+
},
|
|
1493
1528
|
"./vectorstores/elasticsearch": {
|
|
1494
1529
|
"types": "./vectorstores/elasticsearch.d.ts",
|
|
1495
1530
|
"import": "./vectorstores/elasticsearch.js",
|
|
@@ -1870,6 +1905,11 @@
|
|
|
1870
1905
|
"import": "./chat_models/openai.js",
|
|
1871
1906
|
"require": "./chat_models/openai.cjs"
|
|
1872
1907
|
},
|
|
1908
|
+
"./chat_models/portkey": {
|
|
1909
|
+
"types": "./chat_models/portkey.d.ts",
|
|
1910
|
+
"import": "./chat_models/portkey.js",
|
|
1911
|
+
"require": "./chat_models/portkey.cjs"
|
|
1912
|
+
},
|
|
1873
1913
|
"./chat_models/anthropic": {
|
|
1874
1914
|
"types": "./chat_models/anthropic.d.ts",
|
|
1875
1915
|
"import": "./chat_models/anthropic.js",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/vectorstores/cassandra.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/vectorstores/cassandra.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/vectorstores/cassandra.js'
|