unique_toolkit 0.8.41__py3-none-any.whl → 0.8.43__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,7 +1,6 @@
1
- from typing import Any
1
+ from typing import Annotated, Any
2
2
 
3
3
  from pydantic import BaseModel, Field
4
- from pydantic.json_schema import SkipJsonSchema
5
4
 
6
5
  from unique_toolkit._common.default_language_model import DEFAULT_GPT_35_TURBO
7
6
  from unique_toolkit._common.validators import LMI, get_LMI_default_field
@@ -39,7 +38,10 @@ class ChunkRelevancySortConfig(BaseModel):
39
38
  default_factory=StructuredOutputConfig,
40
39
  description="The configuration for the structured output.",
41
40
  )
42
- max_tasks: int | SkipJsonSchema[None] = Field(
41
+ max_tasks: (
42
+ Annotated[int, Field(title="Limited")]
43
+ | Annotated[None, Field(title="Unlimited")]
44
+ ) = Field(
43
45
  default=1000,
44
46
  description="The maximum number of tasks to run in parallel.",
45
47
  )
@@ -68,7 +68,11 @@ class UniqueApi(BaseSettings):
68
68
  default="http://localhost:8092/",
69
69
  description="The base URL of the Unique API. Ask your admin to provide you with the correct URL.",
70
70
  validation_alias=AliasChoices(
71
- "unique_api_base_url", "base_url", "UNIQUE_API_BASE_URL", "BASE_URL"
71
+ "unique_api_base_url",
72
+ "base_url",
73
+ "UNIQUE_API_BASE_URL",
74
+ "BASE_URL",
75
+ "API_BASE",
72
76
  ),
73
77
  )
74
78
  version: str = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.8.41
3
+ Version: 0.8.43
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Martin Fadler
@@ -117,6 +117,12 @@ All notable changes to this project will be documented in this file.
117
117
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
118
118
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
119
119
 
120
+ ## [0.8.43] - 2025-09-03
121
+ - Add alias for `UniqueSettings` api base `API_BASE`
122
+
123
+ ## [0.8.42] - 2025-09-02
124
+ - updated schema of `chunk_relevancy_sorter`
125
+
120
126
  ## [0.8.41] - 2025-09-02
121
127
  - Make A2A tool auto register with tool factory
122
128
 
@@ -2,7 +2,7 @@ unique_toolkit/__init__.py,sha256=nbOYPIKERt-ITsgifrnJhatn1YNR38Ntumw-dCn_tsA,71
2
2
  unique_toolkit/_common/_base_service.py,sha256=S8H0rAebx7GsOldA7xInLp3aQJt9yEPDQdsGSFRJsGg,276
3
3
  unique_toolkit/_common/_time_utils.py,sha256=ztmTovTvr-3w71Ns2VwXC65OKUUh-sQlzbHdKTQWm-w,135
4
4
  unique_toolkit/_common/base_model_type_attribute.py,sha256=7rzVqjXa0deYEixeo_pJSJcQ7nKXpWK_UGpOiEH3yZY,10382
5
- unique_toolkit/_common/chunk_relevancy_sorter/config.py,sha256=v6Ljo-WIZCtYJgfaPfpzZegCV0DEw_nNhTzNtw0Jg7c,1744
5
+ unique_toolkit/_common/chunk_relevancy_sorter/config.py,sha256=XRGntzGNhDmddaCqiLY6pcOiBZPUt7AHHx5sTyrqyHQ,1787
6
6
  unique_toolkit/_common/chunk_relevancy_sorter/exception.py,sha256=1mY4zjbvnXsd5oIxwiVsma09bS2XRnHrxW8KJBGtgCM,126
7
7
  unique_toolkit/_common/chunk_relevancy_sorter/schemas.py,sha256=doAWPPx8d0zIqHMXmnJy47Z5_NlblJBhMqo8KE7fyyc,1329
8
8
  unique_toolkit/_common/chunk_relevancy_sorter/service.py,sha256=UxYn4xJMNEXQ1afMiT2sMwXgdmlFNPaglVhx6CRRtiM,13864
@@ -24,7 +24,7 @@ unique_toolkit/app/init_sdk.py,sha256=5_oDoETr6akwYyBCb0ivTdMNu3SVgPSkrXcDS6ELyY
24
24
  unique_toolkit/app/performance/async_tasks.py,sha256=H0l3OAcosLwNHZ8d2pd-Di4wHIXfclEvagi5kfqLFPA,1941
25
25
  unique_toolkit/app/performance/async_wrapper.py,sha256=yVVcRDkcdyfjsxro-N29SBvi-7773wnfDplef6-y8xw,1077
26
26
  unique_toolkit/app/schemas.py,sha256=xHdzMyZ_cgCzxCqzCJYwOCAYWkaQ9zIyZsRhDgSQnEA,8088
27
- unique_toolkit/app/unique_settings.py,sha256=_Ll_GuWYiOIK2w4HQPA_uopTdDDFcjVqDFO3m2F2b-Q,10254
27
+ unique_toolkit/app/unique_settings.py,sha256=3BSMRAUz2rfbmIW5Ot-xXj7hMjWwtNskbUh9joh11mE,10315
28
28
  unique_toolkit/app/verification.py,sha256=GxFFwcJMy25fCA_Xe89wKW7bgqOu8PAs5y8QpHF0GSc,3861
29
29
  unique_toolkit/chat/__init__.py,sha256=LRs2G-JTVuci4lbtHTkVUiNcZcSR6uqqfnAyo7af6nY,619
30
30
  unique_toolkit/chat/constants.py,sha256=05kq6zjqUVB2d6_P7s-90nbljpB3ryxwCI-CAz0r2O4,83
@@ -131,7 +131,7 @@ unique_toolkit/tools/utils/execution/execution.py,sha256=vjG2Y6awsGNtlvyQAGCTthQ
131
131
  unique_toolkit/tools/utils/source_handling/schema.py,sha256=vzAyf6ZWNexjMO0OrnB8y2glGkvAilmGGQXd6zcDaKw,870
132
132
  unique_toolkit/tools/utils/source_handling/source_formatting.py,sha256=C7uayNbdkNVJdEARA5CENnHtNY1SU6etlaqbgHNyxaQ,9152
133
133
  unique_toolkit/tools/utils/source_handling/tests/test_source_formatting.py,sha256=oM5ZxEgzROrnX1229KViCAFjRxl9wCTzWZoinYSHleM,6979
134
- unique_toolkit-0.8.41.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
135
- unique_toolkit-0.8.41.dist-info/METADATA,sha256=GL0JJ_5XuFDzikJ3EadvNaCZjczJYTJuUXfU5MGJSA8,30347
136
- unique_toolkit-0.8.41.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
137
- unique_toolkit-0.8.41.dist-info/RECORD,,
134
+ unique_toolkit-0.8.43.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
135
+ unique_toolkit-0.8.43.dist-info/METADATA,sha256=pqq5cnQACt4gF0Mi2VDupTmMVaZoFEGBUFoGeb48gxo,30497
136
+ unique_toolkit-0.8.43.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
137
+ unique_toolkit-0.8.43.dist-info/RECORD,,