unique_toolkit 1.43.6__py3-none-any.whl → 1.43.7__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,9 +1,10 @@
1
1
  from typing import Any
2
2
 
3
- from humps import camelize
4
- from pydantic import BaseModel, ConfigDict, Field
3
+ from pydantic import Field
4
+ from pydantic.json_schema import SkipJsonSchema
5
5
 
6
6
  from unique_toolkit._common.validators import LMI
7
+ from unique_toolkit.agentic.tools.schemas import BaseToolConfig
7
8
  from unique_toolkit.language_model.default_language_model import DEFAULT_GPT_4o
8
9
  from unique_toolkit.language_model.infos import LanguageModelInfo
9
10
 
@@ -11,19 +12,10 @@ from .schemas import (
11
12
  EvaluationMetricName,
12
13
  )
13
14
 
14
- model_config = ConfigDict(
15
- alias_generator=camelize,
16
- populate_by_name=True,
17
- arbitrary_types_allowed=True,
18
- validate_default=True,
19
- )
20
-
21
-
22
- class EvaluationMetricConfig(BaseModel):
23
- model_config = model_config
24
15
 
25
- enabled: bool = False
26
- name: EvaluationMetricName
16
+ class EvaluationMetricConfig(BaseToolConfig):
17
+ enabled: SkipJsonSchema[bool] = False
18
+ name: SkipJsonSchema[EvaluationMetricName]
27
19
  language_model: LMI = LanguageModelInfo.from_name(
28
20
  DEFAULT_GPT_4o,
29
21
  )
@@ -1,6 +1,7 @@
1
1
  from typing import Any
2
2
 
3
3
  from pydantic import Field
4
+ from pydantic.json_schema import SkipJsonSchema
4
5
 
5
6
  from unique_toolkit._common.validators import LMI
6
7
  from unique_toolkit.agentic.evaluation.config import EvaluationMetricConfig
@@ -24,8 +25,8 @@ USER_MSG_DEFAULT_KEY = "userPromptDefault"
24
25
 
25
26
 
26
27
  class HallucinationConfig(EvaluationMetricConfig):
27
- enabled: bool = False
28
- name: EvaluationMetricName = EvaluationMetricName.HALLUCINATION
28
+ enabled: SkipJsonSchema[bool] = False
29
+ name: SkipJsonSchema[EvaluationMetricName] = EvaluationMetricName.HALLUCINATION
29
30
  language_model: LMI = LanguageModelInfo.from_name(
30
31
  DEFAULT_GPT_4o,
31
32
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 1.43.6
3
+ Version: 1.43.7
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -125,6 +125,9 @@ All notable changes to this project will be documented in this file.
125
125
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
126
126
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
127
127
 
128
+ ## [1.43.7] - 2026-01-15
129
+ - Cleanup hallucination config that is displayed in space config
130
+
128
131
  ## [1.43.6] - 2026-01-13
129
132
  - Update message execution pipeline functions and service
130
133
 
@@ -69,13 +69,13 @@ unique_toolkit/_common/validators.py,sha256=ElnkMsyEY24TfzfTVHvireyT39EnZgW5N40T
69
69
  unique_toolkit/agentic/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
70
70
  unique_toolkit/agentic/debug_info_manager/debug_info_manager.py,sha256=30ZZaw0vffjZjiu9AYdO1Sm8G9FN6XR2ehdOEUCKqh0,891
71
71
  unique_toolkit/agentic/debug_info_manager/test/test_debug_info_manager.py,sha256=_fIS6_DHA8A3AB64-LPgHgUGa1w0CFUWwtgV-ZbhkzA,10535
72
- unique_toolkit/agentic/evaluation/config.py,sha256=zcW7m63Yt5G39hN2If8slBl6Eu3jTRoRPjYaUMn54Uk,987
72
+ unique_toolkit/agentic/evaluation/config.py,sha256=Xbti9Tx7vgyUySed9Ovwx0uKL_tFWakMGll5MfOkvBM,905
73
73
  unique_toolkit/agentic/evaluation/context_relevancy/prompts.py,sha256=EdHFUOB581yVxcOL8482KUv_LzaRjuiem71EF8udYMc,1331
74
74
  unique_toolkit/agentic/evaluation/context_relevancy/schema.py,sha256=lZd0TPzH43ifgWWGg3WO6b1AQX8aK2R9y51yH0d1DHM,2919
75
75
  unique_toolkit/agentic/evaluation/context_relevancy/service.py,sha256=2NM1_PCP6fXsRm0r-MGrUg5Z3WO00FBCqmiU8f5Kagg,9661
76
76
  unique_toolkit/agentic/evaluation/evaluation_manager.py,sha256=wDN_Uuut9kEGek8JY3QeInKpF-ukbvOSKOVd7DHFT3Q,8121
77
77
  unique_toolkit/agentic/evaluation/exception.py,sha256=7lcVbCyoN4Md1chNJDFxpUYyWbVrcr9dcc3TxWykJTc,115
78
- unique_toolkit/agentic/evaluation/hallucination/constants.py,sha256=SoGmoYti2J33tSmmOC1BSF6Pkh8DQvbQAU9xIZFQZRs,2070
78
+ unique_toolkit/agentic/evaluation/hallucination/constants.py,sha256=XyRTAlL9nVWuHXTe6MP97fOkAtnbEhtw7KCl08QJydU,2150
79
79
  unique_toolkit/agentic/evaluation/hallucination/hallucination_evaluation.py,sha256=x5ta2Fum4fE5ySgIXPKlnbTtmV140z0IazSATd0-REg,4092
80
80
  unique_toolkit/agentic/evaluation/hallucination/prompts.py,sha256=O3Hi_rOzZlujvnO2wn2jhoPmrYLjzVtRWwxn5Q81m9Y,3405
81
81
  unique_toolkit/agentic/evaluation/hallucination/service.py,sha256=WJF1f45uHnYLx1S4TW31bSFobFpV-YlOS3G_zMhuBVU,2512
@@ -242,7 +242,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
242
242
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
243
243
  unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
244
244
  unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
245
- unique_toolkit-1.43.6.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
246
- unique_toolkit-1.43.6.dist-info/METADATA,sha256=VgZGxE0aGHhhgg8hPx4UGFcxzlNt1keJIqSqGowCqlM,48002
247
- unique_toolkit-1.43.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
248
- unique_toolkit-1.43.6.dist-info/RECORD,,
245
+ unique_toolkit-1.43.7.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
246
+ unique_toolkit-1.43.7.dist-info/METADATA,sha256=cSf6-40dGAJ5pjXhdKnG0VVwN60m2A1ckeaIJyuc_eA,48093
247
+ unique_toolkit-1.43.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
248
+ unique_toolkit-1.43.7.dist-info/RECORD,,