modelparams 0.0.12__tar.gz → 0.0.13__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.
Files changed (33) hide show
  1. {modelparams-0.0.12 → modelparams-0.0.13}/PKG-INFO +1 -1
  2. {modelparams-0.0.12 → modelparams-0.0.13}/pyproject.toml +1 -1
  3. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/_generated/catalog.json +96 -0
  4. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/_generated/model_ids.py +2 -0
  5. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/_generated/registry.py +1 -0
  6. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/google.py +17 -0
  7. {modelparams-0.0.12 → modelparams-0.0.13}/.gitignore +0 -0
  8. {modelparams-0.0.12 → modelparams-0.0.13}/LICENSE +0 -0
  9. {modelparams-0.0.12 → modelparams-0.0.13}/README.md +0 -0
  10. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/__init__.py +0 -0
  11. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/_generated/__init__.py +0 -0
  12. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/catalog.py +0 -0
  13. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/models.py +0 -0
  14. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/py.typed +0 -0
  15. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/__init__.py +0 -0
  16. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/alibaba.py +0 -0
  17. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/anthropic.py +0 -0
  18. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/cerebras.py +0 -0
  19. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/cohere.py +0 -0
  20. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/deepseek.py +0 -0
  21. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/groq.py +0 -0
  22. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/meta.py +0 -0
  23. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/minimax.py +0 -0
  24. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/mistral.py +0 -0
  25. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/moonshot.py +0 -0
  26. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/nvidia.py +0 -0
  27. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/openai.py +0 -0
  28. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/perplexity.py +0 -0
  29. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/thinking_machines.py +0 -0
  30. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/xai.py +0 -0
  31. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/xiaomi.py +0 -0
  32. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/types/z_ai.py +0 -0
  33. {modelparams-0.0.12 → modelparams-0.0.13}/src/modelparams/validation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: modelparams
3
- Version: 0.0.12
3
+ Version: 0.0.13
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "modelparams"
7
- version = "0.0.12"
7
+ version = "0.0.13"
8
8
  description = "Typed model parameters for Python, generated from the modelparams.dev catalog."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -7944,6 +7944,102 @@
7944
7944
  }
7945
7945
  ]
7946
7946
  },
7947
+ {
7948
+ "provider": "google",
7949
+ "authType": "api_key",
7950
+ "model": "gemini-3.7-flash",
7951
+ "params": [
7952
+ {
7953
+ "path": "generationConfig.maxOutputTokens",
7954
+ "label": "Max output tokens",
7955
+ "description": "Maximum number of tokens to include in a response candidate.",
7956
+ "group": "generation_length",
7957
+ "type": "integer",
7958
+ "range": {
7959
+ "min": 1,
7960
+ "max": 65536
7961
+ }
7962
+ },
7963
+ {
7964
+ "path": "generationConfig.temperature",
7965
+ "label": "Temperature",
7966
+ "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
7967
+ "group": "sampling",
7968
+ "type": "number",
7969
+ "default": 1,
7970
+ "range": {
7971
+ "min": 0,
7972
+ "max": 2,
7973
+ "step": 0.1
7974
+ }
7975
+ },
7976
+ {
7977
+ "path": "generationConfig.topP",
7978
+ "label": "Top P",
7979
+ "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
7980
+ "group": "sampling",
7981
+ "type": "number",
7982
+ "default": 0.95,
7983
+ "range": {
7984
+ "min": 0,
7985
+ "max": 1,
7986
+ "step": 0.01
7987
+ }
7988
+ },
7989
+ {
7990
+ "path": "generationConfig.topK",
7991
+ "label": "Top K",
7992
+ "description": "Limits token sampling to the top K most likely next tokens.",
7993
+ "group": "sampling",
7994
+ "type": "integer",
7995
+ "default": 64,
7996
+ "range": {
7997
+ "min": 0
7998
+ }
7999
+ },
8000
+ {
8001
+ "path": "generationConfig.seed",
8002
+ "label": "Seed",
8003
+ "description": "Optional seed used for decoding when reproducible sampling is desired.",
8004
+ "group": "sampling",
8005
+ "type": "integer"
8006
+ },
8007
+ {
8008
+ "path": "generationConfig.thinkingConfig.thinkingLevel",
8009
+ "label": "Thinking level",
8010
+ "description": "Controls Gemini 3.1 Flash-Lite reasoning effort.",
8011
+ "group": "reasoning",
8012
+ "type": "enum",
8013
+ "default": "minimal",
8014
+ "values": [
8015
+ "minimal",
8016
+ "low",
8017
+ "medium",
8018
+ "high"
8019
+ ]
8020
+ },
8021
+ {
8022
+ "path": "generationConfig.thinkingConfig.includeThoughts",
8023
+ "label": "Include thoughts",
8024
+ "description": "Controls whether Gemini returns available thought summaries in the response parts.",
8025
+ "group": "reasoning",
8026
+ "type": "boolean",
8027
+ "default": false
8028
+ },
8029
+ {
8030
+ "path": "generationConfig.responseMimeType",
8031
+ "label": "Response MIME type",
8032
+ "description": "MIME type for generated text candidates.",
8033
+ "group": "output_format",
8034
+ "type": "enum",
8035
+ "default": "text/plain",
8036
+ "values": [
8037
+ "text/plain",
8038
+ "application/json"
8039
+ ]
8040
+ }
8041
+ ]
8042
+ },
7947
8043
  {
7948
8044
  "provider": "google",
7949
8045
  "authType": "api_key",
@@ -82,6 +82,7 @@ ModelId = Literal[
82
82
  "google/gemini-3.1-flash-lite-subscription",
83
83
  "google/gemini-3.1-pro-preview-subscription",
84
84
  "google/gemini-3.5-flash",
85
+ "google/gemini-3.7-flash",
85
86
  "google/gemini-flash-latest",
86
87
  "google/gemma-3-12b-it",
87
88
  "google/gemma-3-1b-it",
@@ -339,6 +340,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
339
340
  "google/gemini-3.1-flash-lite-subscription",
340
341
  "google/gemini-3.1-pro-preview-subscription",
341
342
  "google/gemini-3.5-flash",
343
+ "google/gemini-3.7-flash",
342
344
  "google/gemini-flash-latest",
343
345
  "google/gemma-3-12b-it",
344
346
  "google/gemma-3-1b-it",
@@ -103,6 +103,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
103
103
  "google/gemini-3.1-flash-lite-subscription": google.Gemini_3_1_Flash_Lite_SubscriptionParams,
104
104
  "google/gemini-3.1-pro-preview-subscription": google.Gemini_3_1_Pro_Preview_SubscriptionParams,
105
105
  "google/gemini-3.5-flash": google.Gemini_3_5_FlashParams,
106
+ "google/gemini-3.7-flash": google.Gemini_3_7_FlashParams,
106
107
  "google/gemini-flash-latest": google.Gemini_Flash_LatestParams,
107
108
  "google/gemma-3-12b-it": google.Gemma_3_12b_ItParams,
108
109
  "google/gemma-3-1b-it": google.Gemma_3_1b_ItParams,
@@ -202,6 +202,22 @@ Gemini_3_5_FlashParams = TypedDict(
202
202
  )
203
203
  setattr(Gemini_3_5_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)
204
204
 
205
+ Gemini_3_7_FlashParams = TypedDict(
206
+ "Gemini_3_7_FlashParams",
207
+ {
208
+ "generationConfig.maxOutputTokens": Annotated[int, Field(ge=1, le=65536)],
209
+ "generationConfig.temperature": Annotated[float, Field(ge=0, le=2)],
210
+ "generationConfig.topP": Annotated[float, Field(ge=0, le=1)],
211
+ "generationConfig.topK": Annotated[int, Field(ge=0)],
212
+ "generationConfig.seed": int,
213
+ "generationConfig.thinkingConfig.thinkingLevel": Literal["minimal", "low", "medium", "high"],
214
+ "generationConfig.thinkingConfig.includeThoughts": bool,
215
+ "generationConfig.responseMimeType": Literal["text/plain", "application/json"],
216
+ },
217
+ total=False,
218
+ )
219
+ setattr(Gemini_3_7_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)
220
+
205
221
  Gemini_Flash_LatestParams = TypedDict(
206
222
  "Gemini_Flash_LatestParams",
207
223
  {
@@ -373,6 +389,7 @@ __all__ = [
373
389
  "Gemini_3_1_Flash_Lite_SubscriptionParams",
374
390
  "Gemini_3_1_Pro_Preview_SubscriptionParams",
375
391
  "Gemini_3_5_FlashParams",
392
+ "Gemini_3_7_FlashParams",
376
393
  "Gemini_Flash_LatestParams",
377
394
  "Gemma_3_12b_ItParams",
378
395
  "Gemma_3_1b_ItParams",
File without changes
File without changes
File without changes