@chainfuse/types 2.8.0 → 2.9.0
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.
|
@@ -122,6 +122,7 @@ export declare const workersAiCatalog: {
|
|
|
122
122
|
readonly price: 0.03;
|
|
123
123
|
readonly currency: "USD";
|
|
124
124
|
}];
|
|
125
|
+
readonly lora: true;
|
|
125
126
|
};
|
|
126
127
|
}, {
|
|
127
128
|
readonly id: "ca54bcd6-0d98-4739-9b3b-5c8b4402193d";
|
|
@@ -224,6 +225,7 @@ export declare const workersAiCatalog: {
|
|
|
224
225
|
readonly created_at: "2025-01-22 19:48:55.776";
|
|
225
226
|
readonly tags: readonly [];
|
|
226
227
|
readonly properties: {
|
|
228
|
+
readonly context_window: 80000;
|
|
227
229
|
readonly price: readonly [{
|
|
228
230
|
readonly unit: "per M input tokens";
|
|
229
231
|
readonly price: 0.5;
|
|
@@ -233,6 +235,7 @@ export declare const workersAiCatalog: {
|
|
|
233
235
|
readonly price: 4.88;
|
|
234
236
|
readonly currency: "USD";
|
|
235
237
|
}];
|
|
238
|
+
readonly lora: true;
|
|
236
239
|
readonly terms: "https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE";
|
|
237
240
|
};
|
|
238
241
|
}, {
|
|
@@ -365,6 +368,7 @@ export declare const workersAiCatalog: {
|
|
|
365
368
|
readonly created_at: "2024-12-06 17:09:18.338";
|
|
366
369
|
readonly tags: readonly [];
|
|
367
370
|
readonly properties: {
|
|
371
|
+
readonly context_window: 24000;
|
|
368
372
|
readonly price: readonly [{
|
|
369
373
|
readonly unit: "per M input tokens";
|
|
370
374
|
readonly price: 0.29;
|
|
@@ -374,7 +378,6 @@ export declare const workersAiCatalog: {
|
|
|
374
378
|
readonly price: 2.25;
|
|
375
379
|
readonly currency: "USD";
|
|
376
380
|
}];
|
|
377
|
-
readonly context_window: 24000;
|
|
378
381
|
readonly function_calling: true;
|
|
379
382
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_3/LICENSE";
|
|
380
383
|
};
|
|
@@ -553,6 +556,7 @@ export declare const workersAiCatalog: {
|
|
|
553
556
|
readonly price: 0.68;
|
|
554
557
|
readonly currency: "USD";
|
|
555
558
|
}];
|
|
559
|
+
readonly lora: true;
|
|
556
560
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE";
|
|
557
561
|
};
|
|
558
562
|
}, {
|
|
@@ -636,6 +640,7 @@ export declare const workersAiCatalog: {
|
|
|
636
640
|
readonly created_at: "2025-04-05 20:25:56.137";
|
|
637
641
|
readonly tags: readonly [];
|
|
638
642
|
readonly properties: {
|
|
643
|
+
readonly context_window: 131000;
|
|
639
644
|
readonly price: readonly [{
|
|
640
645
|
readonly unit: "per M input tokens";
|
|
641
646
|
readonly price: 0;
|
|
@@ -713,7 +718,7 @@ export declare const workersAiCatalog: {
|
|
|
713
718
|
readonly price: 0.2;
|
|
714
719
|
readonly currency: "USD";
|
|
715
720
|
}];
|
|
716
|
-
readonly info: "https://huggingface.co/BAAI/bge-
|
|
721
|
+
readonly info: "https://huggingface.co/BAAI/bge-large-en-v1.5";
|
|
717
722
|
readonly max_input_tokens: 512;
|
|
718
723
|
readonly output_dimensions: 1024;
|
|
719
724
|
};
|
|
@@ -744,7 +749,13 @@ export declare const workersAiCatalog: {
|
|
|
744
749
|
readonly description: "Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.\n\n";
|
|
745
750
|
readonly created_at: "2025-02-14 12:28:19.009";
|
|
746
751
|
readonly tags: readonly [];
|
|
747
|
-
readonly properties: {
|
|
752
|
+
readonly properties: {
|
|
753
|
+
readonly price: readonly [{
|
|
754
|
+
readonly unit: "per M input tokens";
|
|
755
|
+
readonly price: 0.0031;
|
|
756
|
+
readonly currency: "USD";
|
|
757
|
+
}];
|
|
758
|
+
};
|
|
748
759
|
}];
|
|
749
760
|
};
|
|
750
761
|
readonly 'Object Detection': {
|
|
@@ -759,6 +770,11 @@ export declare const workersAiCatalog: {
|
|
|
759
770
|
readonly tags: readonly [];
|
|
760
771
|
readonly properties: {
|
|
761
772
|
readonly beta: true;
|
|
773
|
+
readonly price: readonly [{
|
|
774
|
+
readonly unit: "per inference request";
|
|
775
|
+
readonly price: 0.0000075;
|
|
776
|
+
readonly currency: "USD";
|
|
777
|
+
}];
|
|
762
778
|
};
|
|
763
779
|
}];
|
|
764
780
|
};
|
|
@@ -772,7 +788,13 @@ export declare const workersAiCatalog: {
|
|
|
772
788
|
readonly description: "MeloTTS is a high-quality multi-lingual text-to-speech library by MyShell.ai.";
|
|
773
789
|
readonly created_at: "2024-07-19 15:51:04.819";
|
|
774
790
|
readonly tags: readonly [];
|
|
775
|
-
readonly properties: {
|
|
791
|
+
readonly properties: {
|
|
792
|
+
readonly price: readonly [{
|
|
793
|
+
readonly unit: "per audio minute";
|
|
794
|
+
readonly price: 0.0002;
|
|
795
|
+
readonly currency: "USD";
|
|
796
|
+
}];
|
|
797
|
+
};
|
|
776
798
|
}];
|
|
777
799
|
};
|
|
778
800
|
readonly 'Automatic Speech Recognition': {
|
|
@@ -857,6 +879,11 @@ export declare const workersAiCatalog: {
|
|
|
857
879
|
readonly tags: readonly [];
|
|
858
880
|
readonly properties: {
|
|
859
881
|
readonly beta: true;
|
|
882
|
+
readonly price: readonly [{
|
|
883
|
+
readonly unit: "per step";
|
|
884
|
+
readonly price: 0;
|
|
885
|
+
readonly currency: "USD";
|
|
886
|
+
}];
|
|
860
887
|
readonly info: "https://huggingface.co/runwayml/stable-diffusion-inpainting";
|
|
861
888
|
readonly terms: "https://github.com/runwayml/stable-diffusion/blob/main/LICENSE";
|
|
862
889
|
};
|
|
@@ -887,6 +914,11 @@ export declare const workersAiCatalog: {
|
|
|
887
914
|
readonly tags: readonly [];
|
|
888
915
|
readonly properties: {
|
|
889
916
|
readonly beta: true;
|
|
917
|
+
readonly price: readonly [{
|
|
918
|
+
readonly unit: "per step";
|
|
919
|
+
readonly price: 0;
|
|
920
|
+
readonly currency: "USD";
|
|
921
|
+
}];
|
|
890
922
|
readonly info: "https://huggingface.co/ByteDance/SDXL-Lightning";
|
|
891
923
|
};
|
|
892
924
|
}, {
|
|
@@ -909,6 +941,11 @@ export declare const workersAiCatalog: {
|
|
|
909
941
|
readonly tags: readonly [];
|
|
910
942
|
readonly properties: {
|
|
911
943
|
readonly beta: true;
|
|
944
|
+
readonly price: readonly [{
|
|
945
|
+
readonly unit: "per step";
|
|
946
|
+
readonly price: 0;
|
|
947
|
+
readonly currency: "USD";
|
|
948
|
+
}];
|
|
912
949
|
readonly info: "https://stability.ai/stable-diffusion";
|
|
913
950
|
readonly terms: "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md";
|
|
914
951
|
};
|
|
@@ -921,6 +958,11 @@ export declare const workersAiCatalog: {
|
|
|
921
958
|
readonly tags: readonly [];
|
|
922
959
|
readonly properties: {
|
|
923
960
|
readonly beta: true;
|
|
961
|
+
readonly price: readonly [{
|
|
962
|
+
readonly unit: "per step";
|
|
963
|
+
readonly price: 0;
|
|
964
|
+
readonly currency: "USD";
|
|
965
|
+
}];
|
|
924
966
|
readonly info: "https://huggingface.co/runwayml/stable-diffusion-v1-5";
|
|
925
967
|
readonly terms: "https://github.com/runwayml/stable-diffusion/blob/main/LICENSE";
|
|
926
968
|
};
|
|
@@ -984,6 +1026,11 @@ export declare const workersAiCatalog: {
|
|
|
984
1026
|
readonly tags: readonly [];
|
|
985
1027
|
readonly properties: {
|
|
986
1028
|
readonly beta: true;
|
|
1029
|
+
readonly price: readonly [{
|
|
1030
|
+
readonly unit: "per M input tokens";
|
|
1031
|
+
readonly price: 0;
|
|
1032
|
+
readonly currency: "USD";
|
|
1033
|
+
}];
|
|
987
1034
|
};
|
|
988
1035
|
}];
|
|
989
1036
|
};
|
|
@@ -139,6 +139,7 @@ export const workersAiCatalog = {
|
|
|
139
139
|
currency: 'USD',
|
|
140
140
|
},
|
|
141
141
|
],
|
|
142
|
+
lora: true,
|
|
142
143
|
},
|
|
143
144
|
},
|
|
144
145
|
{
|
|
@@ -254,6 +255,7 @@ export const workersAiCatalog = {
|
|
|
254
255
|
created_at: '2025-01-22 19:48:55.776',
|
|
255
256
|
tags: [],
|
|
256
257
|
properties: {
|
|
258
|
+
context_window: 80000,
|
|
257
259
|
price: [
|
|
258
260
|
{
|
|
259
261
|
unit: 'per M input tokens',
|
|
@@ -266,6 +268,7 @@ export const workersAiCatalog = {
|
|
|
266
268
|
currency: 'USD',
|
|
267
269
|
},
|
|
268
270
|
],
|
|
271
|
+
lora: true,
|
|
269
272
|
terms: 'https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE',
|
|
270
273
|
},
|
|
271
274
|
},
|
|
@@ -414,6 +417,7 @@ export const workersAiCatalog = {
|
|
|
414
417
|
created_at: '2024-12-06 17:09:18.338',
|
|
415
418
|
tags: [],
|
|
416
419
|
properties: {
|
|
420
|
+
context_window: 24000,
|
|
417
421
|
price: [
|
|
418
422
|
{
|
|
419
423
|
unit: 'per M input tokens',
|
|
@@ -426,7 +430,6 @@ export const workersAiCatalog = {
|
|
|
426
430
|
currency: 'USD',
|
|
427
431
|
},
|
|
428
432
|
],
|
|
429
|
-
context_window: 24000,
|
|
430
433
|
function_calling: true,
|
|
431
434
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama3_3/LICENSE',
|
|
432
435
|
},
|
|
@@ -629,6 +632,7 @@ export const workersAiCatalog = {
|
|
|
629
632
|
currency: 'USD',
|
|
630
633
|
},
|
|
631
634
|
],
|
|
635
|
+
lora: true,
|
|
632
636
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE',
|
|
633
637
|
},
|
|
634
638
|
},
|
|
@@ -719,6 +723,7 @@ export const workersAiCatalog = {
|
|
|
719
723
|
created_at: '2025-04-05 20:25:56.137',
|
|
720
724
|
tags: [],
|
|
721
725
|
properties: {
|
|
726
|
+
context_window: 131000,
|
|
722
727
|
price: [
|
|
723
728
|
{
|
|
724
729
|
unit: 'per M input tokens',
|
|
@@ -812,7 +817,7 @@ export const workersAiCatalog = {
|
|
|
812
817
|
currency: 'USD',
|
|
813
818
|
},
|
|
814
819
|
],
|
|
815
|
-
info: 'https://huggingface.co/BAAI/bge-
|
|
820
|
+
info: 'https://huggingface.co/BAAI/bge-large-en-v1.5',
|
|
816
821
|
max_input_tokens: 512,
|
|
817
822
|
output_dimensions: 1024,
|
|
818
823
|
},
|
|
@@ -848,7 +853,15 @@ export const workersAiCatalog = {
|
|
|
848
853
|
description: 'Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.\n\n',
|
|
849
854
|
created_at: '2025-02-14 12:28:19.009',
|
|
850
855
|
tags: [],
|
|
851
|
-
properties: {
|
|
856
|
+
properties: {
|
|
857
|
+
price: [
|
|
858
|
+
{
|
|
859
|
+
unit: 'per M input tokens',
|
|
860
|
+
price: 0.0031,
|
|
861
|
+
currency: 'USD',
|
|
862
|
+
},
|
|
863
|
+
],
|
|
864
|
+
},
|
|
852
865
|
},
|
|
853
866
|
],
|
|
854
867
|
},
|
|
@@ -865,6 +878,13 @@ export const workersAiCatalog = {
|
|
|
865
878
|
tags: [],
|
|
866
879
|
properties: {
|
|
867
880
|
beta: true,
|
|
881
|
+
price: [
|
|
882
|
+
{
|
|
883
|
+
unit: 'per inference request',
|
|
884
|
+
price: 0.0000075,
|
|
885
|
+
currency: 'USD',
|
|
886
|
+
},
|
|
887
|
+
],
|
|
868
888
|
},
|
|
869
889
|
},
|
|
870
890
|
],
|
|
@@ -880,7 +900,15 @@ export const workersAiCatalog = {
|
|
|
880
900
|
description: 'MeloTTS is a high-quality multi-lingual text-to-speech library by MyShell.ai.',
|
|
881
901
|
created_at: '2024-07-19 15:51:04.819',
|
|
882
902
|
tags: [],
|
|
883
|
-
properties: {
|
|
903
|
+
properties: {
|
|
904
|
+
price: [
|
|
905
|
+
{
|
|
906
|
+
unit: 'per audio minute',
|
|
907
|
+
price: 0.0002,
|
|
908
|
+
currency: 'USD',
|
|
909
|
+
},
|
|
910
|
+
],
|
|
911
|
+
},
|
|
884
912
|
},
|
|
885
913
|
],
|
|
886
914
|
},
|
|
@@ -978,6 +1006,13 @@ export const workersAiCatalog = {
|
|
|
978
1006
|
tags: [],
|
|
979
1007
|
properties: {
|
|
980
1008
|
beta: true,
|
|
1009
|
+
price: [
|
|
1010
|
+
{
|
|
1011
|
+
unit: 'per step',
|
|
1012
|
+
price: 0,
|
|
1013
|
+
currency: 'USD',
|
|
1014
|
+
},
|
|
1015
|
+
],
|
|
981
1016
|
info: 'https://huggingface.co/runwayml/stable-diffusion-inpainting',
|
|
982
1017
|
terms: 'https://github.com/runwayml/stable-diffusion/blob/main/LICENSE',
|
|
983
1018
|
},
|
|
@@ -1013,6 +1048,13 @@ export const workersAiCatalog = {
|
|
|
1013
1048
|
tags: [],
|
|
1014
1049
|
properties: {
|
|
1015
1050
|
beta: true,
|
|
1051
|
+
price: [
|
|
1052
|
+
{
|
|
1053
|
+
unit: 'per step',
|
|
1054
|
+
price: 0,
|
|
1055
|
+
currency: 'USD',
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1016
1058
|
info: 'https://huggingface.co/ByteDance/SDXL-Lightning',
|
|
1017
1059
|
},
|
|
1018
1060
|
},
|
|
@@ -1037,6 +1079,13 @@ export const workersAiCatalog = {
|
|
|
1037
1079
|
tags: [],
|
|
1038
1080
|
properties: {
|
|
1039
1081
|
beta: true,
|
|
1082
|
+
price: [
|
|
1083
|
+
{
|
|
1084
|
+
unit: 'per step',
|
|
1085
|
+
price: 0,
|
|
1086
|
+
currency: 'USD',
|
|
1087
|
+
},
|
|
1088
|
+
],
|
|
1040
1089
|
info: 'https://stability.ai/stable-diffusion',
|
|
1041
1090
|
terms: 'https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md',
|
|
1042
1091
|
},
|
|
@@ -1050,6 +1099,13 @@ export const workersAiCatalog = {
|
|
|
1050
1099
|
tags: [],
|
|
1051
1100
|
properties: {
|
|
1052
1101
|
beta: true,
|
|
1102
|
+
price: [
|
|
1103
|
+
{
|
|
1104
|
+
unit: 'per step',
|
|
1105
|
+
price: 0,
|
|
1106
|
+
currency: 'USD',
|
|
1107
|
+
},
|
|
1108
|
+
],
|
|
1053
1109
|
info: 'https://huggingface.co/runwayml/stable-diffusion-v1-5',
|
|
1054
1110
|
terms: 'https://github.com/runwayml/stable-diffusion/blob/main/LICENSE',
|
|
1055
1111
|
},
|
|
@@ -1124,6 +1180,13 @@ export const workersAiCatalog = {
|
|
|
1124
1180
|
tags: [],
|
|
1125
1181
|
properties: {
|
|
1126
1182
|
beta: true,
|
|
1183
|
+
price: [
|
|
1184
|
+
{
|
|
1185
|
+
unit: 'per M input tokens',
|
|
1186
|
+
price: 0,
|
|
1187
|
+
currency: 'USD',
|
|
1188
|
+
},
|
|
1189
|
+
],
|
|
1127
1190
|
},
|
|
1128
1191
|
},
|
|
1129
1192
|
],
|
package/dist/index.d.ts
CHANGED
|
@@ -55,9 +55,14 @@ export type CustomLoging = boolean | CustomLogCallback;
|
|
|
55
55
|
/**
|
|
56
56
|
* @link https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction
|
|
57
57
|
*/
|
|
58
|
-
export declare enum
|
|
58
|
+
export declare enum DOJurisdictions {
|
|
59
59
|
'The European Union' = "eu",
|
|
60
|
-
'FedRAMP-compliant data centers' = "fedramp"
|
|
60
|
+
'FedRAMP-compliant data centers' = "fedramp"
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @link https://developers.cloudflare.com/durable-objects/reference/data-location/#provide-a-location-hint
|
|
64
|
+
*/
|
|
65
|
+
export declare enum DOLocations {
|
|
61
66
|
'Western North America' = "wnam",
|
|
62
67
|
'Eastern North America' = "enam",
|
|
63
68
|
'South America' = "sam",
|
package/dist/index.js
CHANGED
|
@@ -5,10 +5,16 @@ export * from './discourse/index.js';
|
|
|
5
5
|
/**
|
|
6
6
|
* @link https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction
|
|
7
7
|
*/
|
|
8
|
+
export var DOJurisdictions;
|
|
9
|
+
(function (DOJurisdictions) {
|
|
10
|
+
DOJurisdictions["The European Union"] = "eu";
|
|
11
|
+
DOJurisdictions["FedRAMP-compliant data centers"] = "fedramp";
|
|
12
|
+
})(DOJurisdictions || (DOJurisdictions = {}));
|
|
13
|
+
/**
|
|
14
|
+
* @link https://developers.cloudflare.com/durable-objects/reference/data-location/#provide-a-location-hint
|
|
15
|
+
*/
|
|
8
16
|
export var DOLocations;
|
|
9
17
|
(function (DOLocations) {
|
|
10
|
-
DOLocations["The European Union"] = "eu";
|
|
11
|
-
DOLocations["FedRAMP-compliant data centers"] = "fedramp";
|
|
12
18
|
DOLocations["Western North America"] = "wnam";
|
|
13
19
|
DOLocations["Eastern North America"] = "enam";
|
|
14
20
|
DOLocations["South America"] = "sam";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"@cloudflare/workers-types": "^4.20250409.0",
|
|
98
98
|
"@types/validator": "^13.12.3"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "cf5c05bde60fd803afc1dc3031d655f643b503c6"
|
|
101
101
|
}
|