unique_toolkit 0.7.4__tar.gz → 0.7.6__tar.gz
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-0.7.4 → unique_toolkit-0.7.6}/CHANGELOG.md +6 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/PKG-INFO +7 -1
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/pyproject.toml +1 -1
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/infos.py +15 -18
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/LICENSE +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/README.md +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/_common/_base_service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/_common/_time_utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/_common/exception.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/_common/validate_required_values.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/_common/validators.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/init_logging.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/init_sdk.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/performance/async_tasks.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/performance/async_wrapper.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/verification.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/functions.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/state.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/chat/utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/content/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/content/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/content/functions.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/content/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/content/service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/content/utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/embedding/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/embedding/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/embedding/functions.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/embedding/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/embedding/service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/embedding/utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/config.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/prompts.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/exception.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/prompts.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/output_parser.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/builder.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/functions.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/prompt.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/service.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/language_model/utils.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/short_term_memory/__init__.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/short_term_memory/constants.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/short_term_memory/functions.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/short_term_memory/schemas.py +0 -0
- {unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/short_term_memory/service.py +0 -0
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [0.7.6] - 2025-04-08
|
9
|
+
- De provisioning o1-preview
|
10
|
+
|
11
|
+
## [0.7.5] - 2025-04-07
|
12
|
+
- Skip None values when serializing to json schema for LanguageModelInfo
|
13
|
+
|
8
14
|
## [0.7.4] - 2025-03-20
|
9
15
|
- add `AZURE_GPT_45_PREVIEW_2025_0227` as part of the models
|
10
16
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.6
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Martin Fadler
|
@@ -111,6 +111,12 @@ 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.6] - 2025-04-08
|
115
|
+
- De provisioning o1-preview
|
116
|
+
|
117
|
+
## [0.7.5] - 2025-04-07
|
118
|
+
- Skip None values when serializing to json schema for LanguageModelInfo
|
119
|
+
|
114
120
|
## [0.7.4] - 2025-03-20
|
115
121
|
- add `AZURE_GPT_45_PREVIEW_2025_0227` as part of the models
|
116
122
|
|
@@ -3,6 +3,7 @@ from enum import StrEnum
|
|
3
3
|
from typing import ClassVar, Optional, Self
|
4
4
|
|
5
5
|
from pydantic import BaseModel
|
6
|
+
from pydantic.json_schema import SkipJsonSchema
|
6
7
|
from typing_extensions import deprecated
|
7
8
|
|
8
9
|
from unique_toolkit.language_model.schemas import LanguageModelTokenLimits
|
@@ -16,9 +17,8 @@ class LanguageModelName(StrEnum):
|
|
16
17
|
AZURE_GPT_4o_2024_0513 = "AZURE_GPT_4o_2024_0513"
|
17
18
|
AZURE_GPT_4o_2024_0806 = "AZURE_GPT_4o_2024_0806"
|
18
19
|
AZURE_GPT_4o_MINI_2024_0718 = "AZURE_GPT_4o_MINI_2024_0718"
|
19
|
-
AZURE_o1_PREVIEW_2024_0912 = "AZURE_o1_PREVIEW_2024_0912"
|
20
|
-
AZURE_o1_2024_1217 = "AZURE_o1_2024_1217"
|
21
20
|
AZURE_o1_MINI_2024_0912 = "AZURE_o1_MINI_2024_0912"
|
21
|
+
AZURE_o1_2024_1217 = "AZURE_o1_2024_1217"
|
22
22
|
AZURE_o3_MINI_2025_0131 = "AZURE_o3_MINI_2025_0131"
|
23
23
|
AZURE_GPT_45_PREVIEW_2025_0227 = "AZURE_GPT_45_PREVIEW_2025_0227"
|
24
24
|
|
@@ -80,12 +80,12 @@ class LanguageModelInfo(BaseModel):
|
|
80
80
|
)
|
81
81
|
capabilities: list[ModelCapabilities] = [ModelCapabilities.STREAMING]
|
82
82
|
|
83
|
-
info_cutoff_at:
|
84
|
-
published_at:
|
85
|
-
retirement_at:
|
83
|
+
info_cutoff_at: date | SkipJsonSchema[None] = None
|
84
|
+
published_at: date | SkipJsonSchema[None] = None
|
85
|
+
retirement_at: date | SkipJsonSchema[None] = None
|
86
86
|
|
87
|
-
deprecated_at:
|
88
|
-
retirement_text:
|
87
|
+
deprecated_at: date | SkipJsonSchema[None] = None
|
88
|
+
retirement_text: str | SkipJsonSchema[None] = None
|
89
89
|
|
90
90
|
@classmethod
|
91
91
|
def from_name(cls, model_name: LanguageModelName) -> Self:
|
@@ -217,7 +217,7 @@ class LanguageModelInfo(BaseModel):
|
|
217
217
|
info_cutoff_at=date(2023, 10, 1),
|
218
218
|
published_at=date(2024, 7, 18),
|
219
219
|
)
|
220
|
-
case LanguageModelName.
|
220
|
+
case LanguageModelName.AZURE_o1_MINI_2024_0912:
|
221
221
|
return cls(
|
222
222
|
name=model_name,
|
223
223
|
capabilities=[
|
@@ -228,18 +228,15 @@ class LanguageModelInfo(BaseModel):
|
|
228
228
|
ModelCapabilities.REASONING,
|
229
229
|
],
|
230
230
|
provider=LanguageModelProvider.AZURE,
|
231
|
-
version="2024-12
|
231
|
+
version="2024-09-12",
|
232
232
|
encoder_name=EncoderName.O200K_BASE,
|
233
233
|
token_limits=LanguageModelTokenLimits(
|
234
|
-
token_limit_input=
|
234
|
+
token_limit_input=128_000, token_limit_output=65_536
|
235
235
|
),
|
236
236
|
info_cutoff_at=date(2023, 10, 1),
|
237
|
-
published_at=date(2024,
|
237
|
+
published_at=date(2024, 9, 12),
|
238
238
|
)
|
239
|
-
case
|
240
|
-
LanguageModelName.AZURE_o1_MINI_2024_0912
|
241
|
-
| LanguageModelName.AZURE_o1_PREVIEW_2024_0912
|
242
|
-
):
|
239
|
+
case LanguageModelName.AZURE_o1_2024_1217:
|
243
240
|
return cls(
|
244
241
|
name=model_name,
|
245
242
|
capabilities=[
|
@@ -250,13 +247,13 @@ class LanguageModelInfo(BaseModel):
|
|
250
247
|
ModelCapabilities.REASONING,
|
251
248
|
],
|
252
249
|
provider=LanguageModelProvider.AZURE,
|
253
|
-
version="2024-
|
250
|
+
version="2024-12-17",
|
254
251
|
encoder_name=EncoderName.O200K_BASE,
|
255
252
|
token_limits=LanguageModelTokenLimits(
|
256
|
-
token_limit_input=
|
253
|
+
token_limit_input=200_000, token_limit_output=100_000
|
257
254
|
),
|
258
255
|
info_cutoff_at=date(2023, 10, 1),
|
259
|
-
published_at=date(2024,
|
256
|
+
published_at=date(2024, 12, 17),
|
260
257
|
)
|
261
258
|
case LanguageModelName.AZURE_o3_MINI_2025_0131:
|
262
259
|
return cls(
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/_common/validate_required_values.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/app/performance/async_wrapper.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/prompts.py
RENAMED
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/service.py
RENAMED
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/context_relevancy/utils.py
RENAMED
File without changes
|
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/constants.py
RENAMED
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/prompts.py
RENAMED
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/service.py
RENAMED
File without changes
|
{unique_toolkit-0.7.4 → unique_toolkit-0.7.6}/unique_toolkit/evaluators/hallucination/utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|