unique_toolkit 0.7.7__py3-none-any.whl → 0.7.9__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.
@@ -16,11 +16,13 @@ class LanguageModelName(StrEnum):
16
16
  AZURE_GPT_4_TURBO_2024_0409 = "AZURE_GPT_4_TURBO_2024_0409"
17
17
  AZURE_GPT_4o_2024_0513 = "AZURE_GPT_4o_2024_0513"
18
18
  AZURE_GPT_4o_2024_0806 = "AZURE_GPT_4o_2024_0806"
19
+ AZURE_GPT_4o_2024_1120 = "AZURE_GPT_4o_2024_1120"
19
20
  AZURE_GPT_4o_MINI_2024_0718 = "AZURE_GPT_4o_MINI_2024_0718"
20
21
  AZURE_o1_MINI_2024_0912 = "AZURE_o1_MINI_2024_0912"
21
22
  AZURE_o1_2024_1217 = "AZURE_o1_2024_1217"
22
23
  AZURE_o3_MINI_2025_0131 = "AZURE_o3_MINI_2025_0131"
23
24
  AZURE_GPT_45_PREVIEW_2025_0227 = "AZURE_GPT_45_PREVIEW_2025_0227"
25
+ AZURE_GPT_41_2025_0414 = "AZURE_GPT_41_2025_0414"
24
26
 
25
27
 
26
28
  class EncoderName(StrEnum):
@@ -198,6 +200,25 @@ class LanguageModelInfo(BaseModel):
198
200
  info_cutoff_at=date(2023, 10, 1),
199
201
  published_at=date(2024, 8, 6),
200
202
  )
203
+ case LanguageModelName.AZURE_GPT_4o_2024_1120:
204
+ return cls(
205
+ name=model_name,
206
+ encoder_name=EncoderName.O200K_BASE,
207
+ capabilities=[
208
+ ModelCapabilities.STRUCTURED_OUTPUT,
209
+ ModelCapabilities.FUNCTION_CALLING,
210
+ ModelCapabilities.PARALLEL_FUNCTION_CALLING,
211
+ ModelCapabilities.STREAMING,
212
+ ModelCapabilities.VISION,
213
+ ],
214
+ provider=LanguageModelProvider.AZURE,
215
+ version="2024-11-20",
216
+ token_limits=LanguageModelTokenLimits(
217
+ token_limit_input=128_000, token_limit_output=16_384
218
+ ),
219
+ info_cutoff_at=date(2023, 10, 1),
220
+ published_at=date(2024, 11, 20),
221
+ )
201
222
  case LanguageModelName.AZURE_GPT_4o_MINI_2024_0718:
202
223
  return cls(
203
224
  name=model_name,
@@ -291,6 +312,24 @@ class LanguageModelInfo(BaseModel):
291
312
  info_cutoff_at=date(2023, 10, 1),
292
313
  published_at=date(2025, 2, 27),
293
314
  )
315
+ case LanguageModelName.AZURE_GPT_41_2025_0414:
316
+ return cls(
317
+ name=model_name,
318
+ capabilities=[
319
+ ModelCapabilities.STRUCTURED_OUTPUT,
320
+ ModelCapabilities.FUNCTION_CALLING,
321
+ ModelCapabilities.STREAMING,
322
+ ModelCapabilities.VISION,
323
+ ],
324
+ provider=LanguageModelProvider.AZURE,
325
+ version="2025-04-14",
326
+ encoder_name=EncoderName.O200K_BASE,
327
+ token_limits=LanguageModelTokenLimits(
328
+ token_limit_input=1_047_576, token_limit_output=32_768
329
+ ),
330
+ info_cutoff_at=date(2024, 5, 31),
331
+ published_at=date(2025, 4, 14),
332
+ )
294
333
  case _:
295
334
  if isinstance(model_name, LanguageModelName):
296
335
  raise ValueError(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.7.7
3
+ Version: 0.7.9
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Martin Fadler
@@ -111,6 +111,11 @@ All notable changes to this project will be documented in this file.
111
111
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
112
112
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
113
113
 
114
+ ## [0.7.9] - 2025-04-17
115
+ - add `AZURE_GPT_41_2025_0414` as part of the models
116
+
117
+ ## [0.7.8] - 2025-04-08
118
+ - add `AZURE_GPT_4o_2024_1120` as part of the models
114
119
 
115
120
  ## [0.7.7] - 2025-04-11
116
121
  - Add tool choice parameter to chat event payload
@@ -48,7 +48,7 @@ unique_toolkit/language_model/__init__.py,sha256=jWko_vQj48wjnpTtlkg8iNdef0SMI3F
48
48
  unique_toolkit/language_model/builder.py,sha256=aIAXWWUoB5G-HONJiAt3MdRGd4jdP8nA-HYX2D2WlSI,3048
49
49
  unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
50
50
  unique_toolkit/language_model/functions.py,sha256=I5jHhHsKoq7GwEQyTrM8LXB2n_6dvMAk7UklenjuHSY,7945
51
- unique_toolkit/language_model/infos.py,sha256=0Lx9M0gumczOpzbS5Zaqz_T-e_eV4MOb6gJVz5X1KF8,17339
51
+ unique_toolkit/language_model/infos.py,sha256=kze4jI0CqLVEcejlC-q9pd9pPqkfJy6A-qPKKZ4iDEc,19211
52
52
  unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
53
53
  unique_toolkit/language_model/schemas.py,sha256=rrwzUgKANFOrdehCULW8Hh03uRW3tsE5dXpWqxmClfg,8618
54
54
  unique_toolkit/language_model/service.py,sha256=GupYD4uDZjy1TfVQW3jichmgQwiSgQCj350FtL4O0W4,5569
@@ -58,7 +58,7 @@ unique_toolkit/short_term_memory/constants.py,sha256=698CL6-wjup2MvU19RxSmQk3gX7
58
58
  unique_toolkit/short_term_memory/functions.py,sha256=3WiK-xatY5nh4Dr5zlDUye1k3E6kr41RiscwtTplw5k,4484
59
59
  unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJs8FEZXcgQTNenw,1406
60
60
  unique_toolkit/short_term_memory/service.py,sha256=0wrwuo6K17Edcuiwp5LMCvxFuBSDP82HF0_5qwi0nYc,5307
61
- unique_toolkit-0.7.7.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
62
- unique_toolkit-0.7.7.dist-info/METADATA,sha256=0ZcjwBQeexIB2Yg2qXVgwyHy2xk6WfKV9xETTBf5KI8,21257
63
- unique_toolkit-0.7.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
64
- unique_toolkit-0.7.7.dist-info/RECORD,,
61
+ unique_toolkit-0.7.9.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
62
+ unique_toolkit-0.7.9.dist-info/METADATA,sha256=h8f89IJhXVWwgr9FOJ2xDg07fscYcJz_lQQvnH5jFEc,21412
63
+ unique_toolkit-0.7.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
64
+ unique_toolkit-0.7.9.dist-info/RECORD,,