modelparams 0.0.25__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.25 → modelparams-0.0.26}/PKG-INFO +1 -1
- {modelparams-0.0.25 → modelparams-0.0.26}/pyproject.toml +1 -1
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/_generated/catalog.json +93 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/google.py +17 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/.gitignore +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/LICENSE +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/README.md +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/models.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.25 → modelparams-0.0.26}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.25 → 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
|
|
@@ -9147,6 +9147,99 @@
|
|
|
9147
9147
|
}
|
|
9148
9148
|
]
|
|
9149
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
|
+
},
|
|
9150
9243
|
{
|
|
9151
9244
|
"provider": "google",
|
|
9152
9245
|
"authType": "subscription",
|
|
@@ -101,6 +101,7 @@ ModelId = Literal[
|
|
|
101
101
|
"google/gemini-3-pro-image",
|
|
102
102
|
"google/gemini-3.1-flash-image",
|
|
103
103
|
"google/gemini-3.1-flash-lite",
|
|
104
|
+
"google/gemini-3.1-flash-lite-image",
|
|
104
105
|
"google/gemini-3.1-flash-lite-preview-subscription",
|
|
105
106
|
"google/gemini-3.1-flash-lite-subscription",
|
|
106
107
|
"google/gemini-3.1-pro-preview-subscription",
|
|
@@ -385,6 +386,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
385
386
|
"google/gemini-3-pro-image",
|
|
386
387
|
"google/gemini-3.1-flash-image",
|
|
387
388
|
"google/gemini-3.1-flash-lite",
|
|
389
|
+
"google/gemini-3.1-flash-lite-image",
|
|
388
390
|
"google/gemini-3.1-flash-lite-preview-subscription",
|
|
389
391
|
"google/gemini-3.1-flash-lite-subscription",
|
|
390
392
|
"google/gemini-3.1-pro-preview-subscription",
|
|
@@ -122,6 +122,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
122
122
|
"google/gemini-3-pro-image": google.Gemini_3_Pro_ImageParams,
|
|
123
123
|
"google/gemini-3.1-flash-image": google.Gemini_3_1_Flash_ImageParams,
|
|
124
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,
|
|
125
126
|
"google/gemini-3.1-flash-lite-preview-subscription": google.Gemini_3_1_Flash_Lite_Preview_SubscriptionParams,
|
|
126
127
|
"google/gemini-3.1-flash-lite-subscription": google.Gemini_3_1_Flash_Lite_SubscriptionParams,
|
|
127
128
|
"google/gemini-3.1-pro-preview-subscription": google.Gemini_3_1_Pro_Preview_SubscriptionParams,
|
|
@@ -170,6 +170,22 @@ Gemini_3_1_Flash_LiteParams = TypedDict(
|
|
|
170
170
|
)
|
|
171
171
|
setattr(Gemini_3_1_Flash_LiteParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
172
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
|
+
|
|
173
189
|
Gemini_3_1_Flash_Lite_Preview_SubscriptionParams = TypedDict(
|
|
174
190
|
"Gemini_3_1_Flash_Lite_Preview_SubscriptionParams",
|
|
175
191
|
{
|
|
@@ -451,6 +467,7 @@ __all__ = [
|
|
|
451
467
|
"Gemini_3_Pro_ImageParams",
|
|
452
468
|
"Gemini_3_1_Flash_ImageParams",
|
|
453
469
|
"Gemini_3_1_Flash_LiteParams",
|
|
470
|
+
"Gemini_3_1_Flash_Lite_ImageParams",
|
|
454
471
|
"Gemini_3_1_Flash_Lite_Preview_SubscriptionParams",
|
|
455
472
|
"Gemini_3_1_Flash_Lite_SubscriptionParams",
|
|
456
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
|