modelparams 0.0.24__tar.gz → 0.0.25__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.25}/PKG-INFO +1 -1
- {modelparams-0.0.24 → modelparams-0.0.25}/pyproject.toml +1 -1
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/_generated/catalog.json +94 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/google.py +17 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/.gitignore +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/LICENSE +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/README.md +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/models.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.24 → modelparams-0.0.25}/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.25
|
|
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",
|
|
@@ -99,6 +99,7 @@ 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",
|
|
103
104
|
"google/gemini-3.1-flash-lite-preview-subscription",
|
|
104
105
|
"google/gemini-3.1-flash-lite-subscription",
|
|
@@ -382,6 +383,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
382
383
|
"google/gemini-2.5-pro-subscription",
|
|
383
384
|
"google/gemini-3-flash-preview-subscription",
|
|
384
385
|
"google/gemini-3-pro-image",
|
|
386
|
+
"google/gemini-3.1-flash-image",
|
|
385
387
|
"google/gemini-3.1-flash-lite",
|
|
386
388
|
"google/gemini-3.1-flash-lite-preview-subscription",
|
|
387
389
|
"google/gemini-3.1-flash-lite-subscription",
|
|
@@ -120,6 +120,7 @@ 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,
|
|
124
125
|
"google/gemini-3.1-flash-lite-preview-subscription": google.Gemini_3_1_Flash_Lite_Preview_SubscriptionParams,
|
|
125
126
|
"google/gemini-3.1-flash-lite-subscription": google.Gemini_3_1_Flash_Lite_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
|
{
|
|
@@ -433,6 +449,7 @@ __all__ = [
|
|
|
433
449
|
"Gemini_2_5_Pro_SubscriptionParams",
|
|
434
450
|
"Gemini_3_Flash_Preview_SubscriptionParams",
|
|
435
451
|
"Gemini_3_Pro_ImageParams",
|
|
452
|
+
"Gemini_3_1_Flash_ImageParams",
|
|
436
453
|
"Gemini_3_1_Flash_LiteParams",
|
|
437
454
|
"Gemini_3_1_Flash_Lite_Preview_SubscriptionParams",
|
|
438
455
|
"Gemini_3_1_Flash_Lite_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
|