model-library 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl

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 (41) hide show
  1. model_library/base/base.py +13 -6
  2. model_library/base/output.py +55 -0
  3. model_library/base/utils.py +3 -2
  4. model_library/config/README.md +169 -0
  5. model_library/config/ai21labs_models.yaml +11 -10
  6. model_library/config/alibaba_models.yaml +21 -22
  7. model_library/config/all_models.json +4708 -2471
  8. model_library/config/amazon_models.yaml +100 -102
  9. model_library/config/anthropic_models.yaml +59 -45
  10. model_library/config/cohere_models.yaml +25 -24
  11. model_library/config/deepseek_models.yaml +28 -25
  12. model_library/config/dummy_model.yaml +9 -7
  13. model_library/config/fireworks_models.yaml +86 -56
  14. model_library/config/google_models.yaml +156 -102
  15. model_library/config/inception_models.yaml +6 -6
  16. model_library/config/kimi_models.yaml +13 -14
  17. model_library/config/minimax_models.yaml +37 -0
  18. model_library/config/mistral_models.yaml +85 -29
  19. model_library/config/openai_models.yaml +192 -159
  20. model_library/config/perplexity_models.yaml +8 -23
  21. model_library/config/together_models.yaml +115 -103
  22. model_library/config/xai_models.yaml +85 -57
  23. model_library/config/zai_models.yaml +23 -15
  24. model_library/exceptions.py +12 -17
  25. model_library/file_utils.py +1 -1
  26. model_library/providers/amazon.py +32 -17
  27. model_library/providers/anthropic.py +2 -6
  28. model_library/providers/google/google.py +35 -29
  29. model_library/providers/minimax.py +33 -0
  30. model_library/providers/mistral.py +10 -1
  31. model_library/providers/openai.py +10 -8
  32. model_library/providers/together.py +18 -211
  33. model_library/register_models.py +36 -38
  34. model_library/registry_utils.py +18 -16
  35. model_library/utils.py +2 -2
  36. {model_library-0.1.2.dist-info → model_library-0.1.4.dist-info}/METADATA +3 -4
  37. model_library-0.1.4.dist-info/RECORD +64 -0
  38. model_library-0.1.2.dist-info/RECORD +0 -61
  39. {model_library-0.1.2.dist-info → model_library-0.1.4.dist-info}/WHEEL +0 -0
  40. {model_library-0.1.2.dist-info → model_library-0.1.4.dist-info}/licenses/LICENSE +0 -0
  41. {model_library-0.1.2.dist-info → model_library-0.1.4.dist-info}/top_level.txt +0 -0
@@ -2,19 +2,19 @@ base-config:
2
2
  company: Perplexity
3
3
  documentation_url: https://docs.perplexity.ai
4
4
  open_source: false
5
- class_properties:
6
- supports_images: false
7
- supports_metadata: true
8
- supports_files: false
9
- supports_batch_requests: false
10
- supports_temperature: true
11
- supports_tools: false
5
+ supports:
6
+ images: false
7
+ files: false
8
+ batch: false
9
+ temperature: true
10
+ tools: false
11
+ metadata:
12
12
  available_for_everyone: true
13
13
  available_as_evaluator: false
14
14
  ignored_for_cost: false
15
15
  properties:
16
16
  context_window: 128000
17
- max_token_output: null
17
+ max_tokens: null
18
18
  training_cutoff: null
19
19
 
20
20
  perplexity-models:
@@ -31,9 +31,6 @@ perplexity-models:
31
31
  costs_per_million_token:
32
32
  input: 1.0
33
33
  output: 1.0
34
- request_low_context_per_1000: 5.0
35
- request_medium_context_per_1000: 8.0
36
- request_high_context_per_1000: 12.0
37
34
 
38
35
  perplexity/sonar-pro:
39
36
  label: Sonar Pro
@@ -44,9 +41,6 @@ perplexity-models:
44
41
  costs_per_million_token:
45
42
  input: 3.0
46
43
  output: 15.0
47
- request_low_context_per_1000: 6.0
48
- request_medium_context_per_1000: 10.0
49
- request_high_context_per_1000: 14.0
50
44
 
51
45
  perplexity/sonar-reasoning:
52
46
  label: Sonar Reasoning
@@ -58,9 +52,6 @@ perplexity-models:
58
52
  costs_per_million_token:
59
53
  input: 1.0
60
54
  output: 5.0
61
- request_low_context_per_1000: 5.0
62
- request_medium_context_per_1000: 8.0
63
- request_high_context_per_1000: 12.0
64
55
 
65
56
  perplexity/sonar-reasoning-pro:
66
57
  label: Sonar Reasoning Pro
@@ -72,9 +63,6 @@ perplexity-models:
72
63
  costs_per_million_token:
73
64
  input: 2.0
74
65
  output: 8.0
75
- request_low_context_per_1000: 6.0
76
- request_medium_context_per_1000: 10.0
77
- request_high_context_per_1000: 14.0
78
66
 
79
67
  perplexity/sonar-deep-research:
80
68
  label: Sonar Deep Research
@@ -86,6 +74,3 @@ perplexity-models:
86
74
  costs_per_million_token:
87
75
  input: 2.0
88
76
  output: 8.0
89
- citations: 2.0
90
- search_queries_per_1000: 5.0
91
- reasoning: 3.0