@chainfuse/types 2.11.8 → 2.12.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.
- package/dist/ai-tools/azure/catalog.d.ts +17 -17
- package/dist/ai-tools/azure/catalog.js +17 -17
- package/dist/ai-tools/index.d.ts +3 -1
- package/dist/ai-tools/workers-ai/catalog.d.ts +37 -0
- package/dist/ai-tools/workers-ai/catalog.js +39 -0
- package/dist/d0/index.d.ts +4 -0
- package/dist/d0/index.js +5 -1
- package/dist/d1/index.d.ts +16 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +15 -0
- package/package.json +3 -3
|
@@ -50,10 +50,10 @@ export declare const azureCatalog: readonly [{
|
|
|
50
50
|
}];
|
|
51
51
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
52
52
|
readonly name: "text-embedding-3-large";
|
|
53
|
-
readonly tokenCost: 1.
|
|
53
|
+
readonly tokenCost: 1.43e-7;
|
|
54
54
|
}, {
|
|
55
55
|
readonly name: "text-embedding-3-small";
|
|
56
|
-
readonly tokenCost: 2e-8;
|
|
56
|
+
readonly tokenCost: 2.2e-8;
|
|
57
57
|
}];
|
|
58
58
|
}, {
|
|
59
59
|
readonly id: "OpenAi-BR-SaoPauloState";
|
|
@@ -114,10 +114,10 @@ export declare const azureCatalog: readonly [{
|
|
|
114
114
|
readonly imageModelAvailability: readonly [];
|
|
115
115
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
116
116
|
readonly name: "text-embedding-3-large";
|
|
117
|
-
readonly tokenCost: 1.
|
|
117
|
+
readonly tokenCost: 1.58e-7;
|
|
118
118
|
}, {
|
|
119
119
|
readonly name: "text-embedding-3-small";
|
|
120
|
-
readonly tokenCost:
|
|
120
|
+
readonly tokenCost: 2.5e-8;
|
|
121
121
|
}];
|
|
122
122
|
}, {
|
|
123
123
|
readonly id: "OpenAI-CA-Toronto";
|
|
@@ -168,10 +168,10 @@ export declare const azureCatalog: readonly [{
|
|
|
168
168
|
readonly imageModelAvailability: readonly [];
|
|
169
169
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
170
170
|
readonly name: "text-embedding-3-large";
|
|
171
|
-
readonly tokenCost: 1.
|
|
171
|
+
readonly tokenCost: 1.58e-7;
|
|
172
172
|
}, {
|
|
173
173
|
readonly name: "text-embedding-3-small";
|
|
174
|
-
readonly tokenCost:
|
|
174
|
+
readonly tokenCost: 2.5e-8;
|
|
175
175
|
}];
|
|
176
176
|
}, {
|
|
177
177
|
readonly id: "OpenAi-EU-Frankfurt";
|
|
@@ -250,7 +250,7 @@ export declare const azureCatalog: readonly [{
|
|
|
250
250
|
}];
|
|
251
251
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
252
252
|
readonly name: "text-embedding-3-large";
|
|
253
|
-
readonly tokenCost: 1.
|
|
253
|
+
readonly tokenCost: 1.58e-7;
|
|
254
254
|
}, {
|
|
255
255
|
readonly name: "text-embedding-3-small";
|
|
256
256
|
readonly tokenCost: 2e-8;
|
|
@@ -386,7 +386,7 @@ export declare const azureCatalog: readonly [{
|
|
|
386
386
|
readonly imageModelAvailability: readonly [];
|
|
387
387
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
388
388
|
readonly name: "text-embedding-3-large";
|
|
389
|
-
readonly tokenCost: 1.
|
|
389
|
+
readonly tokenCost: 1.58e-7;
|
|
390
390
|
}, {
|
|
391
391
|
readonly name: "text-embedding-3-small";
|
|
392
392
|
readonly tokenCost: 2e-8;
|
|
@@ -484,10 +484,10 @@ export declare const azureCatalog: readonly [{
|
|
|
484
484
|
readonly imageModelAvailability: readonly [];
|
|
485
485
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
486
486
|
readonly name: "text-embedding-3-large";
|
|
487
|
-
readonly tokenCost: 1.
|
|
487
|
+
readonly tokenCost: 1.58e-7;
|
|
488
488
|
}, {
|
|
489
489
|
readonly name: "text-embedding-3-small";
|
|
490
|
-
readonly tokenCost:
|
|
490
|
+
readonly tokenCost: 2.5e-8;
|
|
491
491
|
}];
|
|
492
492
|
}, {
|
|
493
493
|
readonly id: "OpenAi-KR-Seoul";
|
|
@@ -548,7 +548,7 @@ export declare const azureCatalog: readonly [{
|
|
|
548
548
|
readonly imageModelAvailability: readonly [];
|
|
549
549
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
550
550
|
readonly name: "text-embedding-3-large";
|
|
551
|
-
readonly tokenCost: 1.
|
|
551
|
+
readonly tokenCost: 1.58e-7;
|
|
552
552
|
}, {
|
|
553
553
|
readonly name: "text-embedding-3-small";
|
|
554
554
|
readonly tokenCost: 2e-8;
|
|
@@ -599,7 +599,7 @@ export declare const azureCatalog: readonly [{
|
|
|
599
599
|
readonly imageModelAvailability: readonly [];
|
|
600
600
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
601
601
|
readonly name: "text-embedding-3-large";
|
|
602
|
-
readonly tokenCost: 1.
|
|
602
|
+
readonly tokenCost: 1.58e-7;
|
|
603
603
|
}, {
|
|
604
604
|
readonly name: "text-embedding-3-small";
|
|
605
605
|
readonly tokenCost: 2e-8;
|
|
@@ -642,7 +642,7 @@ export declare const azureCatalog: readonly [{
|
|
|
642
642
|
readonly name: "text-embedding-3-large";
|
|
643
643
|
}, {
|
|
644
644
|
readonly name: "text-embedding-3-small";
|
|
645
|
-
readonly tokenCost: 2e-8;
|
|
645
|
+
readonly tokenCost: 2.2e-8;
|
|
646
646
|
}];
|
|
647
647
|
}, {
|
|
648
648
|
readonly id: "OpenAi-US-Illinois";
|
|
@@ -803,10 +803,10 @@ export declare const azureCatalog: readonly [{
|
|
|
803
803
|
}];
|
|
804
804
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
805
805
|
readonly name: "text-embedding-3-large";
|
|
806
|
-
readonly tokenCost: 1.
|
|
806
|
+
readonly tokenCost: 1.43e-7;
|
|
807
807
|
}, {
|
|
808
808
|
readonly name: "text-embedding-3-small";
|
|
809
|
-
readonly tokenCost: 2e-8;
|
|
809
|
+
readonly tokenCost: 2.2e-8;
|
|
810
810
|
}];
|
|
811
811
|
}, {
|
|
812
812
|
readonly id: "OpenAi-US-Virginia2";
|
|
@@ -844,10 +844,10 @@ export declare const azureCatalog: readonly [{
|
|
|
844
844
|
readonly imageModelAvailability: readonly [];
|
|
845
845
|
readonly textEmbeddingModelAvailability: readonly [{
|
|
846
846
|
readonly name: "text-embedding-3-large";
|
|
847
|
-
readonly tokenCost: 1.
|
|
847
|
+
readonly tokenCost: 1.43e-7;
|
|
848
848
|
}, {
|
|
849
849
|
readonly name: "text-embedding-3-small";
|
|
850
|
-
readonly tokenCost: 2e-8;
|
|
850
|
+
readonly tokenCost: 2.2e-8;
|
|
851
851
|
}];
|
|
852
852
|
}, {
|
|
853
853
|
readonly id: "OpenAi-ZA-Johannesburg";
|
|
@@ -67,11 +67,11 @@ export const azureCatalog = [
|
|
|
67
67
|
textEmbeddingModelAvailability: [
|
|
68
68
|
{
|
|
69
69
|
name: 'text-embedding-3-large',
|
|
70
|
-
tokenCost: 1.
|
|
70
|
+
tokenCost: 1.43e-7,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
name: 'text-embedding-3-small',
|
|
74
|
-
tokenCost: 2e-8,
|
|
74
|
+
tokenCost: 2.2e-8,
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
77
|
},
|
|
@@ -150,11 +150,11 @@ export const azureCatalog = [
|
|
|
150
150
|
textEmbeddingModelAvailability: [
|
|
151
151
|
{
|
|
152
152
|
name: 'text-embedding-3-large',
|
|
153
|
-
tokenCost: 1.
|
|
153
|
+
tokenCost: 1.58e-7,
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
name: 'text-embedding-3-small',
|
|
157
|
-
tokenCost:
|
|
157
|
+
tokenCost: 2.5e-8,
|
|
158
158
|
},
|
|
159
159
|
],
|
|
160
160
|
},
|
|
@@ -216,11 +216,11 @@ export const azureCatalog = [
|
|
|
216
216
|
textEmbeddingModelAvailability: [
|
|
217
217
|
{
|
|
218
218
|
name: 'text-embedding-3-large',
|
|
219
|
-
tokenCost: 1.
|
|
219
|
+
tokenCost: 1.58e-7,
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
name: 'text-embedding-3-small',
|
|
223
|
-
tokenCost:
|
|
223
|
+
tokenCost: 2.5e-8,
|
|
224
224
|
},
|
|
225
225
|
],
|
|
226
226
|
},
|
|
@@ -326,7 +326,7 @@ export const azureCatalog = [
|
|
|
326
326
|
textEmbeddingModelAvailability: [
|
|
327
327
|
{
|
|
328
328
|
name: 'text-embedding-3-large',
|
|
329
|
-
tokenCost: 1.
|
|
329
|
+
tokenCost: 1.58e-7,
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
name: 'text-embedding-3-small',
|
|
@@ -509,7 +509,7 @@ export const azureCatalog = [
|
|
|
509
509
|
textEmbeddingModelAvailability: [
|
|
510
510
|
{
|
|
511
511
|
name: 'text-embedding-3-large',
|
|
512
|
-
tokenCost: 1.
|
|
512
|
+
tokenCost: 1.58e-7,
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
515
|
name: 'text-embedding-3-small',
|
|
@@ -638,11 +638,11 @@ export const azureCatalog = [
|
|
|
638
638
|
textEmbeddingModelAvailability: [
|
|
639
639
|
{
|
|
640
640
|
name: 'text-embedding-3-large',
|
|
641
|
-
tokenCost: 1.
|
|
641
|
+
tokenCost: 1.58e-7,
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
644
|
name: 'text-embedding-3-small',
|
|
645
|
-
tokenCost:
|
|
645
|
+
tokenCost: 2.5e-8,
|
|
646
646
|
},
|
|
647
647
|
],
|
|
648
648
|
},
|
|
@@ -721,7 +721,7 @@ export const azureCatalog = [
|
|
|
721
721
|
textEmbeddingModelAvailability: [
|
|
722
722
|
{
|
|
723
723
|
name: 'text-embedding-3-large',
|
|
724
|
-
tokenCost: 1.
|
|
724
|
+
tokenCost: 1.58e-7,
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
727
|
name: 'text-embedding-3-small',
|
|
@@ -788,7 +788,7 @@ export const azureCatalog = [
|
|
|
788
788
|
textEmbeddingModelAvailability: [
|
|
789
789
|
{
|
|
790
790
|
name: 'text-embedding-3-large',
|
|
791
|
-
tokenCost: 1.
|
|
791
|
+
tokenCost: 1.58e-7,
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
794
|
name: 'text-embedding-3-small',
|
|
@@ -846,7 +846,7 @@ export const azureCatalog = [
|
|
|
846
846
|
},
|
|
847
847
|
{
|
|
848
848
|
name: 'text-embedding-3-small',
|
|
849
|
-
tokenCost: 2e-8,
|
|
849
|
+
tokenCost: 2.2e-8,
|
|
850
850
|
},
|
|
851
851
|
],
|
|
852
852
|
},
|
|
@@ -1064,11 +1064,11 @@ export const azureCatalog = [
|
|
|
1064
1064
|
textEmbeddingModelAvailability: [
|
|
1065
1065
|
{
|
|
1066
1066
|
name: 'text-embedding-3-large',
|
|
1067
|
-
tokenCost: 1.
|
|
1067
|
+
tokenCost: 1.43e-7,
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
1070
|
name: 'text-embedding-3-small',
|
|
1071
|
-
tokenCost: 2e-8,
|
|
1071
|
+
tokenCost: 2.2e-8,
|
|
1072
1072
|
},
|
|
1073
1073
|
],
|
|
1074
1074
|
},
|
|
@@ -1119,11 +1119,11 @@ export const azureCatalog = [
|
|
|
1119
1119
|
textEmbeddingModelAvailability: [
|
|
1120
1120
|
{
|
|
1121
1121
|
name: 'text-embedding-3-large',
|
|
1122
|
-
tokenCost: 1.
|
|
1122
|
+
tokenCost: 1.43e-7,
|
|
1123
1123
|
},
|
|
1124
1124
|
{
|
|
1125
1125
|
name: 'text-embedding-3-small',
|
|
1126
|
-
tokenCost: 2e-8,
|
|
1126
|
+
tokenCost: 2.2e-8,
|
|
1127
1127
|
},
|
|
1128
1128
|
],
|
|
1129
1129
|
},
|
package/dist/ai-tools/index.d.ts
CHANGED
|
@@ -171,11 +171,13 @@ export declare const ZodImageModelValues: z4.ZodEnum<{
|
|
|
171
171
|
"openai:dall-e-3": AiModels.ImageModels.OpenAi.dalle3;
|
|
172
172
|
}>;
|
|
173
173
|
export type ImageModelValues = z4.infer<typeof ZodImageModelValues>;
|
|
174
|
-
export declare const ZodTextEmbeddingModelValues3: z3.ZodEnum<["workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi, ...("workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi)[]]>;
|
|
174
|
+
export declare const ZodTextEmbeddingModelValues3: z3.ZodEnum<["workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/omni-bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/google/embeddinggemma-300m" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi, ...("workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/omni-bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/google/embeddinggemma-300m" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi)[]]>;
|
|
175
175
|
export declare const ZodTextEmbeddingModelValues: z4.ZodEnum<{
|
|
176
176
|
"workersai:@cf/baai/bge-m3": "workersai:@cf/baai/bge-m3";
|
|
177
|
+
"workersai:@cf/baai/omni-bge-m3": "workersai:@cf/baai/omni-bge-m3";
|
|
177
178
|
"workersai:@cf/baai/bge-small-en-v1.5": "workersai:@cf/baai/bge-small-en-v1.5";
|
|
178
179
|
"workersai:@cf/baai/bge-base-en-v1.5": "workersai:@cf/baai/bge-base-en-v1.5";
|
|
180
|
+
"workersai:@cf/google/embeddinggemma-300m": "workersai:@cf/google/embeddinggemma-300m";
|
|
179
181
|
"workersai:@cf/baai/bge-large-en-v1.5": "workersai:@cf/baai/bge-large-en-v1.5";
|
|
180
182
|
"azure:text-embedding-3-large": AiModels.TextEmbeddingModels.Azure.te3_large;
|
|
181
183
|
"azure:text-embedding-3-small": AiModels.TextEmbeddingModels.Azure.te3_small;
|
|
@@ -55,6 +55,7 @@ export declare const workersAiCatalog: {
|
|
|
55
55
|
readonly beta: true;
|
|
56
56
|
readonly context_window: 32000;
|
|
57
57
|
readonly info: "https://huggingface.co/qwen/qwen1.5-0.5b-chat";
|
|
58
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
58
59
|
};
|
|
59
60
|
}, {
|
|
60
61
|
readonly id: "e8e8abe4-a372-4c13-815f-4688ba655c8e";
|
|
@@ -82,6 +83,7 @@ export declare const workersAiCatalog: {
|
|
|
82
83
|
readonly max_batch_prefill_tokens: 8192;
|
|
83
84
|
readonly max_input_length: 3072;
|
|
84
85
|
readonly max_total_tokens: 4096;
|
|
86
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
85
87
|
};
|
|
86
88
|
}, {
|
|
87
89
|
readonly id: "e11d8f45-7b08-499a-9eeb-71d4d3c8cbf9";
|
|
@@ -134,6 +136,7 @@ export declare const workersAiCatalog: {
|
|
|
134
136
|
readonly properties: {
|
|
135
137
|
readonly beta: true;
|
|
136
138
|
readonly context_window: 4096;
|
|
139
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
137
140
|
};
|
|
138
141
|
}, {
|
|
139
142
|
readonly id: "d2ba5c6b-bbb7-49d6-b466-900654870cd6";
|
|
@@ -145,6 +148,7 @@ export declare const workersAiCatalog: {
|
|
|
145
148
|
readonly properties: {
|
|
146
149
|
readonly beta: true;
|
|
147
150
|
readonly context_window: 4096;
|
|
151
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
148
152
|
};
|
|
149
153
|
}, {
|
|
150
154
|
readonly id: "cc80437b-9a8d-4f1a-9c77-9aaf0d226922";
|
|
@@ -230,6 +234,7 @@ export declare const workersAiCatalog: {
|
|
|
230
234
|
readonly beta: true;
|
|
231
235
|
readonly context_window: 2048;
|
|
232
236
|
readonly info: "https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0";
|
|
237
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
233
238
|
};
|
|
234
239
|
}, {
|
|
235
240
|
readonly id: "b97d7069-48d9-461c-80dd-445d20a632eb";
|
|
@@ -257,6 +262,7 @@ export declare const workersAiCatalog: {
|
|
|
257
262
|
readonly properties: {
|
|
258
263
|
readonly beta: true;
|
|
259
264
|
readonly context_window: 15000;
|
|
265
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
260
266
|
};
|
|
261
267
|
}, {
|
|
262
268
|
readonly id: "ad01ab83-baf8-4e7b-8fed-a0a219d4eb45";
|
|
@@ -289,6 +295,7 @@ export declare const workersAiCatalog: {
|
|
|
289
295
|
readonly beta: true;
|
|
290
296
|
readonly context_window: 4096;
|
|
291
297
|
readonly info: "https://huggingface.co/TheBloke/DiscoLM_German_7b_v1-AWQ";
|
|
298
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
292
299
|
};
|
|
293
300
|
}, {
|
|
294
301
|
readonly id: "9c95c39d-45b3-4163-9631-22f0c0dc3b14";
|
|
@@ -331,6 +338,7 @@ export declare const workersAiCatalog: {
|
|
|
331
338
|
readonly beta: true;
|
|
332
339
|
readonly context_window: 4096;
|
|
333
340
|
readonly info: "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-AWQ";
|
|
341
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
334
342
|
};
|
|
335
343
|
}, {
|
|
336
344
|
readonly id: "90a20ae7-7cf4-4eb3-8672-8fc4ee580635";
|
|
@@ -343,6 +351,7 @@ export declare const workersAiCatalog: {
|
|
|
343
351
|
readonly beta: true;
|
|
344
352
|
readonly context_window: 20000;
|
|
345
353
|
readonly info: "https://huggingface.co/qwen/qwen1.5-7b-chat-awq";
|
|
354
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
346
355
|
};
|
|
347
356
|
}, {
|
|
348
357
|
readonly id: "906a57fd-b018-4d6c-a43e-a296d4cc5839";
|
|
@@ -375,6 +384,7 @@ export declare const workersAiCatalog: {
|
|
|
375
384
|
readonly beta: true;
|
|
376
385
|
readonly context_window: 4096;
|
|
377
386
|
readonly info: "https://huggingface.co/TheBloke/Llama-2-13B-chat-AWQ";
|
|
387
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
378
388
|
};
|
|
379
389
|
}, {
|
|
380
390
|
readonly id: "7f180530-2e16-4116-9d26-f49fbed9d372";
|
|
@@ -386,6 +396,7 @@ export declare const workersAiCatalog: {
|
|
|
386
396
|
readonly properties: {
|
|
387
397
|
readonly beta: true;
|
|
388
398
|
readonly context_window: 4096;
|
|
399
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
389
400
|
readonly terms: "https://huggingface.co/TheBloke/deepseek-coder-6.7B-base-AWQ";
|
|
390
401
|
};
|
|
391
402
|
}, {
|
|
@@ -432,6 +443,7 @@ export declare const workersAiCatalog: {
|
|
|
432
443
|
readonly properties: {
|
|
433
444
|
readonly beta: true;
|
|
434
445
|
readonly context_window: 4096;
|
|
446
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
435
447
|
};
|
|
436
448
|
}, {
|
|
437
449
|
readonly id: "60474554-f03b-4ff4-8ecc-c1b7c71d7b29";
|
|
@@ -443,6 +455,7 @@ export declare const workersAiCatalog: {
|
|
|
443
455
|
readonly properties: {
|
|
444
456
|
readonly beta: true;
|
|
445
457
|
readonly context_window: 4096;
|
|
458
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
446
459
|
readonly terms: "https://huggingface.co/TheBloke/deepseek-coder-6.7B-instruct-AWQ";
|
|
447
460
|
};
|
|
448
461
|
}, {
|
|
@@ -476,6 +489,7 @@ export declare const workersAiCatalog: {
|
|
|
476
489
|
readonly beta: true;
|
|
477
490
|
readonly context_window: 4096;
|
|
478
491
|
readonly info: "https://huggingface.co/deepseek-ai/deepseek-math-7b-instruct";
|
|
492
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
479
493
|
readonly terms: "https://github.com/deepseek-ai/DeepSeek-Math/blob/main/LICENSE-MODEL";
|
|
480
494
|
};
|
|
481
495
|
}, {
|
|
@@ -489,6 +503,7 @@ export declare const workersAiCatalog: {
|
|
|
489
503
|
readonly beta: true;
|
|
490
504
|
readonly context_window: 4096;
|
|
491
505
|
readonly info: "https://huggingface.co/tiiuae/falcon-7b-instruct";
|
|
506
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
492
507
|
};
|
|
493
508
|
}, {
|
|
494
509
|
readonly id: "44774b85-08c8-4bb8-8d2a-b06ebc538a79";
|
|
@@ -534,6 +549,7 @@ export declare const workersAiCatalog: {
|
|
|
534
549
|
readonly beta: true;
|
|
535
550
|
readonly context_window: 4096;
|
|
536
551
|
readonly info: "https://huggingface.co/TheBloke/zephyr-7B-beta-AWQ";
|
|
552
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
537
553
|
};
|
|
538
554
|
}, {
|
|
539
555
|
readonly id: "337170b7-bd2f-4631-9a57-688b579cf6d3";
|
|
@@ -558,6 +574,7 @@ export declare const workersAiCatalog: {
|
|
|
558
574
|
readonly beta: true;
|
|
559
575
|
readonly context_window: 32000;
|
|
560
576
|
readonly info: "https://huggingface.co/qwen/qwen1.5-1.8b-chat";
|
|
577
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
561
578
|
};
|
|
562
579
|
}, {
|
|
563
580
|
readonly id: "31690291-ebdc-4f98-bcfc-a44844e215b7";
|
|
@@ -701,6 +718,7 @@ export declare const workersAiCatalog: {
|
|
|
701
718
|
readonly beta: true;
|
|
702
719
|
readonly context_window: 7500;
|
|
703
720
|
readonly info: "https://huggingface.co/qwen/qwen1.5-14b-chat-awq";
|
|
721
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
704
722
|
};
|
|
705
723
|
}, {
|
|
706
724
|
readonly id: "081054cd-a254-4349-855e-6dc0996277fa";
|
|
@@ -713,6 +731,7 @@ export declare const workersAiCatalog: {
|
|
|
713
731
|
readonly beta: true;
|
|
714
732
|
readonly context_window: 8192;
|
|
715
733
|
readonly info: "https://huggingface.co/openchat/openchat-3.5-0106";
|
|
734
|
+
readonly planned_deprecation_date: "2025-10-01";
|
|
716
735
|
};
|
|
717
736
|
}, {
|
|
718
737
|
readonly id: "06455e78-19f7-487b-93cd-c05a3dd07813";
|
|
@@ -796,6 +815,16 @@ export declare const workersAiCatalog: {
|
|
|
796
815
|
readonly currency: "USD";
|
|
797
816
|
}];
|
|
798
817
|
};
|
|
818
|
+
}, {
|
|
819
|
+
readonly id: "e93e59ea-73d0-47dd-b0e1-469c6bda37c1";
|
|
820
|
+
readonly source: 1;
|
|
821
|
+
readonly name: "@cf/baai/omni-bge-m3";
|
|
822
|
+
readonly description: "Multi-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.";
|
|
823
|
+
readonly created_at: "2025-09-01 15:23:18.431";
|
|
824
|
+
readonly tags: readonly [];
|
|
825
|
+
readonly properties: {
|
|
826
|
+
readonly async_queue: true;
|
|
827
|
+
};
|
|
799
828
|
}, {
|
|
800
829
|
readonly id: "57fbd08a-a4c4-411c-910d-b9459ff36c20";
|
|
801
830
|
readonly source: 1;
|
|
@@ -832,6 +861,14 @@ export declare const workersAiCatalog: {
|
|
|
832
861
|
readonly max_input_tokens: 512;
|
|
833
862
|
readonly output_dimensions: 768;
|
|
834
863
|
};
|
|
864
|
+
}, {
|
|
865
|
+
readonly id: "15631501-2742-4346-a469-22fe202188a2";
|
|
866
|
+
readonly source: 1;
|
|
867
|
+
readonly name: "@cf/google/embeddinggemma-300m";
|
|
868
|
+
readonly description: "EmbeddingGemma is a 300M parameter, state-of-the-art for its size, open embedding model from Google, built from Gemma 3 (with T5Gemma initialization) and the same research and technology used to create Gemini models. EmbeddingGemma produces vector representations of text, making it well-suited for search and retrieval tasks, including classification, clustering, and semantic similarity search. This model was trained with data in 100+ spoken languages.";
|
|
869
|
+
readonly created_at: "2025-09-04 16:38:44.980";
|
|
870
|
+
readonly tags: readonly [];
|
|
871
|
+
readonly properties: {};
|
|
835
872
|
}, {
|
|
836
873
|
readonly id: "01bc2fb0-4bca-4598-b985-d2584a3f46c0";
|
|
837
874
|
readonly source: 1;
|
|
@@ -64,6 +64,7 @@ export const workersAiCatalog = {
|
|
|
64
64
|
beta: true,
|
|
65
65
|
context_window: 32000,
|
|
66
66
|
info: 'https://huggingface.co/qwen/qwen1.5-0.5b-chat',
|
|
67
|
+
planned_deprecation_date: '2025-10-01',
|
|
67
68
|
},
|
|
68
69
|
},
|
|
69
70
|
{
|
|
@@ -93,6 +94,7 @@ export const workersAiCatalog = {
|
|
|
93
94
|
max_batch_prefill_tokens: 8192,
|
|
94
95
|
max_input_length: 3072,
|
|
95
96
|
max_total_tokens: 4096,
|
|
97
|
+
planned_deprecation_date: '2025-10-01',
|
|
96
98
|
},
|
|
97
99
|
},
|
|
98
100
|
{
|
|
@@ -154,6 +156,7 @@ export const workersAiCatalog = {
|
|
|
154
156
|
properties: {
|
|
155
157
|
beta: true,
|
|
156
158
|
context_window: 4096,
|
|
159
|
+
planned_deprecation_date: '2025-10-01',
|
|
157
160
|
},
|
|
158
161
|
},
|
|
159
162
|
{
|
|
@@ -166,6 +169,7 @@ export const workersAiCatalog = {
|
|
|
166
169
|
properties: {
|
|
167
170
|
beta: true,
|
|
168
171
|
context_window: 4096,
|
|
172
|
+
planned_deprecation_date: '2025-10-01',
|
|
169
173
|
},
|
|
170
174
|
},
|
|
171
175
|
{
|
|
@@ -265,6 +269,7 @@ export const workersAiCatalog = {
|
|
|
265
269
|
beta: true,
|
|
266
270
|
context_window: 2048,
|
|
267
271
|
info: 'https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0',
|
|
272
|
+
planned_deprecation_date: '2025-10-01',
|
|
268
273
|
},
|
|
269
274
|
},
|
|
270
275
|
{
|
|
@@ -294,6 +299,7 @@ export const workersAiCatalog = {
|
|
|
294
299
|
properties: {
|
|
295
300
|
beta: true,
|
|
296
301
|
context_window: 15000,
|
|
302
|
+
planned_deprecation_date: '2025-10-01',
|
|
297
303
|
},
|
|
298
304
|
},
|
|
299
305
|
{
|
|
@@ -331,6 +337,7 @@ export const workersAiCatalog = {
|
|
|
331
337
|
beta: true,
|
|
332
338
|
context_window: 4096,
|
|
333
339
|
info: 'https://huggingface.co/TheBloke/DiscoLM_German_7b_v1-AWQ',
|
|
340
|
+
planned_deprecation_date: '2025-10-01',
|
|
334
341
|
},
|
|
335
342
|
},
|
|
336
343
|
{
|
|
@@ -379,6 +386,7 @@ export const workersAiCatalog = {
|
|
|
379
386
|
beta: true,
|
|
380
387
|
context_window: 4096,
|
|
381
388
|
info: 'https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-AWQ',
|
|
389
|
+
planned_deprecation_date: '2025-10-01',
|
|
382
390
|
},
|
|
383
391
|
},
|
|
384
392
|
{
|
|
@@ -392,6 +400,7 @@ export const workersAiCatalog = {
|
|
|
392
400
|
beta: true,
|
|
393
401
|
context_window: 20000,
|
|
394
402
|
info: 'https://huggingface.co/qwen/qwen1.5-7b-chat-awq',
|
|
403
|
+
planned_deprecation_date: '2025-10-01',
|
|
395
404
|
},
|
|
396
405
|
},
|
|
397
406
|
{
|
|
@@ -429,6 +438,7 @@ export const workersAiCatalog = {
|
|
|
429
438
|
beta: true,
|
|
430
439
|
context_window: 4096,
|
|
431
440
|
info: 'https://huggingface.co/TheBloke/Llama-2-13B-chat-AWQ',
|
|
441
|
+
planned_deprecation_date: '2025-10-01',
|
|
432
442
|
},
|
|
433
443
|
},
|
|
434
444
|
{
|
|
@@ -441,6 +451,7 @@ export const workersAiCatalog = {
|
|
|
441
451
|
properties: {
|
|
442
452
|
beta: true,
|
|
443
453
|
context_window: 4096,
|
|
454
|
+
planned_deprecation_date: '2025-10-01',
|
|
444
455
|
terms: 'https://huggingface.co/TheBloke/deepseek-coder-6.7B-base-AWQ',
|
|
445
456
|
},
|
|
446
457
|
},
|
|
@@ -493,6 +504,7 @@ export const workersAiCatalog = {
|
|
|
493
504
|
properties: {
|
|
494
505
|
beta: true,
|
|
495
506
|
context_window: 4096,
|
|
507
|
+
planned_deprecation_date: '2025-10-01',
|
|
496
508
|
},
|
|
497
509
|
},
|
|
498
510
|
{
|
|
@@ -505,6 +517,7 @@ export const workersAiCatalog = {
|
|
|
505
517
|
properties: {
|
|
506
518
|
beta: true,
|
|
507
519
|
context_window: 4096,
|
|
520
|
+
planned_deprecation_date: '2025-10-01',
|
|
508
521
|
terms: 'https://huggingface.co/TheBloke/deepseek-coder-6.7B-instruct-AWQ',
|
|
509
522
|
},
|
|
510
523
|
},
|
|
@@ -543,6 +556,7 @@ export const workersAiCatalog = {
|
|
|
543
556
|
beta: true,
|
|
544
557
|
context_window: 4096,
|
|
545
558
|
info: 'https://huggingface.co/deepseek-ai/deepseek-math-7b-instruct',
|
|
559
|
+
planned_deprecation_date: '2025-10-01',
|
|
546
560
|
terms: 'https://github.com/deepseek-ai/DeepSeek-Math/blob/main/LICENSE-MODEL',
|
|
547
561
|
},
|
|
548
562
|
},
|
|
@@ -557,6 +571,7 @@ export const workersAiCatalog = {
|
|
|
557
571
|
beta: true,
|
|
558
572
|
context_window: 4096,
|
|
559
573
|
info: 'https://huggingface.co/tiiuae/falcon-7b-instruct',
|
|
574
|
+
planned_deprecation_date: '2025-10-01',
|
|
560
575
|
},
|
|
561
576
|
},
|
|
562
577
|
{
|
|
@@ -608,6 +623,7 @@ export const workersAiCatalog = {
|
|
|
608
623
|
beta: true,
|
|
609
624
|
context_window: 4096,
|
|
610
625
|
info: 'https://huggingface.co/TheBloke/zephyr-7B-beta-AWQ',
|
|
626
|
+
planned_deprecation_date: '2025-10-01',
|
|
611
627
|
},
|
|
612
628
|
},
|
|
613
629
|
{
|
|
@@ -634,6 +650,7 @@ export const workersAiCatalog = {
|
|
|
634
650
|
beta: true,
|
|
635
651
|
context_window: 32000,
|
|
636
652
|
info: 'https://huggingface.co/qwen/qwen1.5-1.8b-chat',
|
|
653
|
+
planned_deprecation_date: '2025-10-01',
|
|
637
654
|
},
|
|
638
655
|
},
|
|
639
656
|
{
|
|
@@ -798,6 +815,7 @@ export const workersAiCatalog = {
|
|
|
798
815
|
beta: true,
|
|
799
816
|
context_window: 7500,
|
|
800
817
|
info: 'https://huggingface.co/qwen/qwen1.5-14b-chat-awq',
|
|
818
|
+
planned_deprecation_date: '2025-10-01',
|
|
801
819
|
},
|
|
802
820
|
},
|
|
803
821
|
{
|
|
@@ -811,6 +829,7 @@ export const workersAiCatalog = {
|
|
|
811
829
|
beta: true,
|
|
812
830
|
context_window: 8192,
|
|
813
831
|
info: 'https://huggingface.co/openchat/openchat-3.5-0106',
|
|
832
|
+
planned_deprecation_date: '2025-10-01',
|
|
814
833
|
},
|
|
815
834
|
},
|
|
816
835
|
{
|
|
@@ -911,6 +930,17 @@ export const workersAiCatalog = {
|
|
|
911
930
|
],
|
|
912
931
|
},
|
|
913
932
|
},
|
|
933
|
+
{
|
|
934
|
+
id: 'e93e59ea-73d0-47dd-b0e1-469c6bda37c1',
|
|
935
|
+
source: 1,
|
|
936
|
+
name: '@cf/baai/omni-bge-m3',
|
|
937
|
+
description: 'Multi-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.',
|
|
938
|
+
created_at: '2025-09-01 15:23:18.431',
|
|
939
|
+
tags: [],
|
|
940
|
+
properties: {
|
|
941
|
+
async_queue: true,
|
|
942
|
+
},
|
|
943
|
+
},
|
|
914
944
|
{
|
|
915
945
|
id: '57fbd08a-a4c4-411c-910d-b9459ff36c20',
|
|
916
946
|
source: 1,
|
|
@@ -953,6 +983,15 @@ export const workersAiCatalog = {
|
|
|
953
983
|
output_dimensions: 768,
|
|
954
984
|
},
|
|
955
985
|
},
|
|
986
|
+
{
|
|
987
|
+
id: '15631501-2742-4346-a469-22fe202188a2',
|
|
988
|
+
source: 1,
|
|
989
|
+
name: '@cf/google/embeddinggemma-300m',
|
|
990
|
+
description: 'EmbeddingGemma is a 300M parameter, state-of-the-art for its size, open embedding model from Google, built from Gemma 3 (with T5Gemma initialization) and the same research and technology used to create Gemini models. EmbeddingGemma produces vector representations of text, making it well-suited for search and retrieval tasks, including classification, clustering, and semantic similarity search. This model was trained with data in 100+ spoken languages.',
|
|
991
|
+
created_at: '2025-09-04 16:38:44.980',
|
|
992
|
+
tags: [],
|
|
993
|
+
properties: {},
|
|
994
|
+
},
|
|
956
995
|
{
|
|
957
996
|
id: '01bc2fb0-4bca-4598-b985-d2584a3f46c0',
|
|
958
997
|
source: 1,
|
package/dist/d0/index.d.ts
CHANGED
package/dist/d0/index.js
CHANGED
package/dist/d1/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Buffer } from 'node:buffer';
|
|
2
|
+
import type { DOCombinedLocations } from '..';
|
|
3
|
+
import type { ShardType } from '../d0';
|
|
2
4
|
export type PrefixedUuid = `${'t_' | 'd_' | 'u_'}${UuidExport['utf8']}${'' | '_p'}`;
|
|
3
5
|
export interface UuidExport {
|
|
4
6
|
utf8: ReturnType<typeof crypto.randomUUID>;
|
|
@@ -7,6 +9,20 @@ export interface UuidExport {
|
|
|
7
9
|
base64: string;
|
|
8
10
|
base64url: string;
|
|
9
11
|
}
|
|
12
|
+
export interface UUIDExtract7 {
|
|
13
|
+
date: Date;
|
|
14
|
+
}
|
|
15
|
+
export interface UUIDExtract8 {
|
|
16
|
+
date: Date;
|
|
17
|
+
location: DOCombinedLocations;
|
|
18
|
+
shardType: ShardType;
|
|
19
|
+
suffix?: {
|
|
20
|
+
hex: string;
|
|
21
|
+
base64?: string;
|
|
22
|
+
base64url?: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export type UUIDExtract = UUIDExtract7 | UUIDExtract8;
|
|
10
26
|
export type ISODateString = `${number}-${number}-${number}T${number}:${number}:${number}.${number}Z`;
|
|
11
27
|
/**
|
|
12
28
|
* Represents a cron expression string (in UTC time).
|
package/dist/index.d.ts
CHANGED
|
@@ -69,4 +69,18 @@ export declare enum DOLocations {
|
|
|
69
69
|
'Africa' = "afr",
|
|
70
70
|
'Middle East' = "me"
|
|
71
71
|
}
|
|
72
|
+
export declare enum DOCombinedLocations {
|
|
73
|
+
none = 0,
|
|
74
|
+
eu = 1,
|
|
75
|
+
fedramp = 2,
|
|
76
|
+
wnam = 10,
|
|
77
|
+
enam = 11,
|
|
78
|
+
sam = 12,
|
|
79
|
+
weur = 13,
|
|
80
|
+
eeur = 14,
|
|
81
|
+
apac = 15,
|
|
82
|
+
oc = 16,
|
|
83
|
+
afr = 17,
|
|
84
|
+
me = 18
|
|
85
|
+
}
|
|
72
86
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -21,3 +21,18 @@ export var DOLocations;
|
|
|
21
21
|
DOLocations["Africa"] = "afr";
|
|
22
22
|
DOLocations["Middle East"] = "me";
|
|
23
23
|
})(DOLocations || (DOLocations = {}));
|
|
24
|
+
export var DOCombinedLocations;
|
|
25
|
+
(function (DOCombinedLocations) {
|
|
26
|
+
DOCombinedLocations[DOCombinedLocations["none"] = 0] = "none";
|
|
27
|
+
DOCombinedLocations[DOCombinedLocations["eu"] = 1] = "eu";
|
|
28
|
+
DOCombinedLocations[DOCombinedLocations["fedramp"] = 2] = "fedramp";
|
|
29
|
+
DOCombinedLocations[DOCombinedLocations["wnam"] = 10] = "wnam";
|
|
30
|
+
DOCombinedLocations[DOCombinedLocations["enam"] = 11] = "enam";
|
|
31
|
+
DOCombinedLocations[DOCombinedLocations["sam"] = 12] = "sam";
|
|
32
|
+
DOCombinedLocations[DOCombinedLocations["weur"] = 13] = "weur";
|
|
33
|
+
DOCombinedLocations[DOCombinedLocations["eeur"] = 14] = "eeur";
|
|
34
|
+
DOCombinedLocations[DOCombinedLocations["apac"] = 15] = "apac";
|
|
35
|
+
DOCombinedLocations[DOCombinedLocations["oc"] = 16] = "oc";
|
|
36
|
+
DOCombinedLocations[DOCombinedLocations["afr"] = 17] = "afr";
|
|
37
|
+
DOCombinedLocations[DOCombinedLocations["me"] = 18] = "me";
|
|
38
|
+
})(DOCombinedLocations || (DOCombinedLocations = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"zod": "^4.1.5"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@cloudflare/workers-types": "^4.
|
|
101
|
+
"@cloudflare/workers-types": "^4.20250909.0",
|
|
102
102
|
"@types/validator": "^13.15.3"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "fe95f7c82786f19dda1e465f38b19be98613f981"
|
|
105
105
|
}
|