projectdavid-common 0.18.0__py3-none-any.whl → 0.19.1__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.
@@ -5,49 +5,55 @@
5
5
  # Also serves as source of truth, describing
6
6
  # supported models
7
7
  # _________________________________________________
8
- MODEL_MAP = {
8
+
9
+ # ------------------------------------------------
10
+ # PROVIDER-SPECIFIC MODEL MAPS
11
+ # Each dictionary acts as the "driver" for that vendor
12
+ # _________________________________________________
13
+
14
+ DEEPSEEK_NATIVE_MODELS = {
9
15
  "deepseek-ai/deepseek-reasoner": "deepseek-reasoner",
10
16
  "deepseek-ai/deepseek-chat": "deepseek-chat",
11
- # Deepseek@TogetherAi
17
+ }
18
+
19
+ TOGETHER_AI_MODELS = {
12
20
  "together-ai/deepseek-ai/DeepSeek-R1": "deepseek-ai/DeepSeek-R1",
13
21
  "together-ai/deepseek-ai/DeepSeek-V3": "deepseek-ai/DeepSeek-V3",
14
22
  "together-ai/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B": "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
15
23
  "together-ai/deepseek-ai/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B": "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
16
24
  "together-ai/deepseek-ai/DeepSeek-R1-Distill-Llama-70B-free": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B-free",
17
- # Llama@TogetherAi
18
25
  "together-ai/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
19
26
  "together-ai/meta-llama/Llama-4-Scout-17B-16E-Instruct": "meta-llama/Llama-4-Scout-17B-16E-Instruct",
20
- "together-ai/meta-llama/Llama-3.3-70B-Instruct-Turbo": "meta-llama/Llama-3.3-70B-Instruct-Turbo", # <----issues?
27
+ "together-ai/meta-llama/Llama-3.3-70B-Instruct-Turbo": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
21
28
  "together-ai/meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo": "meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo",
22
29
  "together-ai/meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo": "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
23
30
  "together-ai/meta-llama/Llama-Vision-Free": "meta-llama/Llama-Vision-Free",
24
31
  "together-ai/meta-llama/LlamaGuard-2-8b": "meta-llama/LlamaGuard-2-8b",
25
- # Google@TogetherAi
26
32
  "together-ai/google/gemma-2-9b-it": "google/gemma-2-9b-it",
27
- # Mistal@TogeterAi
28
33
  "together-ai/mistralai/Mistral-7B-Instruct-v0.2": "mistralai/Mistral-7B-Instruct-v0.2",
29
34
  "together-ai/mistralai/Mistral-7B-Instruct-v0.3": "mistralai/Mistral-7B-Instruct-v0.3",
30
- # Quen@TogetherAi
31
35
  "together-ai/Qwen/QwQ-32B": "Qwen/QwQ-32B",
32
36
  "together-ai/Qwen/Qwen2.5-Coder-32B-Instruct": "Qwen/Qwen2.5-Coder-32B-Instruct",
33
37
  "together-ai/Qwen/Qwen2-VL-72B-Instruct": "Qwen/Qwen2-VL-72B-Instruct",
34
- # Deepseek@Hyperbolic
38
+ }
39
+
40
+ HYPERBOLIC_MODELS = {
35
41
  "hyperbolic/deepseek-ai/DeepSeek-V3-0324": "deepseek-ai/DeepSeek-V3-0324",
36
42
  "hyperbolic/deepseek-ai/DeepSeek-R1": "deepseek-ai/DeepSeek-R1",
37
43
  "hyperbolic/deepseek-ai/DeepSeek-V3": "deepseek-ai/DeepSeek-V3",
38
- # Llama@Hyperbolic
39
44
  "hyperbolic/meta-llama/Llama-3.3-70B-Instruct": "meta-llama/Llama-3.3-70B-Instruct",
40
45
  "hyperbolic/meta-llama/Llama-3.2-3B-Instruct": "meta-llama/Llama-3.2-3B-Instruct",
41
46
  "hyperbolic/meta-llama/Meta-Llama-3.1-405B-Instruct": "meta-llama/Meta-Llama-3.1-405B-Instruct",
42
47
  "hyperbolic/meta-llama/Meta-Llama-3.1-8B-Instruct": "meta-llama/Meta-Llama-3.1-8B-Instruct",
43
48
  "hyperbolic/meta-llama/Meta-Llama-3.1-70B-Instruct": "meta-llama/Meta-Llama-3.1-70B-Instruct",
44
49
  "hyperbolic/meta-llama/Meta-Llama-3-70B-Instruct": "meta-llama/Meta-Llama-3-70B-Instruct",
45
- # Quen@Hyperbolic
46
50
  "hyperbolic/Qwen/QwQ-32B": "Qwen/QwQ-32B",
47
51
  "hyperbolic/Qwen/Qwen2.5-Coder-32B-Instruct": "Qwen/Qwen2.5-Coder-32B-Instruct",
48
52
  "hyperbolic/Qwen/Qwen2.5-72B-Instruct": "Qwen/Qwen2.5-72B-Instruct",
49
53
  "hyperbolic/Qwen/QwQ-32B-Preview": "Qwen/QwQ-32B-Preview",
50
- # --- Google Gemini & Gemma Models ---
54
+ }
55
+
56
+ GOOGLE_GEMINI_MODELS = {
51
57
  "google/gemini-1.0-pro-vision-latest": "gemini-1.0-pro-vision-latest",
52
58
  "google/gemini-pro-vision": "gemini-pro-vision",
53
59
  "google/gemini-1.5-pro-latest": "gemini-1.5-pro-latest",
@@ -85,4 +91,13 @@ MODEL_MAP = {
85
91
  "google/gemma-3-4b-it": "gemma-3-4b-it",
86
92
  "google/gemma-3-12b-it": "gemma-3-12b-it",
87
93
  "google/gemma-3-27b-it": "gemma-3-27b-it",
88
- } # End MODEL_MAP
94
+ }
95
+
96
+ # --- MASTER COMBINED MAP ---
97
+ # This merges them all into one flat lookup for the Router
98
+ MODEL_MAP = {
99
+ **DEEPSEEK_NATIVE_MODELS,
100
+ **TOGETHER_AI_MODELS,
101
+ **HYPERBOLIC_MODELS,
102
+ **GOOGLE_GEMINI_MODELS,
103
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: projectdavid_common
3
- Version: 0.18.0
3
+ Version: 0.19.1
4
4
  Summary: Common shared custom packages
5
5
  Author-email: "Francis N." <francis.neequaye@projectdavid.co.uk>
6
6
  License: MIT
@@ -10,7 +10,6 @@ Requires-Python: >=3.10
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: pydantic
12
12
  Requires-Dist: typing_extensions
13
- Requires-Dist: fastapi>=0.70.0
14
13
  Requires-Dist: httpx
15
14
  Provides-Extra: dev
16
15
  Requires-Dist: pytest; extra == "dev"
@@ -2,7 +2,7 @@ projectdavid_common/__init__.py,sha256=qGbd7vBnhtG4f3ppij8IEMbmzSDSHoIYLIEB_u5we
2
2
  projectdavid_common/utils.py,sha256=Q-GpA6R4QbStLFxNNft_sYEA25bVzYqOcsNy8VRHrxs,657
3
3
  projectdavid_common/validation.py,sha256=kKfmdWsMBRjK8gLKgMMW1zs0PDdMJ4c0xNr2GAxReeE,5787
4
4
  projectdavid_common/constants/__init__.py,sha256=i2JnKwAKnlH8A49bQErfbZHP-PtSdJMl3TMTnup9x1M,250
5
- projectdavid_common/constants/ai_model_map.py,sha256=gutSdVHfziAFKoXU69h-euxn-3CU-3LlNJYiPqhymoo,5768
5
+ projectdavid_common/constants/ai_model_map.py,sha256=qXlw2ilSnXb027qGXkSKJCfh8bKJifSjaAtnN3Rbrow,6001
6
6
  projectdavid_common/constants/assistant_map.py,sha256=sKCC5Rxm5HnsrkzlbLystRJUOVMQQxhq4OVeFZ9p7vo,141
7
7
  projectdavid_common/constants/mime_types.py,sha256=vvuCYP_oreoRkP1D80eRgv8mQTNsQ_huoqO3fLUSviA,1729
8
8
  projectdavid_common/constants/platform.py,sha256=ATXfVuEigWmhl0WRXLhObFlUegNPKdNHGLp4zBjKs04,2679
@@ -26,8 +26,8 @@ projectdavid_common/schemas/vectors_schema.py,sha256=KG4HSa6yVgBLe01iSdXKoU3UxRS
26
26
  projectdavid_common/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  projectdavid_common/utilities/identifier_service.py,sha256=7hL4_i7pGs6bibCSkXQIwpMSUCFASFE0VPm6gqMv4sk,2950
28
28
  projectdavid_common/utilities/logging_service.py,sha256=ONKy3PRjIrxIrTJ_X3iv7v9HA0wyejyw4WrQYlJy7Oc,2614
29
- projectdavid_common-0.18.0.dist-info/METADATA,sha256=LeqyI7QmQSIzzitR0wMVX0h_jH2zzA6M5M5XVm9Cof0,1673
30
- projectdavid_common-0.18.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
- projectdavid_common-0.18.0.dist-info/entry_points.txt,sha256=Y8HAIUW0ifCKcAzAqR21wu1ATHNFWWWiUB33UYv095o,74
32
- projectdavid_common-0.18.0.dist-info/top_level.txt,sha256=lJ-jkZ0n0jWktoMJFcw-DzLoMTY2juuw5fgMIqYu1UU,20
33
- projectdavid_common-0.18.0.dist-info/RECORD,,
29
+ projectdavid_common-0.19.1.dist-info/METADATA,sha256=b9pe7uWeku3MA5p1VJGo33bgKXc5QGCnIcese2oyeEI,1642
30
+ projectdavid_common-0.19.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ projectdavid_common-0.19.1.dist-info/entry_points.txt,sha256=Y8HAIUW0ifCKcAzAqR21wu1ATHNFWWWiUB33UYv095o,74
32
+ projectdavid_common-0.19.1.dist-info/top_level.txt,sha256=lJ-jkZ0n0jWktoMJFcw-DzLoMTY2juuw5fgMIqYu1UU,20
33
+ projectdavid_common-0.19.1.dist-info/RECORD,,