modelparams 0.0.3__tar.gz → 0.0.4__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.3 → modelparams-0.0.4}/PKG-INFO +1 -1
- {modelparams-0.0.3 → modelparams-0.0.4}/pyproject.toml +1 -1
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/_generated/catalog.json +70 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/xai.py +15 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/.gitignore +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/LICENSE +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/README.md +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/models.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.3 → modelparams-0.0.4}/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.4
|
|
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
|
|
@@ -16217,6 +16217,76 @@
|
|
|
16217
16217
|
}
|
|
16218
16218
|
]
|
|
16219
16219
|
},
|
|
16220
|
+
{
|
|
16221
|
+
"provider": "xai",
|
|
16222
|
+
"authType": "api_key",
|
|
16223
|
+
"model": "grok-4.6",
|
|
16224
|
+
"params": [
|
|
16225
|
+
{
|
|
16226
|
+
"path": "max_completion_tokens",
|
|
16227
|
+
"label": "Max completion tokens",
|
|
16228
|
+
"description": "Upper bound for visible output tokens generated in the chat completion.",
|
|
16229
|
+
"group": "generation_length",
|
|
16230
|
+
"type": "integer",
|
|
16231
|
+
"range": {
|
|
16232
|
+
"min": 1
|
|
16233
|
+
}
|
|
16234
|
+
},
|
|
16235
|
+
{
|
|
16236
|
+
"path": "temperature",
|
|
16237
|
+
"label": "Temperature",
|
|
16238
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
16239
|
+
"group": "sampling",
|
|
16240
|
+
"type": "number",
|
|
16241
|
+
"default": 1,
|
|
16242
|
+
"range": {
|
|
16243
|
+
"min": 0,
|
|
16244
|
+
"max": 2,
|
|
16245
|
+
"step": 0.1
|
|
16246
|
+
}
|
|
16247
|
+
},
|
|
16248
|
+
{
|
|
16249
|
+
"path": "top_p",
|
|
16250
|
+
"label": "Top P",
|
|
16251
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
16252
|
+
"group": "sampling",
|
|
16253
|
+
"type": "number",
|
|
16254
|
+
"default": 1,
|
|
16255
|
+
"range": {
|
|
16256
|
+
"min": 0,
|
|
16257
|
+
"max": 1,
|
|
16258
|
+
"step": 0.01
|
|
16259
|
+
}
|
|
16260
|
+
},
|
|
16261
|
+
{
|
|
16262
|
+
"path": "seed",
|
|
16263
|
+
"label": "Seed",
|
|
16264
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
16265
|
+
"group": "sampling",
|
|
16266
|
+
"type": "integer"
|
|
16267
|
+
},
|
|
16268
|
+
{
|
|
16269
|
+
"path": "stop",
|
|
16270
|
+
"label": "Stop sequence",
|
|
16271
|
+
"description": "Stops generation when this sequence is produced. xAI accepts up to four stop sequences.",
|
|
16272
|
+
"group": "generation_length",
|
|
16273
|
+
"type": "string"
|
|
16274
|
+
},
|
|
16275
|
+
{
|
|
16276
|
+
"path": "response_format.type",
|
|
16277
|
+
"label": "Response format",
|
|
16278
|
+
"description": "Controls whether the model returns text, JSON mode output, or structured JSON schema output.",
|
|
16279
|
+
"group": "output_format",
|
|
16280
|
+
"type": "enum",
|
|
16281
|
+
"default": "text",
|
|
16282
|
+
"values": [
|
|
16283
|
+
"text",
|
|
16284
|
+
"json_object",
|
|
16285
|
+
"json_schema"
|
|
16286
|
+
]
|
|
16287
|
+
}
|
|
16288
|
+
]
|
|
16289
|
+
},
|
|
16220
16290
|
{
|
|
16221
16291
|
"provider": "xai",
|
|
16222
16292
|
"authType": "api_key",
|
|
@@ -221,6 +221,7 @@ ModelId = Literal[
|
|
|
221
221
|
"xai/grok-4.3-subscription",
|
|
222
222
|
"xai/grok-4.5",
|
|
223
223
|
"xai/grok-4.5-subscription",
|
|
224
|
+
"xai/grok-4.6",
|
|
224
225
|
"xai/grok-build-0.1",
|
|
225
226
|
"xai/grok-build-0.1-subscription",
|
|
226
227
|
"xiaomi/mimo-v2.5",
|
|
@@ -467,6 +468,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
467
468
|
"xai/grok-4.3-subscription",
|
|
468
469
|
"xai/grok-4.5",
|
|
469
470
|
"xai/grok-4.5-subscription",
|
|
471
|
+
"xai/grok-4.6",
|
|
470
472
|
"xai/grok-build-0.1",
|
|
471
473
|
"xai/grok-build-0.1-subscription",
|
|
472
474
|
"xiaomi/mimo-v2.5",
|
|
@@ -242,6 +242,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
242
242
|
"xai/grok-4.3-subscription": xai.Grok_4_3_SubscriptionParams,
|
|
243
243
|
"xai/grok-4.5": xai.Grok_4_5Params,
|
|
244
244
|
"xai/grok-4.5-subscription": xai.Grok_4_5_SubscriptionParams,
|
|
245
|
+
"xai/grok-4.6": xai.Grok_4_6Params,
|
|
245
246
|
"xai/grok-build-0.1": xai.Grok_Build_0_1Params,
|
|
246
247
|
"xai/grok-build-0.1-subscription": xai.Grok_Build_0_1_SubscriptionParams,
|
|
247
248
|
"xiaomi/mimo-v2.5": xiaomi.Mimo_V2_5Params,
|
|
@@ -133,6 +133,20 @@ Grok_4_5_SubscriptionParams = TypedDict(
|
|
|
133
133
|
)
|
|
134
134
|
setattr(Grok_4_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
135
135
|
|
|
136
|
+
Grok_4_6Params = TypedDict(
|
|
137
|
+
"Grok_4_6Params",
|
|
138
|
+
{
|
|
139
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
140
|
+
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
141
|
+
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
142
|
+
"seed": int,
|
|
143
|
+
"stop": str,
|
|
144
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
145
|
+
},
|
|
146
|
+
total=False,
|
|
147
|
+
)
|
|
148
|
+
setattr(Grok_4_6Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
149
|
+
|
|
136
150
|
Grok_Build_0_1Params = TypedDict(
|
|
137
151
|
"Grok_Build_0_1Params",
|
|
138
152
|
{
|
|
@@ -169,6 +183,7 @@ __all__ = [
|
|
|
169
183
|
"Grok_4_3_SubscriptionParams",
|
|
170
184
|
"Grok_4_5Params",
|
|
171
185
|
"Grok_4_5_SubscriptionParams",
|
|
186
|
+
"Grok_4_6Params",
|
|
172
187
|
"Grok_Build_0_1Params",
|
|
173
188
|
"Grok_Build_0_1_SubscriptionParams",
|
|
174
189
|
]
|
|
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
|