unique_toolkit 0.7.24__py3-none-any.whl → 0.7.25__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.
@@ -1,5 +1,6 @@
1
1
  import logging
2
2
  from pathlib import Path
3
+ from typing import Any
3
4
 
4
5
  import unique_sdk
5
6
  from requests import Response
@@ -408,7 +409,7 @@ class ContentService:
408
409
  chat_id: str | None = None,
409
410
  skip_ingestion: bool = False,
410
411
  ingestion_config: unique_sdk.Content.IngestionConfig | None = None,
411
- metadata: dict[str, any] | None = None,
412
+ metadata: dict[str, Any] | None = None,
412
413
  ):
413
414
  """
414
415
  Uploads content to the knowledge base.
@@ -23,6 +23,8 @@ class LanguageModelName(StrEnum):
23
23
  AZURE_o3_MINI_2025_0131 = "AZURE_o3_MINI_2025_0131"
24
24
  AZURE_GPT_45_PREVIEW_2025_0227 = "AZURE_GPT_45_PREVIEW_2025_0227"
25
25
  AZURE_GPT_41_2025_0414 = "AZURE_GPT_41_2025_0414"
26
+ AZURE_GPT_41_MINI_2025_0414 = "AZURE_GPT_41_MINI_2025_0414"
27
+ AZURE_GPT_41_NANO_2025_0414 = "AZURE_GPT_41_NANO_2025_0414"
26
28
  AZURE_o3_2025_0416 = "AZURE_o3_2025_0416"
27
29
  AZURE_o4_MINI_2025_0416 = "AZURE_o4_MINI_2025_0416"
28
30
  ANTHROPIC_CLAUDE_3_7_SONNET = "litellm:anthropic-claude-3-7-sonnet"
@@ -378,6 +380,42 @@ class LanguageModelInfo(BaseModel):
378
380
  info_cutoff_at=date(2024, 5, 31),
379
381
  published_at=date(2025, 4, 14),
380
382
  )
383
+ case LanguageModelName.AZURE_GPT_41_MINI_2025_0414:
384
+ return cls(
385
+ name=model_name,
386
+ capabilities=[
387
+ ModelCapabilities.STRUCTURED_OUTPUT,
388
+ ModelCapabilities.FUNCTION_CALLING,
389
+ ModelCapabilities.STREAMING,
390
+ ModelCapabilities.VISION,
391
+ ],
392
+ provider=LanguageModelProvider.AZURE,
393
+ version="2025-04-14",
394
+ encoder_name=EncoderName.O200K_BASE,
395
+ token_limits=LanguageModelTokenLimits(
396
+ token_limit_input=1_047_576, token_limit_output=32_768
397
+ ),
398
+ info_cutoff_at=date(2024, 5, 31),
399
+ published_at=date(2025, 4, 14),
400
+ )
401
+ case LanguageModelName.AZURE_GPT_41_NANO_2025_0414:
402
+ return cls(
403
+ name=model_name,
404
+ capabilities=[
405
+ ModelCapabilities.STRUCTURED_OUTPUT,
406
+ ModelCapabilities.FUNCTION_CALLING,
407
+ ModelCapabilities.STREAMING,
408
+ ModelCapabilities.VISION,
409
+ ],
410
+ provider=LanguageModelProvider.AZURE,
411
+ version="2025-04-14",
412
+ encoder_name=EncoderName.O200K_BASE,
413
+ token_limits=LanguageModelTokenLimits(
414
+ token_limit_input=1_047_576, token_limit_output=32_768
415
+ ),
416
+ info_cutoff_at=date(2024, 5, 31),
417
+ published_at=date(2025, 4, 14),
418
+ )
381
419
  case LanguageModelName.ANTHROPIC_CLAUDE_3_7_SONNET:
382
420
  return cls(
383
421
  name=model_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.7.24
3
+ Version: 0.7.25
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Martin Fadler
@@ -111,6 +111,9 @@ 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.25] - 2025-06-05
115
+ - Adding models `AZURE_GPT_41_MINI_2025_0414`, `AZURE_GPT_41_NANO_2025_0414`
116
+
114
117
  ## [0.7.24] - 2025-05-30
115
118
  - Adding litellm model `gemini-2-5-flash-preview-05-20`, `anthropic-claude-sonnet-4` and `anthropic-claude-opus-4`
116
119
 
@@ -22,7 +22,7 @@ unique_toolkit/content/__init__.py,sha256=EdJg_A_7loEtCQf4cah3QARQreJx6pdz89Rm96
22
22
  unique_toolkit/content/constants.py,sha256=1iy4Y67xobl5VTnJB6SxSyuoBWbdLl9244xfVMUZi5o,60
23
23
  unique_toolkit/content/functions.py,sha256=Chf2QcnnWvKvXMF4IUmU-_aUN6nTZIfsbM7ds77olcY,18344
24
24
  unique_toolkit/content/schemas.py,sha256=28Cj0R9JzJ4s0qR2Sfunr7luwYjMF2I8TepVxt5ZE2o,2446
25
- unique_toolkit/content/service.py,sha256=27awBOsYHdfSxwHM1UzCQLnHuo-M49ej3jpFwBLRflM,19438
25
+ unique_toolkit/content/service.py,sha256=knpkRcEThMLHXmEGvKIPnn7_xiVud_AU3e-yav-UlwI,19461
26
26
  unique_toolkit/content/utils.py,sha256=GUVPrkZfMoAj4MRoBs5BD_7vSuLZTZx69hyWzYFrI50,7747
27
27
  unique_toolkit/embedding/__init__.py,sha256=uUyzjonPvuDCYsvXCIt7ErQXopLggpzX-MEQd3_e2kE,250
28
28
  unique_toolkit/embedding/constants.py,sha256=Lj8-Lcy1FvuC31PM9Exq7vaFuxQV4pEI1huUMFX-J2M,52
@@ -48,7 +48,7 @@ unique_toolkit/language_model/__init__.py,sha256=lRQyLlbwHbNFf4-0foBU13UGb09lwEe
48
48
  unique_toolkit/language_model/builder.py,sha256=69WCcmkm2rMP2-YEH_EjHiEp6OzwjwCs8VbhjVJaCe0,3168
49
49
  unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
50
50
  unique_toolkit/language_model/functions.py,sha256=koCAfhtkIGSiy8pSdDpIw9xRbwJ20EeLhDQMUXc8KZk,8049
51
- unique_toolkit/language_model/infos.py,sha256=c44oyI0IuYILVmvxndGlKr_OecYz0Zvn8orCAtDv8WQ,28889
51
+ unique_toolkit/language_model/infos.py,sha256=peJ4cSJC__jGLWZoOZGRhoersmkwFmclsXTZi-KqYXc,30723
52
52
  unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
53
53
  unique_toolkit/language_model/schemas.py,sha256=DJD2aoMfs2Irnc4rzOrVuV4Fbt84LQAiDGG5rse1dgk,12770
54
54
  unique_toolkit/language_model/service.py,sha256=9LS3ouRNtzqZaKrMFagLZS9gBvNC5e46Ut86YWHBBHY,8470
@@ -59,7 +59,7 @@ unique_toolkit/short_term_memory/constants.py,sha256=698CL6-wjup2MvU19RxSmQk3gX7
59
59
  unique_toolkit/short_term_memory/functions.py,sha256=3WiK-xatY5nh4Dr5zlDUye1k3E6kr41RiscwtTplw5k,4484
60
60
  unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJs8FEZXcgQTNenw,1406
61
61
  unique_toolkit/short_term_memory/service.py,sha256=vEKFxP1SScPrFniso492fVthWR1sosdFibhiNF3zRvI,8081
62
- unique_toolkit-0.7.24.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
63
- unique_toolkit-0.7.24.dist-info/METADATA,sha256=s-kBSrSHAM1Qh3g4b_hGvB4EoBFA2jrjlrNu5PzH4I8,23458
64
- unique_toolkit-0.7.24.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
65
- unique_toolkit-0.7.24.dist-info/RECORD,,
62
+ unique_toolkit-0.7.25.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
63
+ unique_toolkit-0.7.25.dist-info/METADATA,sha256=aIzedepO3qUHINsFgFZaayIsHZcqNDXeklTfn3w7In8,23561
64
+ unique_toolkit-0.7.25.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
65
+ unique_toolkit-0.7.25.dist-info/RECORD,,