aimodels 0.2.1 → 0.2.2
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/index.js +133 -10
- package/dist/index.mjs +133 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54,12 +54,31 @@ var ModelCollection = class _ModelCollection extends Array {
|
|
|
54
54
|
var openai_models_default = {
|
|
55
55
|
models: [
|
|
56
56
|
{
|
|
57
|
-
id: "whisper-
|
|
58
|
-
name: "Whisper
|
|
59
|
-
license: "
|
|
57
|
+
id: "whisper-large-v3",
|
|
58
|
+
name: "Whisper Large v3",
|
|
59
|
+
license: "mit",
|
|
60
60
|
providers: [
|
|
61
61
|
"openai",
|
|
62
|
-
"azure"
|
|
62
|
+
"azure",
|
|
63
|
+
"groq"
|
|
64
|
+
],
|
|
65
|
+
can: [
|
|
66
|
+
"sound-in",
|
|
67
|
+
"text-out"
|
|
68
|
+
],
|
|
69
|
+
context: {
|
|
70
|
+
total: null,
|
|
71
|
+
maxOutput: null
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "whisper-large-v3-turbo",
|
|
76
|
+
name: "Whisper Large v3 Turbo",
|
|
77
|
+
license: "mit",
|
|
78
|
+
providers: [
|
|
79
|
+
"openai",
|
|
80
|
+
"azure",
|
|
81
|
+
"groq"
|
|
63
82
|
],
|
|
64
83
|
can: [
|
|
65
84
|
"sound-in",
|
|
@@ -308,11 +327,55 @@ var anthropic_models_default = {
|
|
|
308
327
|
var meta_models_default = {
|
|
309
328
|
models: [
|
|
310
329
|
{
|
|
311
|
-
id: "
|
|
312
|
-
name: "Llama
|
|
313
|
-
license: "llama-
|
|
314
|
-
providers: ["groq"
|
|
315
|
-
can: ["chat", "json-out", "function-out"],
|
|
330
|
+
id: "llama3-70b-8192",
|
|
331
|
+
name: "Llama 3 70B",
|
|
332
|
+
license: "llama-3-community",
|
|
333
|
+
providers: ["groq"],
|
|
334
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
335
|
+
context: {
|
|
336
|
+
total: 8192,
|
|
337
|
+
maxOutput: 4096
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
id: "llama3-8b-8192",
|
|
342
|
+
name: "Llama 3 8B",
|
|
343
|
+
license: "llama-3-community",
|
|
344
|
+
providers: ["groq"],
|
|
345
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
346
|
+
context: {
|
|
347
|
+
total: 8192,
|
|
348
|
+
maxOutput: 4096
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
id: "llama-3.2-11b-vision-preview",
|
|
353
|
+
name: "Llama 3.2 11B Vision",
|
|
354
|
+
license: "llama-3-community",
|
|
355
|
+
providers: ["groq"],
|
|
356
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
357
|
+
context: {
|
|
358
|
+
total: 4096,
|
|
359
|
+
maxOutput: 4096
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
id: "llama-3.2-90b-vision-preview",
|
|
364
|
+
name: "Llama 3.2 90B Vision",
|
|
365
|
+
license: "llama-3-community",
|
|
366
|
+
providers: ["groq"],
|
|
367
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
368
|
+
context: {
|
|
369
|
+
total: 4096,
|
|
370
|
+
maxOutput: 4096
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
id: "llama-guard-3-8b",
|
|
375
|
+
name: "LlamaGuard 3 8B",
|
|
376
|
+
license: "llama-3-community",
|
|
377
|
+
providers: ["groq"],
|
|
378
|
+
can: ["chat", "text-in", "text-out"],
|
|
316
379
|
context: {
|
|
317
380
|
total: 4096,
|
|
318
381
|
maxOutput: 4096
|
|
@@ -406,13 +469,73 @@ var mistral_models_default = {
|
|
|
406
469
|
]
|
|
407
470
|
};
|
|
408
471
|
|
|
472
|
+
// src/data/models/google-models.json
|
|
473
|
+
var google_models_default = {
|
|
474
|
+
models: [
|
|
475
|
+
{
|
|
476
|
+
id: "gemma2-9b-it",
|
|
477
|
+
name: "Gemma 2 9B Instruct",
|
|
478
|
+
license: "apache-2.0",
|
|
479
|
+
providers: ["groq"],
|
|
480
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
481
|
+
context: {
|
|
482
|
+
total: 8192,
|
|
483
|
+
maxOutput: 4096
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
]
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
// src/data/models/deepseek-models.json
|
|
490
|
+
var deepseek_models_default = {
|
|
491
|
+
models: [
|
|
492
|
+
{
|
|
493
|
+
id: "deepseek-chat",
|
|
494
|
+
name: "DeepSeek V3",
|
|
495
|
+
license: "apache-2.0",
|
|
496
|
+
providers: ["deepseek"],
|
|
497
|
+
can: [
|
|
498
|
+
"chat",
|
|
499
|
+
"text-in",
|
|
500
|
+
"text-out",
|
|
501
|
+
"json-out",
|
|
502
|
+
"function-out"
|
|
503
|
+
],
|
|
504
|
+
context: {
|
|
505
|
+
total: 131072,
|
|
506
|
+
maxOutput: 131072
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
id: "deepseek-reasoner",
|
|
511
|
+
name: "DeepSeek R1",
|
|
512
|
+
license: "apache-2.0",
|
|
513
|
+
providers: ["deepseek"],
|
|
514
|
+
can: [
|
|
515
|
+
"chat",
|
|
516
|
+
"text-in",
|
|
517
|
+
"text-out",
|
|
518
|
+
"json-out",
|
|
519
|
+
"function-out",
|
|
520
|
+
"reason"
|
|
521
|
+
],
|
|
522
|
+
context: {
|
|
523
|
+
total: 131072,
|
|
524
|
+
maxOutput: 131072
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
};
|
|
529
|
+
|
|
409
530
|
// src/builders/models.ts
|
|
410
531
|
function buildAllModels() {
|
|
411
532
|
return [
|
|
412
533
|
...openai_models_default.models,
|
|
413
534
|
...anthropic_models_default.models,
|
|
414
535
|
...meta_models_default.models,
|
|
415
|
-
...mistral_models_default.models
|
|
536
|
+
...mistral_models_default.models,
|
|
537
|
+
...google_models_default.models,
|
|
538
|
+
...deepseek_models_default.models
|
|
416
539
|
];
|
|
417
540
|
}
|
|
418
541
|
|
package/dist/index.mjs
CHANGED
|
@@ -27,12 +27,31 @@ var ModelCollection = class _ModelCollection extends Array {
|
|
|
27
27
|
var openai_models_default = {
|
|
28
28
|
models: [
|
|
29
29
|
{
|
|
30
|
-
id: "whisper-
|
|
31
|
-
name: "Whisper
|
|
32
|
-
license: "
|
|
30
|
+
id: "whisper-large-v3",
|
|
31
|
+
name: "Whisper Large v3",
|
|
32
|
+
license: "mit",
|
|
33
33
|
providers: [
|
|
34
34
|
"openai",
|
|
35
|
-
"azure"
|
|
35
|
+
"azure",
|
|
36
|
+
"groq"
|
|
37
|
+
],
|
|
38
|
+
can: [
|
|
39
|
+
"sound-in",
|
|
40
|
+
"text-out"
|
|
41
|
+
],
|
|
42
|
+
context: {
|
|
43
|
+
total: null,
|
|
44
|
+
maxOutput: null
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "whisper-large-v3-turbo",
|
|
49
|
+
name: "Whisper Large v3 Turbo",
|
|
50
|
+
license: "mit",
|
|
51
|
+
providers: [
|
|
52
|
+
"openai",
|
|
53
|
+
"azure",
|
|
54
|
+
"groq"
|
|
36
55
|
],
|
|
37
56
|
can: [
|
|
38
57
|
"sound-in",
|
|
@@ -281,11 +300,55 @@ var anthropic_models_default = {
|
|
|
281
300
|
var meta_models_default = {
|
|
282
301
|
models: [
|
|
283
302
|
{
|
|
284
|
-
id: "
|
|
285
|
-
name: "Llama
|
|
286
|
-
license: "llama-
|
|
287
|
-
providers: ["groq"
|
|
288
|
-
can: ["chat", "json-out", "function-out"],
|
|
303
|
+
id: "llama3-70b-8192",
|
|
304
|
+
name: "Llama 3 70B",
|
|
305
|
+
license: "llama-3-community",
|
|
306
|
+
providers: ["groq"],
|
|
307
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
308
|
+
context: {
|
|
309
|
+
total: 8192,
|
|
310
|
+
maxOutput: 4096
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "llama3-8b-8192",
|
|
315
|
+
name: "Llama 3 8B",
|
|
316
|
+
license: "llama-3-community",
|
|
317
|
+
providers: ["groq"],
|
|
318
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
319
|
+
context: {
|
|
320
|
+
total: 8192,
|
|
321
|
+
maxOutput: 4096
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
id: "llama-3.2-11b-vision-preview",
|
|
326
|
+
name: "Llama 3.2 11B Vision",
|
|
327
|
+
license: "llama-3-community",
|
|
328
|
+
providers: ["groq"],
|
|
329
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
330
|
+
context: {
|
|
331
|
+
total: 4096,
|
|
332
|
+
maxOutput: 4096
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
id: "llama-3.2-90b-vision-preview",
|
|
337
|
+
name: "Llama 3.2 90B Vision",
|
|
338
|
+
license: "llama-3-community",
|
|
339
|
+
providers: ["groq"],
|
|
340
|
+
can: ["chat", "text-in", "text-out", "img-in"],
|
|
341
|
+
context: {
|
|
342
|
+
total: 4096,
|
|
343
|
+
maxOutput: 4096
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
id: "llama-guard-3-8b",
|
|
348
|
+
name: "LlamaGuard 3 8B",
|
|
349
|
+
license: "llama-3-community",
|
|
350
|
+
providers: ["groq"],
|
|
351
|
+
can: ["chat", "text-in", "text-out"],
|
|
289
352
|
context: {
|
|
290
353
|
total: 4096,
|
|
291
354
|
maxOutput: 4096
|
|
@@ -379,13 +442,73 @@ var mistral_models_default = {
|
|
|
379
442
|
]
|
|
380
443
|
};
|
|
381
444
|
|
|
445
|
+
// src/data/models/google-models.json
|
|
446
|
+
var google_models_default = {
|
|
447
|
+
models: [
|
|
448
|
+
{
|
|
449
|
+
id: "gemma2-9b-it",
|
|
450
|
+
name: "Gemma 2 9B Instruct",
|
|
451
|
+
license: "apache-2.0",
|
|
452
|
+
providers: ["groq"],
|
|
453
|
+
can: ["chat", "text-in", "text-out", "json-out", "function-out"],
|
|
454
|
+
context: {
|
|
455
|
+
total: 8192,
|
|
456
|
+
maxOutput: 4096
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
// src/data/models/deepseek-models.json
|
|
463
|
+
var deepseek_models_default = {
|
|
464
|
+
models: [
|
|
465
|
+
{
|
|
466
|
+
id: "deepseek-chat",
|
|
467
|
+
name: "DeepSeek V3",
|
|
468
|
+
license: "apache-2.0",
|
|
469
|
+
providers: ["deepseek"],
|
|
470
|
+
can: [
|
|
471
|
+
"chat",
|
|
472
|
+
"text-in",
|
|
473
|
+
"text-out",
|
|
474
|
+
"json-out",
|
|
475
|
+
"function-out"
|
|
476
|
+
],
|
|
477
|
+
context: {
|
|
478
|
+
total: 131072,
|
|
479
|
+
maxOutput: 131072
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
id: "deepseek-reasoner",
|
|
484
|
+
name: "DeepSeek R1",
|
|
485
|
+
license: "apache-2.0",
|
|
486
|
+
providers: ["deepseek"],
|
|
487
|
+
can: [
|
|
488
|
+
"chat",
|
|
489
|
+
"text-in",
|
|
490
|
+
"text-out",
|
|
491
|
+
"json-out",
|
|
492
|
+
"function-out",
|
|
493
|
+
"reason"
|
|
494
|
+
],
|
|
495
|
+
context: {
|
|
496
|
+
total: 131072,
|
|
497
|
+
maxOutput: 131072
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
};
|
|
502
|
+
|
|
382
503
|
// src/builders/models.ts
|
|
383
504
|
function buildAllModels() {
|
|
384
505
|
return [
|
|
385
506
|
...openai_models_default.models,
|
|
386
507
|
...anthropic_models_default.models,
|
|
387
508
|
...meta_models_default.models,
|
|
388
|
-
...mistral_models_default.models
|
|
509
|
+
...mistral_models_default.models,
|
|
510
|
+
...google_models_default.models,
|
|
511
|
+
...deepseek_models_default.models
|
|
389
512
|
];
|
|
390
513
|
}
|
|
391
514
|
|