unique_toolkit 0.8.5__py3-none-any.whl → 0.8.6__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.
- unique_toolkit/language_model/infos.py +76 -0
- {unique_toolkit-0.8.5.dist-info → unique_toolkit-0.8.6.dist-info}/METADATA +4 -1
- {unique_toolkit-0.8.5.dist-info → unique_toolkit-0.8.6.dist-info}/RECORD +5 -5
- {unique_toolkit-0.8.5.dist-info → unique_toolkit-0.8.6.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.8.5.dist-info → unique_toolkit-0.8.6.dist-info}/WHEEL +0 -0
|
@@ -14,6 +14,10 @@ class LanguageModelName(StrEnum):
|
|
|
14
14
|
AZURE_GPT_4_0613 = "AZURE_GPT_4_0613"
|
|
15
15
|
AZURE_GPT_4_32K_0613 = "AZURE_GPT_4_32K_0613"
|
|
16
16
|
AZURE_GPT_4_TURBO_2024_0409 = "AZURE_GPT_4_TURBO_2024_0409"
|
|
17
|
+
AZURE_GPT_5_2025_0807 = "AZURE_GPT_5_2025_0807"
|
|
18
|
+
AZURE_GPT_5_MINI_2025_0807 = "AZURE_GPT_5_MINI_2025_0807"
|
|
19
|
+
AZURE_GPT_5_NANO_2025_0807 = "AZURE_GPT_5_NANO_2025_0807"
|
|
20
|
+
AZURE_GPT_5_CHAT_2025_0807 = "AZURE_GPT_5_CHAT_2025_0807"
|
|
17
21
|
AZURE_GPT_4o_2024_0513 = "AZURE_GPT_4o_2024_0513"
|
|
18
22
|
AZURE_GPT_4o_2024_0806 = "AZURE_GPT_4o_2024_0806"
|
|
19
23
|
AZURE_GPT_4o_2024_1120 = "AZURE_GPT_4o_2024_1120"
|
|
@@ -63,6 +67,10 @@ def get_encoder_name(model_name: LanguageModelName) -> EncoderName:
|
|
|
63
67
|
| LMN.AZURE_GPT_4o_2024_0806
|
|
64
68
|
| LMN.AZURE_GPT_4o_MINI_2024_0718
|
|
65
69
|
| LMN.AZURE_GPT_4o_2024_1120
|
|
70
|
+
| LMN.AZURE_GPT_5_2025_0807
|
|
71
|
+
| LMN.AZURE_GPT_5_MINI_2025_0807
|
|
72
|
+
| LMN.AZURE_GPT_5_NANO_2025_0807
|
|
73
|
+
| LMN.AZURE_GPT_5_CHAT_2025_0807
|
|
66
74
|
):
|
|
67
75
|
return EncoderName.O200K_BASE
|
|
68
76
|
case _:
|
|
@@ -161,6 +169,74 @@ class LanguageModelInfo(BaseModel):
|
|
|
161
169
|
deprecated_at=date(2024, 10, 1),
|
|
162
170
|
retirement_at=date(2025, 6, 6),
|
|
163
171
|
)
|
|
172
|
+
case LanguageModelName.AZURE_GPT_5_2025_0807:
|
|
173
|
+
return cls(
|
|
174
|
+
name=model_name,
|
|
175
|
+
provider=LanguageModelProvider.AZURE,
|
|
176
|
+
version="2025-08-07",
|
|
177
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
178
|
+
capabilities=[
|
|
179
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
180
|
+
ModelCapabilities.STREAMING,
|
|
181
|
+
ModelCapabilities.REASONING,
|
|
182
|
+
ModelCapabilities.VISION,
|
|
183
|
+
ModelCapabilities.STRUCTURED_OUTPUT,
|
|
184
|
+
ModelCapabilities.PARALLEL_FUNCTION_CALLING,
|
|
185
|
+
],
|
|
186
|
+
token_limits=LanguageModelTokenLimits(token_limit_input=272000, token_limit_output=128000),
|
|
187
|
+
info_cutoff_at=date(2024, 10, 24),
|
|
188
|
+
published_at=date(2025, 8, 7),
|
|
189
|
+
deprecated_at=date(2026, 8, 7),
|
|
190
|
+
retirement_at=date(2026, 8, 7),
|
|
191
|
+
)
|
|
192
|
+
case LanguageModelName.AZURE_GPT_5_MINI_2025_0807:
|
|
193
|
+
return cls(
|
|
194
|
+
name=model_name,
|
|
195
|
+
provider=LanguageModelProvider.AZURE,
|
|
196
|
+
version="2025-08-07",
|
|
197
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
198
|
+
capabilities=[
|
|
199
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
200
|
+
ModelCapabilities.STREAMING,
|
|
201
|
+
ModelCapabilities.VISION,
|
|
202
|
+
ModelCapabilities.STRUCTURED_OUTPUT,
|
|
203
|
+
],
|
|
204
|
+
token_limits=LanguageModelTokenLimits(token_limit_input=272000, token_limit_output=128000),
|
|
205
|
+
info_cutoff_at=date(2024, 6, 24),
|
|
206
|
+
published_at=date(2025, 8, 7),
|
|
207
|
+
deprecated_at=date(2026, 8, 7),
|
|
208
|
+
retirement_at=date(2026, 8, 7),
|
|
209
|
+
)
|
|
210
|
+
case LanguageModelName.AZURE_GPT_5_NANO_2025_0807:
|
|
211
|
+
return cls(
|
|
212
|
+
name=model_name,
|
|
213
|
+
provider=LanguageModelProvider.AZURE,
|
|
214
|
+
version="2025-08-07",
|
|
215
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
216
|
+
capabilities=[
|
|
217
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
218
|
+
ModelCapabilities.STREAMING,
|
|
219
|
+
ModelCapabilities.VISION,
|
|
220
|
+
ModelCapabilities.STRUCTURED_OUTPUT,
|
|
221
|
+
],
|
|
222
|
+
token_limits=LanguageModelTokenLimits(token_limit_input=272000, token_limit_output=128000),
|
|
223
|
+
info_cutoff_at=date(2024, 5, 31),
|
|
224
|
+
published_at=date(2025, 8, 7),
|
|
225
|
+
deprecated_at=date(2026, 8, 7),
|
|
226
|
+
retirement_at=date(2026, 8, 7),
|
|
227
|
+
)
|
|
228
|
+
case LanguageModelName.AZURE_GPT_5_CHAT_2025_0807:
|
|
229
|
+
return cls(
|
|
230
|
+
name=model_name,
|
|
231
|
+
provider=LanguageModelProvider.AZURE,
|
|
232
|
+
version="2025-08-07",
|
|
233
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
234
|
+
token_limits=LanguageModelTokenLimits(token_limit_input=128000, token_limit_output=16384),
|
|
235
|
+
info_cutoff_at=date(2024, 10, 24),
|
|
236
|
+
published_at=date(2025, 8, 7),
|
|
237
|
+
deprecated_at=date(2026, 8, 7),
|
|
238
|
+
retirement_at=date(2026, 8, 7),
|
|
239
|
+
)
|
|
164
240
|
case LanguageModelName.AZURE_GPT_4_TURBO_2024_0409:
|
|
165
241
|
return cls(
|
|
166
242
|
name=model_name,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_toolkit
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.6
|
|
4
4
|
Summary:
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Author: Martin Fadler
|
|
@@ -113,6 +113,9 @@ All notable changes to this project will be documented in this file.
|
|
|
113
113
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
114
114
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
115
115
|
|
|
116
|
+
## [0.8.6] - 2025-08-11
|
|
117
|
+
- Add GPT-5, GPT-5_MINI, GPT-5_NANO, GPT-5_CHAT to supported models list
|
|
118
|
+
|
|
116
119
|
## [0.8.5] - 2025-08-06
|
|
117
120
|
- Refactored tools to be in the tool-kit
|
|
118
121
|
|
|
@@ -55,7 +55,7 @@ unique_toolkit/language_model/__init__.py,sha256=lRQyLlbwHbNFf4-0foBU13UGb09lwEe
|
|
|
55
55
|
unique_toolkit/language_model/builder.py,sha256=69WCcmkm2rMP2-YEH_EjHiEp6OzwjwCs8VbhjVJaCe0,3168
|
|
56
56
|
unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
|
|
57
57
|
unique_toolkit/language_model/functions.py,sha256=WhgHbJgz4Z2aZt9TLdOpI0PGyYWA5R90tdwkwdDeT8c,11987
|
|
58
|
-
unique_toolkit/language_model/infos.py,sha256=
|
|
58
|
+
unique_toolkit/language_model/infos.py,sha256=mnUnbjDQNOIuPS2VE1SsgyKOxdRulo-9Z5k7_S1Q8Cw,37631
|
|
59
59
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
|
60
60
|
unique_toolkit/language_model/reference.py,sha256=nkX2VFz-IrUz8yqyc3G5jUMNwrNpxITBrMEKkbqqYoI,8583
|
|
61
61
|
unique_toolkit/language_model/schemas.py,sha256=r6c_lJ9Gl9wvY-N0FlmyFZjv5vPSc6CurFhpyST1Z5Y,14762
|
|
@@ -82,7 +82,7 @@ unique_toolkit/tools/utils/execution/execution.py,sha256=vjG2Y6awsGNtlvyQAGCTthQ
|
|
|
82
82
|
unique_toolkit/tools/utils/source_handling/schema.py,sha256=pvNhtL2daDLpCVIQpfdn6R35GvKmITVLXjZNLAwpgUE,871
|
|
83
83
|
unique_toolkit/tools/utils/source_handling/source_formatting.py,sha256=C7uayNbdkNVJdEARA5CENnHtNY1SU6etlaqbgHNyxaQ,9152
|
|
84
84
|
unique_toolkit/tools/utils/source_handling/tests/test_source_formatting.py,sha256=zu3AJnYH9CMqZPrxKEH3IgI-fM3nlvIBuspJG6W6B18,6978
|
|
85
|
-
unique_toolkit-0.8.
|
|
86
|
-
unique_toolkit-0.8.
|
|
87
|
-
unique_toolkit-0.8.
|
|
88
|
-
unique_toolkit-0.8.
|
|
85
|
+
unique_toolkit-0.8.6.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
|
86
|
+
unique_toolkit-0.8.6.dist-info/METADATA,sha256=KtED18vX71U_F50SqM0mqkrj4ZQqNF1P7FBp8G5p-z4,26343
|
|
87
|
+
unique_toolkit-0.8.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
88
|
+
unique_toolkit-0.8.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|