modelparams 0.0.24__tar.gz → 0.0.26__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.24 → modelparams-0.0.26}/PKG-INFO +1 -1
- {modelparams-0.0.24 → modelparams-0.0.26}/pyproject.toml +1 -1
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/_generated/catalog.json +187 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/_generated/model_ids.py +4 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/_generated/registry.py +2 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/google.py +34 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/.gitignore +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/LICENSE +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/README.md +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/models.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.26}/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.26
|
|
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
|
|
@@ -8957,6 +8957,100 @@
|
|
|
8957
8957
|
}
|
|
8958
8958
|
]
|
|
8959
8959
|
},
|
|
8960
|
+
{
|
|
8961
|
+
"provider": "google",
|
|
8962
|
+
"authType": "api_key",
|
|
8963
|
+
"model": "gemini-3.1-flash-image",
|
|
8964
|
+
"params": [
|
|
8965
|
+
{
|
|
8966
|
+
"path": "generationConfig.maxOutputTokens",
|
|
8967
|
+
"label": "Max output tokens",
|
|
8968
|
+
"description": "Maximum number of tokens to include in a response candidate.",
|
|
8969
|
+
"group": "generation_length",
|
|
8970
|
+
"type": "integer",
|
|
8971
|
+
"range": {
|
|
8972
|
+
"min": 1,
|
|
8973
|
+
"max": 65536
|
|
8974
|
+
}
|
|
8975
|
+
},
|
|
8976
|
+
{
|
|
8977
|
+
"path": "generationConfig.temperature",
|
|
8978
|
+
"label": "Temperature",
|
|
8979
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
8980
|
+
"group": "sampling",
|
|
8981
|
+
"type": "number",
|
|
8982
|
+
"default": 1,
|
|
8983
|
+
"range": {
|
|
8984
|
+
"min": 0,
|
|
8985
|
+
"max": 2,
|
|
8986
|
+
"step": 0.1
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
"path": "generationConfig.topP",
|
|
8991
|
+
"label": "Top P",
|
|
8992
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
8993
|
+
"group": "sampling",
|
|
8994
|
+
"type": "number",
|
|
8995
|
+
"default": 0.95,
|
|
8996
|
+
"range": {
|
|
8997
|
+
"min": 0,
|
|
8998
|
+
"max": 1,
|
|
8999
|
+
"step": 0.01
|
|
9000
|
+
}
|
|
9001
|
+
},
|
|
9002
|
+
{
|
|
9003
|
+
"path": "generationConfig.topK",
|
|
9004
|
+
"label": "Top K",
|
|
9005
|
+
"description": "Limits token sampling to the top K most likely next tokens.",
|
|
9006
|
+
"group": "sampling",
|
|
9007
|
+
"type": "integer",
|
|
9008
|
+
"default": 64,
|
|
9009
|
+
"range": {
|
|
9010
|
+
"min": 0
|
|
9011
|
+
}
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
"path": "generationConfig.seed",
|
|
9015
|
+
"label": "Seed",
|
|
9016
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
9017
|
+
"group": "sampling",
|
|
9018
|
+
"type": "integer"
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
"path": "generationConfig.thinkingConfig.thinkingLevel",
|
|
9022
|
+
"label": "Thinking level",
|
|
9023
|
+
"description": "Controls Gemini 3.1 Flash-Lite reasoning effort.",
|
|
9024
|
+
"group": "reasoning",
|
|
9025
|
+
"type": "enum",
|
|
9026
|
+
"default": "minimal",
|
|
9027
|
+
"values": [
|
|
9028
|
+
"minimal",
|
|
9029
|
+
"high"
|
|
9030
|
+
]
|
|
9031
|
+
},
|
|
9032
|
+
{
|
|
9033
|
+
"path": "generationConfig.thinkingConfig.includeThoughts",
|
|
9034
|
+
"label": "Include thoughts",
|
|
9035
|
+
"description": "Controls whether Gemini returns available thought summaries in the response parts.",
|
|
9036
|
+
"group": "reasoning",
|
|
9037
|
+
"type": "boolean",
|
|
9038
|
+
"default": false
|
|
9039
|
+
},
|
|
9040
|
+
{
|
|
9041
|
+
"path": "generationConfig.responseMimeType",
|
|
9042
|
+
"label": "Response MIME type",
|
|
9043
|
+
"description": "MIME type for generated text candidates.",
|
|
9044
|
+
"group": "output_format",
|
|
9045
|
+
"type": "enum",
|
|
9046
|
+
"default": "text/plain",
|
|
9047
|
+
"values": [
|
|
9048
|
+
"text/plain",
|
|
9049
|
+
"application/json"
|
|
9050
|
+
]
|
|
9051
|
+
}
|
|
9052
|
+
]
|
|
9053
|
+
},
|
|
8960
9054
|
{
|
|
8961
9055
|
"provider": "google",
|
|
8962
9056
|
"authType": "api_key",
|
|
@@ -9053,6 +9147,99 @@
|
|
|
9053
9147
|
}
|
|
9054
9148
|
]
|
|
9055
9149
|
},
|
|
9150
|
+
{
|
|
9151
|
+
"provider": "google",
|
|
9152
|
+
"authType": "api_key",
|
|
9153
|
+
"model": "gemini-3.1-flash-lite-image",
|
|
9154
|
+
"params": [
|
|
9155
|
+
{
|
|
9156
|
+
"path": "generationConfig.maxOutputTokens",
|
|
9157
|
+
"label": "Max output tokens",
|
|
9158
|
+
"description": "Maximum number of tokens to include in a response candidate.",
|
|
9159
|
+
"group": "generation_length",
|
|
9160
|
+
"type": "integer",
|
|
9161
|
+
"range": {
|
|
9162
|
+
"min": 1,
|
|
9163
|
+
"max": 65536
|
|
9164
|
+
}
|
|
9165
|
+
},
|
|
9166
|
+
{
|
|
9167
|
+
"path": "generationConfig.temperature",
|
|
9168
|
+
"label": "Temperature",
|
|
9169
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
9170
|
+
"group": "sampling",
|
|
9171
|
+
"type": "number",
|
|
9172
|
+
"default": 1,
|
|
9173
|
+
"range": {
|
|
9174
|
+
"min": 0,
|
|
9175
|
+
"max": 2,
|
|
9176
|
+
"step": 0.1
|
|
9177
|
+
}
|
|
9178
|
+
},
|
|
9179
|
+
{
|
|
9180
|
+
"path": "generationConfig.topP",
|
|
9181
|
+
"label": "Top P",
|
|
9182
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
9183
|
+
"group": "sampling",
|
|
9184
|
+
"type": "number",
|
|
9185
|
+
"default": 0.95,
|
|
9186
|
+
"range": {
|
|
9187
|
+
"min": 0,
|
|
9188
|
+
"max": 1,
|
|
9189
|
+
"step": 0.01
|
|
9190
|
+
}
|
|
9191
|
+
},
|
|
9192
|
+
{
|
|
9193
|
+
"path": "generationConfig.topK",
|
|
9194
|
+
"label": "Top K",
|
|
9195
|
+
"description": "Limits token sampling to the top K most likely next tokens.",
|
|
9196
|
+
"group": "sampling",
|
|
9197
|
+
"type": "integer",
|
|
9198
|
+
"default": 64,
|
|
9199
|
+
"range": {
|
|
9200
|
+
"min": 0
|
|
9201
|
+
}
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
"path": "generationConfig.seed",
|
|
9205
|
+
"label": "Seed",
|
|
9206
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
9207
|
+
"group": "sampling",
|
|
9208
|
+
"type": "integer"
|
|
9209
|
+
},
|
|
9210
|
+
{
|
|
9211
|
+
"path": "generationConfig.thinkingConfig.thinkingLevel",
|
|
9212
|
+
"label": "Thinking level",
|
|
9213
|
+
"description": "Controls Gemini 3.1 Flash-Lite reasoning effort.",
|
|
9214
|
+
"group": "reasoning",
|
|
9215
|
+
"type": "enum",
|
|
9216
|
+
"default": "minimal",
|
|
9217
|
+
"values": [
|
|
9218
|
+
"minimal",
|
|
9219
|
+
"high"
|
|
9220
|
+
]
|
|
9221
|
+
},
|
|
9222
|
+
{
|
|
9223
|
+
"path": "generationConfig.thinkingConfig.includeThoughts",
|
|
9224
|
+
"label": "Include thoughts",
|
|
9225
|
+
"description": "Controls whether Gemini returns available thought summaries in the response parts.",
|
|
9226
|
+
"group": "reasoning",
|
|
9227
|
+
"type": "boolean",
|
|
9228
|
+
"default": false
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
"path": "generationConfig.responseMimeType",
|
|
9232
|
+
"label": "Response MIME type",
|
|
9233
|
+
"description": "MIME type for generated text candidates.",
|
|
9234
|
+
"group": "output_format",
|
|
9235
|
+
"type": "enum",
|
|
9236
|
+
"default": "text/plain",
|
|
9237
|
+
"values": [
|
|
9238
|
+
"text/plain"
|
|
9239
|
+
]
|
|
9240
|
+
}
|
|
9241
|
+
]
|
|
9242
|
+
},
|
|
9056
9243
|
{
|
|
9057
9244
|
"provider": "google",
|
|
9058
9245
|
"authType": "subscription",
|
|
@@ -99,7 +99,9 @@ ModelId = Literal[
|
|
|
99
99
|
"google/gemini-2.5-pro-subscription",
|
|
100
100
|
"google/gemini-3-flash-preview-subscription",
|
|
101
101
|
"google/gemini-3-pro-image",
|
|
102
|
+
"google/gemini-3.1-flash-image",
|
|
102
103
|
"google/gemini-3.1-flash-lite",
|
|
104
|
+
"google/gemini-3.1-flash-lite-image",
|
|
103
105
|
"google/gemini-3.1-flash-lite-preview-subscription",
|
|
104
106
|
"google/gemini-3.1-flash-lite-subscription",
|
|
105
107
|
"google/gemini-3.1-pro-preview-subscription",
|
|
@@ -382,7 +384,9 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
382
384
|
"google/gemini-2.5-pro-subscription",
|
|
383
385
|
"google/gemini-3-flash-preview-subscription",
|
|
384
386
|
"google/gemini-3-pro-image",
|
|
387
|
+
"google/gemini-3.1-flash-image",
|
|
385
388
|
"google/gemini-3.1-flash-lite",
|
|
389
|
+
"google/gemini-3.1-flash-lite-image",
|
|
386
390
|
"google/gemini-3.1-flash-lite-preview-subscription",
|
|
387
391
|
"google/gemini-3.1-flash-lite-subscription",
|
|
388
392
|
"google/gemini-3.1-pro-preview-subscription",
|
|
@@ -120,7 +120,9 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
120
120
|
"google/gemini-2.5-pro-subscription": google.Gemini_2_5_Pro_SubscriptionParams,
|
|
121
121
|
"google/gemini-3-flash-preview-subscription": google.Gemini_3_Flash_Preview_SubscriptionParams,
|
|
122
122
|
"google/gemini-3-pro-image": google.Gemini_3_Pro_ImageParams,
|
|
123
|
+
"google/gemini-3.1-flash-image": google.Gemini_3_1_Flash_ImageParams,
|
|
123
124
|
"google/gemini-3.1-flash-lite": google.Gemini_3_1_Flash_LiteParams,
|
|
125
|
+
"google/gemini-3.1-flash-lite-image": google.Gemini_3_1_Flash_Lite_ImageParams,
|
|
124
126
|
"google/gemini-3.1-flash-lite-preview-subscription": google.Gemini_3_1_Flash_Lite_Preview_SubscriptionParams,
|
|
125
127
|
"google/gemini-3.1-flash-lite-subscription": google.Gemini_3_1_Flash_Lite_SubscriptionParams,
|
|
126
128
|
"google/gemini-3.1-pro-preview-subscription": google.Gemini_3_1_Pro_Preview_SubscriptionParams,
|
|
@@ -138,6 +138,22 @@ Gemini_3_Pro_ImageParams = TypedDict(
|
|
|
138
138
|
)
|
|
139
139
|
setattr(Gemini_3_Pro_ImageParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
140
140
|
|
|
141
|
+
Gemini_3_1_Flash_ImageParams = TypedDict(
|
|
142
|
+
"Gemini_3_1_Flash_ImageParams",
|
|
143
|
+
{
|
|
144
|
+
"generationConfig.maxOutputTokens": Annotated[int, Field(ge=1, le=65536)],
|
|
145
|
+
"generationConfig.temperature": Annotated[float, Field(ge=0, le=2)],
|
|
146
|
+
"generationConfig.topP": Annotated[float, Field(ge=0, le=1)],
|
|
147
|
+
"generationConfig.topK": Annotated[int, Field(ge=0)],
|
|
148
|
+
"generationConfig.seed": int,
|
|
149
|
+
"generationConfig.thinkingConfig.thinkingLevel": Literal["minimal", "high"],
|
|
150
|
+
"generationConfig.thinkingConfig.includeThoughts": bool,
|
|
151
|
+
"generationConfig.responseMimeType": Literal["text/plain", "application/json"],
|
|
152
|
+
},
|
|
153
|
+
total=False,
|
|
154
|
+
)
|
|
155
|
+
setattr(Gemini_3_1_Flash_ImageParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
156
|
+
|
|
141
157
|
Gemini_3_1_Flash_LiteParams = TypedDict(
|
|
142
158
|
"Gemini_3_1_Flash_LiteParams",
|
|
143
159
|
{
|
|
@@ -154,6 +170,22 @@ Gemini_3_1_Flash_LiteParams = TypedDict(
|
|
|
154
170
|
)
|
|
155
171
|
setattr(Gemini_3_1_Flash_LiteParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
156
172
|
|
|
173
|
+
Gemini_3_1_Flash_Lite_ImageParams = TypedDict(
|
|
174
|
+
"Gemini_3_1_Flash_Lite_ImageParams",
|
|
175
|
+
{
|
|
176
|
+
"generationConfig.maxOutputTokens": Annotated[int, Field(ge=1, le=65536)],
|
|
177
|
+
"generationConfig.temperature": Annotated[float, Field(ge=0, le=2)],
|
|
178
|
+
"generationConfig.topP": Annotated[float, Field(ge=0, le=1)],
|
|
179
|
+
"generationConfig.topK": Annotated[int, Field(ge=0)],
|
|
180
|
+
"generationConfig.seed": int,
|
|
181
|
+
"generationConfig.thinkingConfig.thinkingLevel": Literal["minimal", "high"],
|
|
182
|
+
"generationConfig.thinkingConfig.includeThoughts": bool,
|
|
183
|
+
"generationConfig.responseMimeType": Literal["text/plain"],
|
|
184
|
+
},
|
|
185
|
+
total=False,
|
|
186
|
+
)
|
|
187
|
+
setattr(Gemini_3_1_Flash_Lite_ImageParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
188
|
+
|
|
157
189
|
Gemini_3_1_Flash_Lite_Preview_SubscriptionParams = TypedDict(
|
|
158
190
|
"Gemini_3_1_Flash_Lite_Preview_SubscriptionParams",
|
|
159
191
|
{
|
|
@@ -433,7 +465,9 @@ __all__ = [
|
|
|
433
465
|
"Gemini_2_5_Pro_SubscriptionParams",
|
|
434
466
|
"Gemini_3_Flash_Preview_SubscriptionParams",
|
|
435
467
|
"Gemini_3_Pro_ImageParams",
|
|
468
|
+
"Gemini_3_1_Flash_ImageParams",
|
|
436
469
|
"Gemini_3_1_Flash_LiteParams",
|
|
470
|
+
"Gemini_3_1_Flash_Lite_ImageParams",
|
|
437
471
|
"Gemini_3_1_Flash_Lite_Preview_SubscriptionParams",
|
|
438
472
|
"Gemini_3_1_Flash_Lite_SubscriptionParams",
|
|
439
473
|
"Gemini_3_1_Pro_Preview_SubscriptionParams",
|
|
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
|