unique_toolkit 1.42.5__py3-none-any.whl → 1.42.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.
- unique_toolkit/app/unique_settings.py +9 -1
- unique_toolkit/content/utils.py +1 -3
- {unique_toolkit-1.42.5.dist-info → unique_toolkit-1.42.7.dist-info}/METADATA +7 -1
- {unique_toolkit-1.42.5.dist-info → unique_toolkit-1.42.7.dist-info}/RECORD +6 -6
- {unique_toolkit-1.42.5.dist-info → unique_toolkit-1.42.7.dist-info}/LICENSE +0 -0
- {unique_toolkit-1.42.5.dist-info → unique_toolkit-1.42.7.dist-info}/WHEEL +0 -0
|
@@ -54,7 +54,15 @@ class UniqueApp(BaseSettings):
|
|
|
54
54
|
)
|
|
55
55
|
endpoint: str = Field(default="dummy")
|
|
56
56
|
|
|
57
|
-
endpoint_secret: SecretStr = Field(
|
|
57
|
+
endpoint_secret: SecretStr = Field(
|
|
58
|
+
default=SecretStr("dummy_secret"),
|
|
59
|
+
validation_alias=AliasChoices(
|
|
60
|
+
"unique_app_endpoint_secret",
|
|
61
|
+
"endpoint_secret",
|
|
62
|
+
"UNIQUE_APP_ENDPOINT_SECRET",
|
|
63
|
+
"ENDPOINT_SECRET",
|
|
64
|
+
),
|
|
65
|
+
)
|
|
58
66
|
|
|
59
67
|
@model_validator(mode="after")
|
|
60
68
|
def _warn_about_defaults(self) -> Self:
|
unique_toolkit/content/utils.py
CHANGED
|
@@ -190,9 +190,7 @@ def count_tokens(text: str, encoding_model="cl100k_base") -> int:
|
|
|
190
190
|
def map_content_chunk(
|
|
191
191
|
content_id: str, content_key: str, content_chunk: dict, metadata: dict | None
|
|
192
192
|
):
|
|
193
|
-
content_metadata = (
|
|
194
|
-
ContentMetadata(**metadata) if metadata else None if metadata else None
|
|
195
|
-
)
|
|
193
|
+
content_metadata = ContentMetadata(**metadata) if metadata else None
|
|
196
194
|
return ContentChunk(
|
|
197
195
|
id=content_id,
|
|
198
196
|
key=content_key,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_toolkit
|
|
3
|
-
Version: 1.42.
|
|
3
|
+
Version: 1.42.7
|
|
4
4
|
Summary:
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Author: Cedric Klinkert
|
|
@@ -124,6 +124,12 @@ All notable changes to this project will be documented in this file.
|
|
|
124
124
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
125
125
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
126
126
|
|
|
127
|
+
## [1.42.7] - 2026-01-08
|
|
128
|
+
- Add aliases for endpoint secret env var.
|
|
129
|
+
|
|
130
|
+
## [1.42.6] - 2026-01-07
|
|
131
|
+
- Remove double redundant condition
|
|
132
|
+
|
|
127
133
|
## [1.42.5] - 2026-01-07
|
|
128
134
|
- Add Mapping of metadata to the `search_content` calls
|
|
129
135
|
- Remove additional indentation by the markdown to docx converter
|
|
@@ -148,7 +148,7 @@ unique_toolkit/app/init_sdk.py,sha256=5_oDoETr6akwYyBCb0ivTdMNu3SVgPSkrXcDS6ELyY
|
|
|
148
148
|
unique_toolkit/app/performance/async_tasks.py,sha256=H0l3OAcosLwNHZ8d2pd-Di4wHIXfclEvagi5kfqLFPA,1941
|
|
149
149
|
unique_toolkit/app/performance/async_wrapper.py,sha256=yVVcRDkcdyfjsxro-N29SBvi-7773wnfDplef6-y8xw,1077
|
|
150
150
|
unique_toolkit/app/schemas.py,sha256=17Olyqc58LjFaZ6kYtPThWsGmRM0qGzDwRTekDNNw-E,10825
|
|
151
|
-
unique_toolkit/app/unique_settings.py,sha256=
|
|
151
|
+
unique_toolkit/app/unique_settings.py,sha256=ggAUPSbwoCiEhnvmSBWVPHimUpL5w4bqynM43WZ90Ng,12577
|
|
152
152
|
unique_toolkit/app/verification.py,sha256=GxFFwcJMy25fCA_Xe89wKW7bgqOu8PAs5y8QpHF0GSc,3861
|
|
153
153
|
unique_toolkit/app/webhook.py,sha256=k7DP1UTR3p7D4qzuKPKVmGMAkDVHfALrnMIzTZqj_OI,2320
|
|
154
154
|
unique_toolkit/chat/__init__.py,sha256=uP7P6YPeOjEOvpX3bhcU6ND_m0QLr4wMklcrnAKK0q4,804
|
|
@@ -167,7 +167,7 @@ unique_toolkit/content/functions.py,sha256=cYbILIufzX1btSPiEAglH4cd2eI5MfHoZmaUB
|
|
|
167
167
|
unique_toolkit/content/schemas.py,sha256=uuS1UsuWK6eC7cP4dTC1q3DJ39xl6zenN2zL4ghFmzk,6424
|
|
168
168
|
unique_toolkit/content/service.py,sha256=hwycIbxtLn1p0IgNQMVIxN2NUhy_4AVsTfatytGi-gY,24919
|
|
169
169
|
unique_toolkit/content/smart_rules.py,sha256=z2gHToPrdyj3HqO8Uu-JE5G2ClvJPuhR2XERmmkgoug,9668
|
|
170
|
-
unique_toolkit/content/utils.py,sha256=
|
|
170
|
+
unique_toolkit/content/utils.py,sha256=YACNDupAb0SjqYyM5Uxxflr0SjSgIS1lt67JAlBGWpE,8233
|
|
171
171
|
unique_toolkit/data_extraction/README.md,sha256=5KxzqPHC29wxBiWJ-87wBQisSgRBkuSnPTb38pGH1wA,3138
|
|
172
172
|
unique_toolkit/data_extraction/__init__.py,sha256=y6uSp8PAqgPZMoBgXWp1Ep0gsk9MD-NV8qn2QpOY-xY,330
|
|
173
173
|
unique_toolkit/data_extraction/augmented/__init__.py,sha256=_8G35ZgOPvcOR3a_2xvJDowoQ3ivQ9ehhJvbk1xzFs0,131
|
|
@@ -215,7 +215,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
|
|
|
215
215
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
216
216
|
unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
|
|
217
217
|
unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
|
|
218
|
-
unique_toolkit-1.42.
|
|
219
|
-
unique_toolkit-1.42.
|
|
220
|
-
unique_toolkit-1.42.
|
|
221
|
-
unique_toolkit-1.42.
|
|
218
|
+
unique_toolkit-1.42.7.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
|
219
|
+
unique_toolkit-1.42.7.dist-info/METADATA,sha256=ilOReqP-yar6KvSI-Ew6vNWPv1QO2MdCFXxC62O2CMk,47179
|
|
220
|
+
unique_toolkit-1.42.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
221
|
+
unique_toolkit-1.42.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|