modelparams 0.0.10__tar.gz → 0.0.12__tar.gz
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.
- {modelparams-0.0.10 → modelparams-0.0.12}/PKG-INFO +1 -1
- {modelparams-0.0.10 → modelparams-0.0.12}/pyproject.toml +1 -1
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/_generated/catalog.json +668 -19
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/_generated/model_ids.py +12 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/_generated/registry.py +6 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/mistral.py +121 -13
- {modelparams-0.0.10 → modelparams-0.0.12}/.gitignore +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/LICENSE +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/README.md +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/models.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.10 → modelparams-0.0.12}/src/modelparams/validation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: modelparams
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.12
|
|
4
4
|
Summary: Typed model parameters for Python, generated from the modelparams.dev catalog.
|
|
5
5
|
Project-URL: Homepage, https://modelparams.dev
|
|
6
6
|
Project-URL: Repository, https://github.com/mnfst/modelparameters.dev
|
|
@@ -10169,7 +10169,8 @@
|
|
|
10169
10169
|
"default": "text",
|
|
10170
10170
|
"values": [
|
|
10171
10171
|
"text",
|
|
10172
|
-
"json_object"
|
|
10172
|
+
"json_object",
|
|
10173
|
+
"json_schema"
|
|
10173
10174
|
]
|
|
10174
10175
|
},
|
|
10175
10176
|
{
|
|
@@ -10274,7 +10275,8 @@
|
|
|
10274
10275
|
"default": "text",
|
|
10275
10276
|
"values": [
|
|
10276
10277
|
"text",
|
|
10277
|
-
"json_object"
|
|
10278
|
+
"json_object",
|
|
10279
|
+
"json_schema"
|
|
10278
10280
|
]
|
|
10279
10281
|
},
|
|
10280
10282
|
{
|
|
@@ -10379,7 +10381,8 @@
|
|
|
10379
10381
|
"default": "text",
|
|
10380
10382
|
"values": [
|
|
10381
10383
|
"text",
|
|
10382
|
-
"json_object"
|
|
10384
|
+
"json_object",
|
|
10385
|
+
"json_schema"
|
|
10383
10386
|
]
|
|
10384
10387
|
},
|
|
10385
10388
|
{
|
|
@@ -10484,7 +10487,8 @@
|
|
|
10484
10487
|
"default": "text",
|
|
10485
10488
|
"values": [
|
|
10486
10489
|
"text",
|
|
10487
|
-
"json_object"
|
|
10490
|
+
"json_object",
|
|
10491
|
+
"json_schema"
|
|
10488
10492
|
]
|
|
10489
10493
|
},
|
|
10490
10494
|
{
|
|
@@ -10599,7 +10603,8 @@
|
|
|
10599
10603
|
"default": "text",
|
|
10600
10604
|
"values": [
|
|
10601
10605
|
"text",
|
|
10602
|
-
"json_object"
|
|
10606
|
+
"json_object",
|
|
10607
|
+
"json_schema"
|
|
10603
10608
|
]
|
|
10604
10609
|
},
|
|
10605
10610
|
{
|
|
@@ -10714,7 +10719,114 @@
|
|
|
10714
10719
|
"default": "text",
|
|
10715
10720
|
"values": [
|
|
10716
10721
|
"text",
|
|
10717
|
-
"json_object"
|
|
10722
|
+
"json_object",
|
|
10723
|
+
"json_schema"
|
|
10724
|
+
]
|
|
10725
|
+
},
|
|
10726
|
+
{
|
|
10727
|
+
"path": "safe_prompt",
|
|
10728
|
+
"label": "Safe prompt",
|
|
10729
|
+
"description": "Controls whether Mistral injects its safety prompt before the conversation.",
|
|
10730
|
+
"group": "provider_metadata",
|
|
10731
|
+
"type": "boolean",
|
|
10732
|
+
"default": false
|
|
10733
|
+
}
|
|
10734
|
+
]
|
|
10735
|
+
},
|
|
10736
|
+
{
|
|
10737
|
+
"provider": "mistral",
|
|
10738
|
+
"authType": "api_key",
|
|
10739
|
+
"model": "ministral-14b-2512",
|
|
10740
|
+
"params": [
|
|
10741
|
+
{
|
|
10742
|
+
"path": "max_tokens",
|
|
10743
|
+
"label": "Max tokens",
|
|
10744
|
+
"description": "Maximum number of tokens to generate in the completion.",
|
|
10745
|
+
"group": "generation_length",
|
|
10746
|
+
"type": "integer",
|
|
10747
|
+
"range": {
|
|
10748
|
+
"min": 1
|
|
10749
|
+
}
|
|
10750
|
+
},
|
|
10751
|
+
{
|
|
10752
|
+
"path": "stop",
|
|
10753
|
+
"label": "Stop sequence",
|
|
10754
|
+
"description": "Stops generation when this string is detected.",
|
|
10755
|
+
"group": "generation_length",
|
|
10756
|
+
"type": "string"
|
|
10757
|
+
},
|
|
10758
|
+
{
|
|
10759
|
+
"path": "temperature",
|
|
10760
|
+
"label": "Temperature",
|
|
10761
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
10762
|
+
"group": "sampling",
|
|
10763
|
+
"type": "number",
|
|
10764
|
+
"range": {
|
|
10765
|
+
"min": 0,
|
|
10766
|
+
"max": 1.5,
|
|
10767
|
+
"step": 0.1
|
|
10768
|
+
}
|
|
10769
|
+
},
|
|
10770
|
+
{
|
|
10771
|
+
"path": "top_p",
|
|
10772
|
+
"label": "Top P",
|
|
10773
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
10774
|
+
"group": "sampling",
|
|
10775
|
+
"type": "number",
|
|
10776
|
+
"default": 1,
|
|
10777
|
+
"range": {
|
|
10778
|
+
"min": 0.01,
|
|
10779
|
+
"max": 1,
|
|
10780
|
+
"step": 0.01
|
|
10781
|
+
}
|
|
10782
|
+
},
|
|
10783
|
+
{
|
|
10784
|
+
"path": "random_seed",
|
|
10785
|
+
"label": "Random seed",
|
|
10786
|
+
"description": "Seed used for deterministic sampling when reproducible outputs are desired.",
|
|
10787
|
+
"group": "sampling",
|
|
10788
|
+
"type": "integer",
|
|
10789
|
+
"range": {
|
|
10790
|
+
"min": 0
|
|
10791
|
+
}
|
|
10792
|
+
},
|
|
10793
|
+
{
|
|
10794
|
+
"path": "presence_penalty",
|
|
10795
|
+
"label": "Presence penalty",
|
|
10796
|
+
"description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.",
|
|
10797
|
+
"group": "sampling",
|
|
10798
|
+
"type": "number",
|
|
10799
|
+
"default": 0,
|
|
10800
|
+
"range": {
|
|
10801
|
+
"min": -2,
|
|
10802
|
+
"max": 2,
|
|
10803
|
+
"step": 0.1
|
|
10804
|
+
}
|
|
10805
|
+
},
|
|
10806
|
+
{
|
|
10807
|
+
"path": "frequency_penalty",
|
|
10808
|
+
"label": "Frequency penalty",
|
|
10809
|
+
"description": "Penalizes words based on how often they already appear in the generated text.",
|
|
10810
|
+
"group": "sampling",
|
|
10811
|
+
"type": "number",
|
|
10812
|
+
"default": 0,
|
|
10813
|
+
"range": {
|
|
10814
|
+
"min": -2,
|
|
10815
|
+
"max": 2,
|
|
10816
|
+
"step": 0.1
|
|
10817
|
+
}
|
|
10818
|
+
},
|
|
10819
|
+
{
|
|
10820
|
+
"path": "response_format.type",
|
|
10821
|
+
"label": "Response format",
|
|
10822
|
+
"description": "Controls whether the model returns normal text or JSON mode output.",
|
|
10823
|
+
"group": "output_format",
|
|
10824
|
+
"type": "enum",
|
|
10825
|
+
"default": "text",
|
|
10826
|
+
"values": [
|
|
10827
|
+
"text",
|
|
10828
|
+
"json_object",
|
|
10829
|
+
"json_schema"
|
|
10718
10830
|
]
|
|
10719
10831
|
},
|
|
10720
10832
|
{
|
|
@@ -10819,7 +10931,114 @@
|
|
|
10819
10931
|
"default": "text",
|
|
10820
10932
|
"values": [
|
|
10821
10933
|
"text",
|
|
10822
|
-
"json_object"
|
|
10934
|
+
"json_object",
|
|
10935
|
+
"json_schema"
|
|
10936
|
+
]
|
|
10937
|
+
},
|
|
10938
|
+
{
|
|
10939
|
+
"path": "safe_prompt",
|
|
10940
|
+
"label": "Safe prompt",
|
|
10941
|
+
"description": "Controls whether Mistral injects its safety prompt before the conversation.",
|
|
10942
|
+
"group": "provider_metadata",
|
|
10943
|
+
"type": "boolean",
|
|
10944
|
+
"default": false
|
|
10945
|
+
}
|
|
10946
|
+
]
|
|
10947
|
+
},
|
|
10948
|
+
{
|
|
10949
|
+
"provider": "mistral",
|
|
10950
|
+
"authType": "api_key",
|
|
10951
|
+
"model": "ministral-3b-2512",
|
|
10952
|
+
"params": [
|
|
10953
|
+
{
|
|
10954
|
+
"path": "max_tokens",
|
|
10955
|
+
"label": "Max tokens",
|
|
10956
|
+
"description": "Maximum number of tokens to generate in the completion.",
|
|
10957
|
+
"group": "generation_length",
|
|
10958
|
+
"type": "integer",
|
|
10959
|
+
"range": {
|
|
10960
|
+
"min": 1
|
|
10961
|
+
}
|
|
10962
|
+
},
|
|
10963
|
+
{
|
|
10964
|
+
"path": "stop",
|
|
10965
|
+
"label": "Stop sequence",
|
|
10966
|
+
"description": "Stops generation when this string is detected.",
|
|
10967
|
+
"group": "generation_length",
|
|
10968
|
+
"type": "string"
|
|
10969
|
+
},
|
|
10970
|
+
{
|
|
10971
|
+
"path": "temperature",
|
|
10972
|
+
"label": "Temperature",
|
|
10973
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
10974
|
+
"group": "sampling",
|
|
10975
|
+
"type": "number",
|
|
10976
|
+
"range": {
|
|
10977
|
+
"min": 0,
|
|
10978
|
+
"max": 1.5,
|
|
10979
|
+
"step": 0.1
|
|
10980
|
+
}
|
|
10981
|
+
},
|
|
10982
|
+
{
|
|
10983
|
+
"path": "top_p",
|
|
10984
|
+
"label": "Top P",
|
|
10985
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
10986
|
+
"group": "sampling",
|
|
10987
|
+
"type": "number",
|
|
10988
|
+
"default": 1,
|
|
10989
|
+
"range": {
|
|
10990
|
+
"min": 0.01,
|
|
10991
|
+
"max": 1,
|
|
10992
|
+
"step": 0.01
|
|
10993
|
+
}
|
|
10994
|
+
},
|
|
10995
|
+
{
|
|
10996
|
+
"path": "random_seed",
|
|
10997
|
+
"label": "Random seed",
|
|
10998
|
+
"description": "Seed used for deterministic sampling when reproducible outputs are desired.",
|
|
10999
|
+
"group": "sampling",
|
|
11000
|
+
"type": "integer",
|
|
11001
|
+
"range": {
|
|
11002
|
+
"min": 0
|
|
11003
|
+
}
|
|
11004
|
+
},
|
|
11005
|
+
{
|
|
11006
|
+
"path": "presence_penalty",
|
|
11007
|
+
"label": "Presence penalty",
|
|
11008
|
+
"description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.",
|
|
11009
|
+
"group": "sampling",
|
|
11010
|
+
"type": "number",
|
|
11011
|
+
"default": 0,
|
|
11012
|
+
"range": {
|
|
11013
|
+
"min": -2,
|
|
11014
|
+
"max": 2,
|
|
11015
|
+
"step": 0.1
|
|
11016
|
+
}
|
|
11017
|
+
},
|
|
11018
|
+
{
|
|
11019
|
+
"path": "frequency_penalty",
|
|
11020
|
+
"label": "Frequency penalty",
|
|
11021
|
+
"description": "Penalizes words based on how often they already appear in the generated text.",
|
|
11022
|
+
"group": "sampling",
|
|
11023
|
+
"type": "number",
|
|
11024
|
+
"default": 0,
|
|
11025
|
+
"range": {
|
|
11026
|
+
"min": -2,
|
|
11027
|
+
"max": 2,
|
|
11028
|
+
"step": 0.1
|
|
11029
|
+
}
|
|
11030
|
+
},
|
|
11031
|
+
{
|
|
11032
|
+
"path": "response_format.type",
|
|
11033
|
+
"label": "Response format",
|
|
11034
|
+
"description": "Controls whether the model returns normal text or JSON mode output.",
|
|
11035
|
+
"group": "output_format",
|
|
11036
|
+
"type": "enum",
|
|
11037
|
+
"default": "text",
|
|
11038
|
+
"values": [
|
|
11039
|
+
"text",
|
|
11040
|
+
"json_object",
|
|
11041
|
+
"json_schema"
|
|
10823
11042
|
]
|
|
10824
11043
|
},
|
|
10825
11044
|
{
|
|
@@ -10924,7 +11143,8 @@
|
|
|
10924
11143
|
"default": "text",
|
|
10925
11144
|
"values": [
|
|
10926
11145
|
"text",
|
|
10927
|
-
"json_object"
|
|
11146
|
+
"json_object",
|
|
11147
|
+
"json_schema"
|
|
10928
11148
|
]
|
|
10929
11149
|
},
|
|
10930
11150
|
{
|
|
@@ -10940,7 +11160,7 @@
|
|
|
10940
11160
|
{
|
|
10941
11161
|
"provider": "mistral",
|
|
10942
11162
|
"authType": "api_key",
|
|
10943
|
-
"model": "ministral-8b-
|
|
11163
|
+
"model": "ministral-8b-2512",
|
|
10944
11164
|
"params": [
|
|
10945
11165
|
{
|
|
10946
11166
|
"path": "max_tokens",
|
|
@@ -11029,7 +11249,8 @@
|
|
|
11029
11249
|
"default": "text",
|
|
11030
11250
|
"values": [
|
|
11031
11251
|
"text",
|
|
11032
|
-
"json_object"
|
|
11252
|
+
"json_object",
|
|
11253
|
+
"json_schema"
|
|
11033
11254
|
]
|
|
11034
11255
|
},
|
|
11035
11256
|
{
|
|
@@ -11045,7 +11266,7 @@
|
|
|
11045
11266
|
{
|
|
11046
11267
|
"provider": "mistral",
|
|
11047
11268
|
"authType": "api_key",
|
|
11048
|
-
"model": "
|
|
11269
|
+
"model": "ministral-8b-latest",
|
|
11049
11270
|
"params": [
|
|
11050
11271
|
{
|
|
11051
11272
|
"path": "max_tokens",
|
|
@@ -11151,7 +11372,7 @@
|
|
|
11151
11372
|
{
|
|
11152
11373
|
"provider": "mistral",
|
|
11153
11374
|
"authType": "api_key",
|
|
11154
|
-
"model": "mistral-
|
|
11375
|
+
"model": "mistral-large-2512",
|
|
11155
11376
|
"params": [
|
|
11156
11377
|
{
|
|
11157
11378
|
"path": "max_tokens",
|
|
@@ -11240,7 +11461,8 @@
|
|
|
11240
11461
|
"default": "text",
|
|
11241
11462
|
"values": [
|
|
11242
11463
|
"text",
|
|
11243
|
-
"json_object"
|
|
11464
|
+
"json_object",
|
|
11465
|
+
"json_schema"
|
|
11244
11466
|
]
|
|
11245
11467
|
},
|
|
11246
11468
|
{
|
|
@@ -11256,7 +11478,7 @@
|
|
|
11256
11478
|
{
|
|
11257
11479
|
"provider": "mistral",
|
|
11258
11480
|
"authType": "api_key",
|
|
11259
|
-
"model": "mistral-
|
|
11481
|
+
"model": "mistral-large-latest",
|
|
11260
11482
|
"params": [
|
|
11261
11483
|
{
|
|
11262
11484
|
"path": "max_tokens",
|
|
@@ -11345,7 +11567,8 @@
|
|
|
11345
11567
|
"default": "text",
|
|
11346
11568
|
"values": [
|
|
11347
11569
|
"text",
|
|
11348
|
-
"json_object"
|
|
11570
|
+
"json_object",
|
|
11571
|
+
"json_schema"
|
|
11349
11572
|
]
|
|
11350
11573
|
},
|
|
11351
11574
|
{
|
|
@@ -11361,7 +11584,7 @@
|
|
|
11361
11584
|
{
|
|
11362
11585
|
"provider": "mistral",
|
|
11363
11586
|
"authType": "api_key",
|
|
11364
|
-
"model": "mistral-
|
|
11587
|
+
"model": "mistral-medium-3",
|
|
11365
11588
|
"params": [
|
|
11366
11589
|
{
|
|
11367
11590
|
"path": "max_tokens",
|
|
@@ -11450,7 +11673,8 @@
|
|
|
11450
11673
|
"default": "text",
|
|
11451
11674
|
"values": [
|
|
11452
11675
|
"text",
|
|
11453
|
-
"json_object"
|
|
11676
|
+
"json_object",
|
|
11677
|
+
"json_schema"
|
|
11454
11678
|
]
|
|
11455
11679
|
},
|
|
11456
11680
|
{
|
|
@@ -11466,7 +11690,7 @@
|
|
|
11466
11690
|
{
|
|
11467
11691
|
"provider": "mistral",
|
|
11468
11692
|
"authType": "api_key",
|
|
11469
|
-
"model": "
|
|
11693
|
+
"model": "mistral-medium-3.5",
|
|
11470
11694
|
"params": [
|
|
11471
11695
|
{
|
|
11472
11696
|
"path": "max_tokens",
|
|
@@ -11555,7 +11779,432 @@
|
|
|
11555
11779
|
"default": "text",
|
|
11556
11780
|
"values": [
|
|
11557
11781
|
"text",
|
|
11558
|
-
"json_object"
|
|
11782
|
+
"json_object",
|
|
11783
|
+
"json_schema"
|
|
11784
|
+
]
|
|
11785
|
+
},
|
|
11786
|
+
{
|
|
11787
|
+
"path": "safe_prompt",
|
|
11788
|
+
"label": "Safe prompt",
|
|
11789
|
+
"description": "Controls whether Mistral injects its safety prompt before the conversation.",
|
|
11790
|
+
"group": "provider_metadata",
|
|
11791
|
+
"type": "boolean",
|
|
11792
|
+
"default": false
|
|
11793
|
+
}
|
|
11794
|
+
]
|
|
11795
|
+
},
|
|
11796
|
+
{
|
|
11797
|
+
"provider": "mistral",
|
|
11798
|
+
"authType": "api_key",
|
|
11799
|
+
"model": "mistral-medium-latest",
|
|
11800
|
+
"params": [
|
|
11801
|
+
{
|
|
11802
|
+
"path": "max_tokens",
|
|
11803
|
+
"label": "Max tokens",
|
|
11804
|
+
"description": "Maximum number of tokens to generate in the completion.",
|
|
11805
|
+
"group": "generation_length",
|
|
11806
|
+
"type": "integer",
|
|
11807
|
+
"range": {
|
|
11808
|
+
"min": 1
|
|
11809
|
+
}
|
|
11810
|
+
},
|
|
11811
|
+
{
|
|
11812
|
+
"path": "stop",
|
|
11813
|
+
"label": "Stop sequence",
|
|
11814
|
+
"description": "Stops generation when this string is detected.",
|
|
11815
|
+
"group": "generation_length",
|
|
11816
|
+
"type": "string"
|
|
11817
|
+
},
|
|
11818
|
+
{
|
|
11819
|
+
"path": "temperature",
|
|
11820
|
+
"label": "Temperature",
|
|
11821
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
11822
|
+
"group": "sampling",
|
|
11823
|
+
"type": "number",
|
|
11824
|
+
"range": {
|
|
11825
|
+
"min": 0,
|
|
11826
|
+
"max": 1.5,
|
|
11827
|
+
"step": 0.1
|
|
11828
|
+
}
|
|
11829
|
+
},
|
|
11830
|
+
{
|
|
11831
|
+
"path": "top_p",
|
|
11832
|
+
"label": "Top P",
|
|
11833
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
11834
|
+
"group": "sampling",
|
|
11835
|
+
"type": "number",
|
|
11836
|
+
"default": 1,
|
|
11837
|
+
"range": {
|
|
11838
|
+
"min": 0.01,
|
|
11839
|
+
"max": 1,
|
|
11840
|
+
"step": 0.01
|
|
11841
|
+
}
|
|
11842
|
+
},
|
|
11843
|
+
{
|
|
11844
|
+
"path": "random_seed",
|
|
11845
|
+
"label": "Random seed",
|
|
11846
|
+
"description": "Seed used for deterministic sampling when reproducible outputs are desired.",
|
|
11847
|
+
"group": "sampling",
|
|
11848
|
+
"type": "integer",
|
|
11849
|
+
"range": {
|
|
11850
|
+
"min": 0
|
|
11851
|
+
}
|
|
11852
|
+
},
|
|
11853
|
+
{
|
|
11854
|
+
"path": "presence_penalty",
|
|
11855
|
+
"label": "Presence penalty",
|
|
11856
|
+
"description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.",
|
|
11857
|
+
"group": "sampling",
|
|
11858
|
+
"type": "number",
|
|
11859
|
+
"default": 0,
|
|
11860
|
+
"range": {
|
|
11861
|
+
"min": -2,
|
|
11862
|
+
"max": 2,
|
|
11863
|
+
"step": 0.1
|
|
11864
|
+
}
|
|
11865
|
+
},
|
|
11866
|
+
{
|
|
11867
|
+
"path": "frequency_penalty",
|
|
11868
|
+
"label": "Frequency penalty",
|
|
11869
|
+
"description": "Penalizes words based on how often they already appear in the generated text.",
|
|
11870
|
+
"group": "sampling",
|
|
11871
|
+
"type": "number",
|
|
11872
|
+
"default": 0,
|
|
11873
|
+
"range": {
|
|
11874
|
+
"min": -2,
|
|
11875
|
+
"max": 2,
|
|
11876
|
+
"step": 0.1
|
|
11877
|
+
}
|
|
11878
|
+
},
|
|
11879
|
+
{
|
|
11880
|
+
"path": "response_format.type",
|
|
11881
|
+
"label": "Response format",
|
|
11882
|
+
"description": "Controls whether the model returns normal text or JSON mode output.",
|
|
11883
|
+
"group": "output_format",
|
|
11884
|
+
"type": "enum",
|
|
11885
|
+
"default": "text",
|
|
11886
|
+
"values": [
|
|
11887
|
+
"text",
|
|
11888
|
+
"json_object",
|
|
11889
|
+
"json_schema"
|
|
11890
|
+
]
|
|
11891
|
+
},
|
|
11892
|
+
{
|
|
11893
|
+
"path": "safe_prompt",
|
|
11894
|
+
"label": "Safe prompt",
|
|
11895
|
+
"description": "Controls whether Mistral injects its safety prompt before the conversation.",
|
|
11896
|
+
"group": "provider_metadata",
|
|
11897
|
+
"type": "boolean",
|
|
11898
|
+
"default": false
|
|
11899
|
+
}
|
|
11900
|
+
]
|
|
11901
|
+
},
|
|
11902
|
+
{
|
|
11903
|
+
"provider": "mistral",
|
|
11904
|
+
"authType": "api_key",
|
|
11905
|
+
"model": "mistral-small-2603",
|
|
11906
|
+
"params": [
|
|
11907
|
+
{
|
|
11908
|
+
"path": "max_tokens",
|
|
11909
|
+
"label": "Max tokens",
|
|
11910
|
+
"description": "Maximum number of tokens to generate in the completion.",
|
|
11911
|
+
"group": "generation_length",
|
|
11912
|
+
"type": "integer",
|
|
11913
|
+
"range": {
|
|
11914
|
+
"min": 1
|
|
11915
|
+
}
|
|
11916
|
+
},
|
|
11917
|
+
{
|
|
11918
|
+
"path": "stop",
|
|
11919
|
+
"label": "Stop sequence",
|
|
11920
|
+
"description": "Stops generation when this string is detected.",
|
|
11921
|
+
"group": "generation_length",
|
|
11922
|
+
"type": "string"
|
|
11923
|
+
},
|
|
11924
|
+
{
|
|
11925
|
+
"path": "temperature",
|
|
11926
|
+
"label": "Temperature",
|
|
11927
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
11928
|
+
"group": "sampling",
|
|
11929
|
+
"type": "number",
|
|
11930
|
+
"range": {
|
|
11931
|
+
"min": 0,
|
|
11932
|
+
"max": 1.5,
|
|
11933
|
+
"step": 0.1
|
|
11934
|
+
}
|
|
11935
|
+
},
|
|
11936
|
+
{
|
|
11937
|
+
"path": "top_p",
|
|
11938
|
+
"label": "Top P",
|
|
11939
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
11940
|
+
"group": "sampling",
|
|
11941
|
+
"type": "number",
|
|
11942
|
+
"default": 1,
|
|
11943
|
+
"range": {
|
|
11944
|
+
"min": 0.01,
|
|
11945
|
+
"max": 1,
|
|
11946
|
+
"step": 0.01
|
|
11947
|
+
}
|
|
11948
|
+
},
|
|
11949
|
+
{
|
|
11950
|
+
"path": "random_seed",
|
|
11951
|
+
"label": "Random seed",
|
|
11952
|
+
"description": "Seed used for deterministic sampling when reproducible outputs are desired.",
|
|
11953
|
+
"group": "sampling",
|
|
11954
|
+
"type": "integer",
|
|
11955
|
+
"range": {
|
|
11956
|
+
"min": 0
|
|
11957
|
+
}
|
|
11958
|
+
},
|
|
11959
|
+
{
|
|
11960
|
+
"path": "presence_penalty",
|
|
11961
|
+
"label": "Presence penalty",
|
|
11962
|
+
"description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.",
|
|
11963
|
+
"group": "sampling",
|
|
11964
|
+
"type": "number",
|
|
11965
|
+
"default": 0,
|
|
11966
|
+
"range": {
|
|
11967
|
+
"min": -2,
|
|
11968
|
+
"max": 2,
|
|
11969
|
+
"step": 0.1
|
|
11970
|
+
}
|
|
11971
|
+
},
|
|
11972
|
+
{
|
|
11973
|
+
"path": "frequency_penalty",
|
|
11974
|
+
"label": "Frequency penalty",
|
|
11975
|
+
"description": "Penalizes words based on how often they already appear in the generated text.",
|
|
11976
|
+
"group": "sampling",
|
|
11977
|
+
"type": "number",
|
|
11978
|
+
"default": 0,
|
|
11979
|
+
"range": {
|
|
11980
|
+
"min": -2,
|
|
11981
|
+
"max": 2,
|
|
11982
|
+
"step": 0.1
|
|
11983
|
+
}
|
|
11984
|
+
},
|
|
11985
|
+
{
|
|
11986
|
+
"path": "response_format.type",
|
|
11987
|
+
"label": "Response format",
|
|
11988
|
+
"description": "Controls whether the model returns normal text or JSON mode output.",
|
|
11989
|
+
"group": "output_format",
|
|
11990
|
+
"type": "enum",
|
|
11991
|
+
"default": "text",
|
|
11992
|
+
"values": [
|
|
11993
|
+
"text",
|
|
11994
|
+
"json_object",
|
|
11995
|
+
"json_schema"
|
|
11996
|
+
]
|
|
11997
|
+
},
|
|
11998
|
+
{
|
|
11999
|
+
"path": "safe_prompt",
|
|
12000
|
+
"label": "Safe prompt",
|
|
12001
|
+
"description": "Controls whether Mistral injects its safety prompt before the conversation.",
|
|
12002
|
+
"group": "provider_metadata",
|
|
12003
|
+
"type": "boolean",
|
|
12004
|
+
"default": false
|
|
12005
|
+
}
|
|
12006
|
+
]
|
|
12007
|
+
},
|
|
12008
|
+
{
|
|
12009
|
+
"provider": "mistral",
|
|
12010
|
+
"authType": "api_key",
|
|
12011
|
+
"model": "mistral-small-latest",
|
|
12012
|
+
"params": [
|
|
12013
|
+
{
|
|
12014
|
+
"path": "max_tokens",
|
|
12015
|
+
"label": "Max tokens",
|
|
12016
|
+
"description": "Maximum number of tokens to generate in the completion.",
|
|
12017
|
+
"group": "generation_length",
|
|
12018
|
+
"type": "integer",
|
|
12019
|
+
"range": {
|
|
12020
|
+
"min": 1
|
|
12021
|
+
}
|
|
12022
|
+
},
|
|
12023
|
+
{
|
|
12024
|
+
"path": "stop",
|
|
12025
|
+
"label": "Stop sequence",
|
|
12026
|
+
"description": "Stops generation when this string is detected.",
|
|
12027
|
+
"group": "generation_length",
|
|
12028
|
+
"type": "string"
|
|
12029
|
+
},
|
|
12030
|
+
{
|
|
12031
|
+
"path": "temperature",
|
|
12032
|
+
"label": "Temperature",
|
|
12033
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
12034
|
+
"group": "sampling",
|
|
12035
|
+
"type": "number",
|
|
12036
|
+
"range": {
|
|
12037
|
+
"min": 0,
|
|
12038
|
+
"max": 1.5,
|
|
12039
|
+
"step": 0.1
|
|
12040
|
+
}
|
|
12041
|
+
},
|
|
12042
|
+
{
|
|
12043
|
+
"path": "top_p",
|
|
12044
|
+
"label": "Top P",
|
|
12045
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
12046
|
+
"group": "sampling",
|
|
12047
|
+
"type": "number",
|
|
12048
|
+
"default": 1,
|
|
12049
|
+
"range": {
|
|
12050
|
+
"min": 0.01,
|
|
12051
|
+
"max": 1,
|
|
12052
|
+
"step": 0.01
|
|
12053
|
+
}
|
|
12054
|
+
},
|
|
12055
|
+
{
|
|
12056
|
+
"path": "random_seed",
|
|
12057
|
+
"label": "Random seed",
|
|
12058
|
+
"description": "Seed used for deterministic sampling when reproducible outputs are desired.",
|
|
12059
|
+
"group": "sampling",
|
|
12060
|
+
"type": "integer",
|
|
12061
|
+
"range": {
|
|
12062
|
+
"min": 0
|
|
12063
|
+
}
|
|
12064
|
+
},
|
|
12065
|
+
{
|
|
12066
|
+
"path": "presence_penalty",
|
|
12067
|
+
"label": "Presence penalty",
|
|
12068
|
+
"description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.",
|
|
12069
|
+
"group": "sampling",
|
|
12070
|
+
"type": "number",
|
|
12071
|
+
"default": 0,
|
|
12072
|
+
"range": {
|
|
12073
|
+
"min": -2,
|
|
12074
|
+
"max": 2,
|
|
12075
|
+
"step": 0.1
|
|
12076
|
+
}
|
|
12077
|
+
},
|
|
12078
|
+
{
|
|
12079
|
+
"path": "frequency_penalty",
|
|
12080
|
+
"label": "Frequency penalty",
|
|
12081
|
+
"description": "Penalizes words based on how often they already appear in the generated text.",
|
|
12082
|
+
"group": "sampling",
|
|
12083
|
+
"type": "number",
|
|
12084
|
+
"default": 0,
|
|
12085
|
+
"range": {
|
|
12086
|
+
"min": -2,
|
|
12087
|
+
"max": 2,
|
|
12088
|
+
"step": 0.1
|
|
12089
|
+
}
|
|
12090
|
+
},
|
|
12091
|
+
{
|
|
12092
|
+
"path": "response_format.type",
|
|
12093
|
+
"label": "Response format",
|
|
12094
|
+
"description": "Controls whether the model returns normal text or JSON mode output.",
|
|
12095
|
+
"group": "output_format",
|
|
12096
|
+
"type": "enum",
|
|
12097
|
+
"default": "text",
|
|
12098
|
+
"values": [
|
|
12099
|
+
"text",
|
|
12100
|
+
"json_object",
|
|
12101
|
+
"json_schema"
|
|
12102
|
+
]
|
|
12103
|
+
},
|
|
12104
|
+
{
|
|
12105
|
+
"path": "safe_prompt",
|
|
12106
|
+
"label": "Safe prompt",
|
|
12107
|
+
"description": "Controls whether Mistral injects its safety prompt before the conversation.",
|
|
12108
|
+
"group": "provider_metadata",
|
|
12109
|
+
"type": "boolean",
|
|
12110
|
+
"default": false
|
|
12111
|
+
}
|
|
12112
|
+
]
|
|
12113
|
+
},
|
|
12114
|
+
{
|
|
12115
|
+
"provider": "mistral",
|
|
12116
|
+
"authType": "api_key",
|
|
12117
|
+
"model": "open-mistral-nemo",
|
|
12118
|
+
"params": [
|
|
12119
|
+
{
|
|
12120
|
+
"path": "max_tokens",
|
|
12121
|
+
"label": "Max tokens",
|
|
12122
|
+
"description": "Maximum number of tokens to generate in the completion.",
|
|
12123
|
+
"group": "generation_length",
|
|
12124
|
+
"type": "integer",
|
|
12125
|
+
"range": {
|
|
12126
|
+
"min": 1
|
|
12127
|
+
}
|
|
12128
|
+
},
|
|
12129
|
+
{
|
|
12130
|
+
"path": "stop",
|
|
12131
|
+
"label": "Stop sequence",
|
|
12132
|
+
"description": "Stops generation when this string is detected.",
|
|
12133
|
+
"group": "generation_length",
|
|
12134
|
+
"type": "string"
|
|
12135
|
+
},
|
|
12136
|
+
{
|
|
12137
|
+
"path": "temperature",
|
|
12138
|
+
"label": "Temperature",
|
|
12139
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
12140
|
+
"group": "sampling",
|
|
12141
|
+
"type": "number",
|
|
12142
|
+
"range": {
|
|
12143
|
+
"min": 0,
|
|
12144
|
+
"max": 1.5,
|
|
12145
|
+
"step": 0.1
|
|
12146
|
+
}
|
|
12147
|
+
},
|
|
12148
|
+
{
|
|
12149
|
+
"path": "top_p",
|
|
12150
|
+
"label": "Top P",
|
|
12151
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
12152
|
+
"group": "sampling",
|
|
12153
|
+
"type": "number",
|
|
12154
|
+
"default": 1,
|
|
12155
|
+
"range": {
|
|
12156
|
+
"min": 0.01,
|
|
12157
|
+
"max": 1,
|
|
12158
|
+
"step": 0.01
|
|
12159
|
+
}
|
|
12160
|
+
},
|
|
12161
|
+
{
|
|
12162
|
+
"path": "random_seed",
|
|
12163
|
+
"label": "Random seed",
|
|
12164
|
+
"description": "Seed used for deterministic sampling when reproducible outputs are desired.",
|
|
12165
|
+
"group": "sampling",
|
|
12166
|
+
"type": "integer",
|
|
12167
|
+
"range": {
|
|
12168
|
+
"min": 0
|
|
12169
|
+
}
|
|
12170
|
+
},
|
|
12171
|
+
{
|
|
12172
|
+
"path": "presence_penalty",
|
|
12173
|
+
"label": "Presence penalty",
|
|
12174
|
+
"description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.",
|
|
12175
|
+
"group": "sampling",
|
|
12176
|
+
"type": "number",
|
|
12177
|
+
"default": 0,
|
|
12178
|
+
"range": {
|
|
12179
|
+
"min": -2,
|
|
12180
|
+
"max": 2,
|
|
12181
|
+
"step": 0.1
|
|
12182
|
+
}
|
|
12183
|
+
},
|
|
12184
|
+
{
|
|
12185
|
+
"path": "frequency_penalty",
|
|
12186
|
+
"label": "Frequency penalty",
|
|
12187
|
+
"description": "Penalizes words based on how often they already appear in the generated text.",
|
|
12188
|
+
"group": "sampling",
|
|
12189
|
+
"type": "number",
|
|
12190
|
+
"default": 0,
|
|
12191
|
+
"range": {
|
|
12192
|
+
"min": -2,
|
|
12193
|
+
"max": 2,
|
|
12194
|
+
"step": 0.1
|
|
12195
|
+
}
|
|
12196
|
+
},
|
|
12197
|
+
{
|
|
12198
|
+
"path": "response_format.type",
|
|
12199
|
+
"label": "Response format",
|
|
12200
|
+
"description": "Controls whether the model returns normal text or JSON mode output.",
|
|
12201
|
+
"group": "output_format",
|
|
12202
|
+
"type": "enum",
|
|
12203
|
+
"default": "text",
|
|
12204
|
+
"values": [
|
|
12205
|
+
"text",
|
|
12206
|
+
"json_object",
|
|
12207
|
+
"json_schema"
|
|
11559
12208
|
]
|
|
11560
12209
|
},
|
|
11561
12210
|
{
|
|
@@ -123,12 +123,18 @@ ModelId = Literal[
|
|
|
123
123
|
"mistral/devstral-latest",
|
|
124
124
|
"mistral/magistral-medium-latest",
|
|
125
125
|
"mistral/magistral-small-latest",
|
|
126
|
+
"mistral/ministral-14b-2512",
|
|
126
127
|
"mistral/ministral-14b-latest",
|
|
128
|
+
"mistral/ministral-3b-2512",
|
|
127
129
|
"mistral/ministral-3b-latest",
|
|
130
|
+
"mistral/ministral-8b-2512",
|
|
128
131
|
"mistral/ministral-8b-latest",
|
|
132
|
+
"mistral/mistral-large-2512",
|
|
129
133
|
"mistral/mistral-large-latest",
|
|
134
|
+
"mistral/mistral-medium-3",
|
|
130
135
|
"mistral/mistral-medium-3.5",
|
|
131
136
|
"mistral/mistral-medium-latest",
|
|
137
|
+
"mistral/mistral-small-2603",
|
|
132
138
|
"mistral/mistral-small-latest",
|
|
133
139
|
"mistral/open-mistral-nemo",
|
|
134
140
|
"moonshot/kimi-k2.5",
|
|
@@ -374,12 +380,18 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
374
380
|
"mistral/devstral-latest",
|
|
375
381
|
"mistral/magistral-medium-latest",
|
|
376
382
|
"mistral/magistral-small-latest",
|
|
383
|
+
"mistral/ministral-14b-2512",
|
|
377
384
|
"mistral/ministral-14b-latest",
|
|
385
|
+
"mistral/ministral-3b-2512",
|
|
378
386
|
"mistral/ministral-3b-latest",
|
|
387
|
+
"mistral/ministral-8b-2512",
|
|
379
388
|
"mistral/ministral-8b-latest",
|
|
389
|
+
"mistral/mistral-large-2512",
|
|
380
390
|
"mistral/mistral-large-latest",
|
|
391
|
+
"mistral/mistral-medium-3",
|
|
381
392
|
"mistral/mistral-medium-3.5",
|
|
382
393
|
"mistral/mistral-medium-latest",
|
|
394
|
+
"mistral/mistral-small-2603",
|
|
383
395
|
"mistral/mistral-small-latest",
|
|
384
396
|
"mistral/open-mistral-nemo",
|
|
385
397
|
"moonshot/kimi-k2.5",
|
|
@@ -144,12 +144,18 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
144
144
|
"mistral/devstral-latest": mistral.Devstral_LatestParams,
|
|
145
145
|
"mistral/magistral-medium-latest": mistral.Magistral_Medium_LatestParams,
|
|
146
146
|
"mistral/magistral-small-latest": mistral.Magistral_Small_LatestParams,
|
|
147
|
+
"mistral/ministral-14b-2512": mistral.Ministral_14b_2512Params,
|
|
147
148
|
"mistral/ministral-14b-latest": mistral.Ministral_14b_LatestParams,
|
|
149
|
+
"mistral/ministral-3b-2512": mistral.Ministral_3b_2512Params,
|
|
148
150
|
"mistral/ministral-3b-latest": mistral.Ministral_3b_LatestParams,
|
|
151
|
+
"mistral/ministral-8b-2512": mistral.Ministral_8b_2512Params,
|
|
149
152
|
"mistral/ministral-8b-latest": mistral.Ministral_8b_LatestParams,
|
|
153
|
+
"mistral/mistral-large-2512": mistral.Mistral_Large_2512Params,
|
|
150
154
|
"mistral/mistral-large-latest": mistral.Mistral_Large_LatestParams,
|
|
155
|
+
"mistral/mistral-medium-3": mistral.Mistral_Medium_3Params,
|
|
151
156
|
"mistral/mistral-medium-3.5": mistral.Mistral_Medium_3_5Params,
|
|
152
157
|
"mistral/mistral-medium-latest": mistral.Mistral_Medium_LatestParams,
|
|
158
|
+
"mistral/mistral-small-2603": mistral.Mistral_Small_2603Params,
|
|
153
159
|
"mistral/mistral-small-latest": mistral.Mistral_Small_LatestParams,
|
|
154
160
|
"mistral/open-mistral-nemo": mistral.Open_Mistral_NemoParams,
|
|
155
161
|
"moonshot/kimi-k2.5": moonshot.Kimi_K2_5Params,
|
|
@@ -20,7 +20,7 @@ Codestral_2508Params = TypedDict(
|
|
|
20
20
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
21
21
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
22
22
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
23
|
-
"response_format.type": Literal["text", "json_object"],
|
|
23
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
24
24
|
"safe_prompt": bool,
|
|
25
25
|
},
|
|
26
26
|
total=False,
|
|
@@ -37,7 +37,7 @@ Codestral_LatestParams = TypedDict(
|
|
|
37
37
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
38
38
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
39
39
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
40
|
-
"response_format.type": Literal["text", "json_object"],
|
|
40
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
41
41
|
"safe_prompt": bool,
|
|
42
42
|
},
|
|
43
43
|
total=False,
|
|
@@ -54,7 +54,7 @@ Devstral_2512Params = TypedDict(
|
|
|
54
54
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
55
55
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
56
56
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
57
|
-
"response_format.type": Literal["text", "json_object"],
|
|
57
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
58
58
|
"safe_prompt": bool,
|
|
59
59
|
},
|
|
60
60
|
total=False,
|
|
@@ -71,7 +71,7 @@ Devstral_LatestParams = TypedDict(
|
|
|
71
71
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
72
72
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
73
73
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
74
|
-
"response_format.type": Literal["text", "json_object"],
|
|
74
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
75
75
|
"safe_prompt": bool,
|
|
76
76
|
},
|
|
77
77
|
total=False,
|
|
@@ -89,7 +89,7 @@ Magistral_Medium_LatestParams = TypedDict(
|
|
|
89
89
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
90
90
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
91
91
|
"prompt_mode": Literal["reasoning"],
|
|
92
|
-
"response_format.type": Literal["text", "json_object"],
|
|
92
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
93
93
|
"safe_prompt": bool,
|
|
94
94
|
},
|
|
95
95
|
total=False,
|
|
@@ -107,13 +107,30 @@ Magistral_Small_LatestParams = TypedDict(
|
|
|
107
107
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
108
108
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
109
109
|
"prompt_mode": Literal["reasoning"],
|
|
110
|
-
"response_format.type": Literal["text", "json_object"],
|
|
110
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
111
111
|
"safe_prompt": bool,
|
|
112
112
|
},
|
|
113
113
|
total=False,
|
|
114
114
|
)
|
|
115
115
|
setattr(Magistral_Small_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
116
116
|
|
|
117
|
+
Ministral_14b_2512Params = TypedDict(
|
|
118
|
+
"Ministral_14b_2512Params",
|
|
119
|
+
{
|
|
120
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
121
|
+
"stop": str,
|
|
122
|
+
"temperature": Annotated[float, Field(ge=0, le=1.5)],
|
|
123
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
124
|
+
"random_seed": Annotated[int, Field(ge=0)],
|
|
125
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
126
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
127
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
128
|
+
"safe_prompt": bool,
|
|
129
|
+
},
|
|
130
|
+
total=False,
|
|
131
|
+
)
|
|
132
|
+
setattr(Ministral_14b_2512Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
133
|
+
|
|
117
134
|
Ministral_14b_LatestParams = TypedDict(
|
|
118
135
|
"Ministral_14b_LatestParams",
|
|
119
136
|
{
|
|
@@ -124,13 +141,30 @@ Ministral_14b_LatestParams = TypedDict(
|
|
|
124
141
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
125
142
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
126
143
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
127
|
-
"response_format.type": Literal["text", "json_object"],
|
|
144
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
128
145
|
"safe_prompt": bool,
|
|
129
146
|
},
|
|
130
147
|
total=False,
|
|
131
148
|
)
|
|
132
149
|
setattr(Ministral_14b_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
133
150
|
|
|
151
|
+
Ministral_3b_2512Params = TypedDict(
|
|
152
|
+
"Ministral_3b_2512Params",
|
|
153
|
+
{
|
|
154
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
155
|
+
"stop": str,
|
|
156
|
+
"temperature": Annotated[float, Field(ge=0, le=1.5)],
|
|
157
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
158
|
+
"random_seed": Annotated[int, Field(ge=0)],
|
|
159
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
160
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
161
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
162
|
+
"safe_prompt": bool,
|
|
163
|
+
},
|
|
164
|
+
total=False,
|
|
165
|
+
)
|
|
166
|
+
setattr(Ministral_3b_2512Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
167
|
+
|
|
134
168
|
Ministral_3b_LatestParams = TypedDict(
|
|
135
169
|
"Ministral_3b_LatestParams",
|
|
136
170
|
{
|
|
@@ -141,13 +175,30 @@ Ministral_3b_LatestParams = TypedDict(
|
|
|
141
175
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
142
176
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
143
177
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
144
|
-
"response_format.type": Literal["text", "json_object"],
|
|
178
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
145
179
|
"safe_prompt": bool,
|
|
146
180
|
},
|
|
147
181
|
total=False,
|
|
148
182
|
)
|
|
149
183
|
setattr(Ministral_3b_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
150
184
|
|
|
185
|
+
Ministral_8b_2512Params = TypedDict(
|
|
186
|
+
"Ministral_8b_2512Params",
|
|
187
|
+
{
|
|
188
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
189
|
+
"stop": str,
|
|
190
|
+
"temperature": Annotated[float, Field(ge=0, le=1.5)],
|
|
191
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
192
|
+
"random_seed": Annotated[int, Field(ge=0)],
|
|
193
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
194
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
195
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
196
|
+
"safe_prompt": bool,
|
|
197
|
+
},
|
|
198
|
+
total=False,
|
|
199
|
+
)
|
|
200
|
+
setattr(Ministral_8b_2512Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
201
|
+
|
|
151
202
|
Ministral_8b_LatestParams = TypedDict(
|
|
152
203
|
"Ministral_8b_LatestParams",
|
|
153
204
|
{
|
|
@@ -158,13 +209,30 @@ Ministral_8b_LatestParams = TypedDict(
|
|
|
158
209
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
159
210
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
160
211
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
161
|
-
"response_format.type": Literal["text", "json_object"],
|
|
212
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
162
213
|
"safe_prompt": bool,
|
|
163
214
|
},
|
|
164
215
|
total=False,
|
|
165
216
|
)
|
|
166
217
|
setattr(Ministral_8b_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
167
218
|
|
|
219
|
+
Mistral_Large_2512Params = TypedDict(
|
|
220
|
+
"Mistral_Large_2512Params",
|
|
221
|
+
{
|
|
222
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
223
|
+
"stop": str,
|
|
224
|
+
"temperature": Annotated[float, Field(ge=0, le=1.5)],
|
|
225
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
226
|
+
"random_seed": Annotated[int, Field(ge=0)],
|
|
227
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
228
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
229
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
230
|
+
"safe_prompt": bool,
|
|
231
|
+
},
|
|
232
|
+
total=False,
|
|
233
|
+
)
|
|
234
|
+
setattr(Mistral_Large_2512Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
235
|
+
|
|
168
236
|
Mistral_Large_LatestParams = TypedDict(
|
|
169
237
|
"Mistral_Large_LatestParams",
|
|
170
238
|
{
|
|
@@ -182,6 +250,23 @@ Mistral_Large_LatestParams = TypedDict(
|
|
|
182
250
|
)
|
|
183
251
|
setattr(Mistral_Large_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
184
252
|
|
|
253
|
+
Mistral_Medium_3Params = TypedDict(
|
|
254
|
+
"Mistral_Medium_3Params",
|
|
255
|
+
{
|
|
256
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
257
|
+
"stop": str,
|
|
258
|
+
"temperature": Annotated[float, Field(ge=0, le=1.5)],
|
|
259
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
260
|
+
"random_seed": Annotated[int, Field(ge=0)],
|
|
261
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
262
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
263
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
264
|
+
"safe_prompt": bool,
|
|
265
|
+
},
|
|
266
|
+
total=False,
|
|
267
|
+
)
|
|
268
|
+
setattr(Mistral_Medium_3Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
269
|
+
|
|
185
270
|
Mistral_Medium_3_5Params = TypedDict(
|
|
186
271
|
"Mistral_Medium_3_5Params",
|
|
187
272
|
{
|
|
@@ -192,7 +277,7 @@ Mistral_Medium_3_5Params = TypedDict(
|
|
|
192
277
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
193
278
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
194
279
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
195
|
-
"response_format.type": Literal["text", "json_object"],
|
|
280
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
196
281
|
"safe_prompt": bool,
|
|
197
282
|
},
|
|
198
283
|
total=False,
|
|
@@ -209,13 +294,30 @@ Mistral_Medium_LatestParams = TypedDict(
|
|
|
209
294
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
210
295
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
211
296
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
212
|
-
"response_format.type": Literal["text", "json_object"],
|
|
297
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
213
298
|
"safe_prompt": bool,
|
|
214
299
|
},
|
|
215
300
|
total=False,
|
|
216
301
|
)
|
|
217
302
|
setattr(Mistral_Medium_LatestParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
218
303
|
|
|
304
|
+
Mistral_Small_2603Params = TypedDict(
|
|
305
|
+
"Mistral_Small_2603Params",
|
|
306
|
+
{
|
|
307
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
308
|
+
"stop": str,
|
|
309
|
+
"temperature": Annotated[float, Field(ge=0, le=1.5)],
|
|
310
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
311
|
+
"random_seed": Annotated[int, Field(ge=0)],
|
|
312
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
313
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
314
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
315
|
+
"safe_prompt": bool,
|
|
316
|
+
},
|
|
317
|
+
total=False,
|
|
318
|
+
)
|
|
319
|
+
setattr(Mistral_Small_2603Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
320
|
+
|
|
219
321
|
Mistral_Small_LatestParams = TypedDict(
|
|
220
322
|
"Mistral_Small_LatestParams",
|
|
221
323
|
{
|
|
@@ -226,7 +328,7 @@ Mistral_Small_LatestParams = TypedDict(
|
|
|
226
328
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
227
329
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
228
330
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
229
|
-
"response_format.type": Literal["text", "json_object"],
|
|
331
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
230
332
|
"safe_prompt": bool,
|
|
231
333
|
},
|
|
232
334
|
total=False,
|
|
@@ -243,7 +345,7 @@ Open_Mistral_NemoParams = TypedDict(
|
|
|
243
345
|
"random_seed": Annotated[int, Field(ge=0)],
|
|
244
346
|
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
245
347
|
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
246
|
-
"response_format.type": Literal["text", "json_object"],
|
|
348
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
247
349
|
"safe_prompt": bool,
|
|
248
350
|
},
|
|
249
351
|
total=False,
|
|
@@ -257,12 +359,18 @@ __all__ = [
|
|
|
257
359
|
"Devstral_LatestParams",
|
|
258
360
|
"Magistral_Medium_LatestParams",
|
|
259
361
|
"Magistral_Small_LatestParams",
|
|
362
|
+
"Ministral_14b_2512Params",
|
|
260
363
|
"Ministral_14b_LatestParams",
|
|
364
|
+
"Ministral_3b_2512Params",
|
|
261
365
|
"Ministral_3b_LatestParams",
|
|
366
|
+
"Ministral_8b_2512Params",
|
|
262
367
|
"Ministral_8b_LatestParams",
|
|
368
|
+
"Mistral_Large_2512Params",
|
|
263
369
|
"Mistral_Large_LatestParams",
|
|
370
|
+
"Mistral_Medium_3Params",
|
|
264
371
|
"Mistral_Medium_3_5Params",
|
|
265
372
|
"Mistral_Medium_LatestParams",
|
|
373
|
+
"Mistral_Small_2603Params",
|
|
266
374
|
"Mistral_Small_LatestParams",
|
|
267
375
|
"Open_Mistral_NemoParams",
|
|
268
376
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|