unique_toolkit 1.14.2__py3-none-any.whl → 1.14.4__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/__init__.py +19 -1
- unique_toolkit/chat/__init__.py +8 -1
- unique_toolkit/chat/service.py +86 -1430
- unique_toolkit/content/schemas.py +2 -1
- unique_toolkit/framework_utilities/langchain/client.py +18 -1
- unique_toolkit/services/chat_service.py +1498 -0
- unique_toolkit/{knowledge_base.py → services/knowledge_base.py} +0 -11
- {unique_toolkit-1.14.2.dist-info → unique_toolkit-1.14.4.dist-info}/METADATA +11 -1
- {unique_toolkit-1.14.2.dist-info → unique_toolkit-1.14.4.dist-info}/RECORD +11 -10
- {unique_toolkit-1.14.2.dist-info → unique_toolkit-1.14.4.dist-info}/LICENSE +0 -0
- {unique_toolkit-1.14.2.dist-info → unique_toolkit-1.14.4.dist-info}/WHEEL +0 -0
@@ -745,19 +745,8 @@ class KnowledgeBaseService:
|
|
745
745
|
*,
|
746
746
|
content_id: str | None = None,
|
747
747
|
file_path: str | None = None,
|
748
|
-
metadata_filter: dict[str, Any] | None = None,
|
749
748
|
) -> DeleteContentResponse:
|
750
749
|
"""Delete content by id, file path or metadata filter"""
|
751
|
-
if metadata_filter:
|
752
|
-
infos = self.get_paginated_content_infos(
|
753
|
-
metadata_filter=metadata_filter,
|
754
|
-
)
|
755
|
-
for info in infos.content_infos:
|
756
|
-
delete_content(
|
757
|
-
user_id=self._user_id,
|
758
|
-
company_id=self._company_id,
|
759
|
-
content_id=info.id,
|
760
|
-
)
|
761
750
|
|
762
751
|
return delete_content(
|
763
752
|
user_id=self._user_id,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 1.14.
|
3
|
+
Version: 1.14.4
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Cedric Klinkert
|
@@ -118,6 +118,16 @@ All notable changes to this project will be documented in this file.
|
|
118
118
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
119
119
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
120
120
|
|
121
|
+
|
122
|
+
## [1.14.4] - 2025-10-09
|
123
|
+
- Small fixes when deleting content
|
124
|
+
- Fixes in documentation
|
125
|
+
|
126
|
+
## [1.14.3] - 2025-10-08
|
127
|
+
- Reorganizes documentation
|
128
|
+
- All service interface towards a single folder
|
129
|
+
- Add main imports to __init__
|
130
|
+
|
121
131
|
## [1.14.2] - 2025-10-08
|
122
132
|
- Add utilities for testing and fix external import issue
|
123
133
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
unique_toolkit/__init__.py,sha256=
|
1
|
+
unique_toolkit/__init__.py,sha256=qrQ0kgAZnmGR6-UpWOpAL4yd-2ic5Jjwh6s8et-7ZTc,1372
|
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/api_calling/human_verification_manager.py,sha256=wgK0hefTh3pdrs8kH26Pba46ROQoFihEhT4r6h189wo,7819
|
@@ -102,18 +102,18 @@ unique_toolkit/app/performance/async_wrapper.py,sha256=yVVcRDkcdyfjsxro-N29SBvi-
|
|
102
102
|
unique_toolkit/app/schemas.py,sha256=wbfYGl5PjMBG25IEPzeygObBJIxP5CfXpBWS-4NWZJs,9830
|
103
103
|
unique_toolkit/app/unique_settings.py,sha256=849pbASOu8QbHu9QfCJhYTisjKRet34J-fRs0gNKZ0Q,12369
|
104
104
|
unique_toolkit/app/verification.py,sha256=GxFFwcJMy25fCA_Xe89wKW7bgqOu8PAs5y8QpHF0GSc,3861
|
105
|
-
unique_toolkit/chat/__init__.py,sha256=
|
105
|
+
unique_toolkit/chat/__init__.py,sha256=uP7P6YPeOjEOvpX3bhcU6ND_m0QLr4wMklcrnAKK0q4,804
|
106
106
|
unique_toolkit/chat/constants.py,sha256=05kq6zjqUVB2d6_P7s-90nbljpB3ryxwCI-CAz0r2O4,83
|
107
107
|
unique_toolkit/chat/deprecated/service.py,sha256=CYwzXi7OB0RjHd73CO2jq8SlpdBmDYLatzPFkb5sA0k,6529
|
108
108
|
unique_toolkit/chat/functions.py,sha256=qxBjxIFoko5vyQNJDYpIkMtBhEGGcSlWn6fkAY-dFVE,45213
|
109
109
|
unique_toolkit/chat/schemas.py,sha256=u3WPdMkOlmwPGHUueQC-nk8k-QkM7ZSUcU0f-32g6Uc,6718
|
110
|
-
unique_toolkit/chat/service.py,sha256=
|
110
|
+
unique_toolkit/chat/service.py,sha256=6D00OL4QrGafbOhTaC5zNXaNgg7gS5W_2ePVa4LhqpE,4439
|
111
111
|
unique_toolkit/chat/state.py,sha256=Cjgwv_2vhDFbV69xxsn7SefhaoIAEqLx3ferdVFCnOg,1445
|
112
112
|
unique_toolkit/chat/utils.py,sha256=ihm-wQykBWhB4liR3LnwPVPt_qGW6ETq21Mw4HY0THE,854
|
113
113
|
unique_toolkit/content/__init__.py,sha256=EdJg_A_7loEtCQf4cah3QARQreJx6pdz89Rm96YbMVg,940
|
114
114
|
unique_toolkit/content/constants.py,sha256=1iy4Y67xobl5VTnJB6SxSyuoBWbdLl9244xfVMUZi5o,60
|
115
115
|
unique_toolkit/content/functions.py,sha256=TWwXGHZ8AeBC7UbRVjKXjHC7PmlghPtPNQvw7fOj1tY,22403
|
116
|
-
unique_toolkit/content/schemas.py,sha256=
|
116
|
+
unique_toolkit/content/schemas.py,sha256=s2DOidIntzzqLSJGGOzqKC26dPEl-zFQZxnqLaPQ88I,5689
|
117
117
|
unique_toolkit/content/service.py,sha256=i7wN_wYjF8NBZHBcpcA5XRlMRGntuw3mlVoudAoGQRk,23293
|
118
118
|
unique_toolkit/content/smart_rules.py,sha256=z2gHToPrdyj3HqO8Uu-JE5G2ClvJPuhR2XERmmkgoug,9668
|
119
119
|
unique_toolkit/content/utils.py,sha256=qNVmHTuETaPNGqheg7TbgPr1_1jbNHDc09N5RrmUIyo,7901
|
@@ -124,13 +124,12 @@ unique_toolkit/embedding/schemas.py,sha256=1GvKCaSk4jixzVQ2PKq8yDqwGEVY_hWclYtoA
|
|
124
124
|
unique_toolkit/embedding/service.py,sha256=XViQCbjG9yznIFhWjgBkla_4s7zM2lO12Cqob1FU63k,5283
|
125
125
|
unique_toolkit/embedding/utils.py,sha256=v86lo__bCJbxZBQ3OcLu5SuwT6NbFfWlcq8iyk6BuzQ,279
|
126
126
|
unique_toolkit/framework_utilities/__init__.py,sha256=fvAn9y4MRL1JgoO14ufQtLVRPRHn4jP07XRqt-TItCA,68
|
127
|
-
unique_toolkit/framework_utilities/langchain/client.py,sha256=
|
127
|
+
unique_toolkit/framework_utilities/langchain/client.py,sha256=RwVZTH5SZzwwLjP5bZJv419EQyQyVUFJNZifERcBCxs,1870
|
128
128
|
unique_toolkit/framework_utilities/langchain/history.py,sha256=R9RuCeSFNaUO3OZ0G_LmIC4gmOCIANcl91MfyWLnZ1c,650
|
129
129
|
unique_toolkit/framework_utilities/openai/__init__.py,sha256=CrHYoC7lv2pBscitLerAFweqy5jh1R671LA_jZQ4lWo,232
|
130
130
|
unique_toolkit/framework_utilities/openai/client.py,sha256=ct1cqPcIK1wPl11G9sJV39ZnLJwKr2kDUDSra0FjvtM,2007
|
131
131
|
unique_toolkit/framework_utilities/openai/message_builder.py,sha256=RT1pZjxH42TFZlAxQ5zlqdKPvHKVTjc5t3JDUy58I7Q,6887
|
132
132
|
unique_toolkit/framework_utilities/utils.py,sha256=JK7g2yMfEx3eMprug26769xqNpS5WJcizf8n2zWMBng,789
|
133
|
-
unique_toolkit/knowledge_base.py,sha256=UU8S858sjrAJhOKtDb0b0RvjwzjZOvErNk4ShyLrTZY,27610
|
134
133
|
unique_toolkit/language_model/__init__.py,sha256=lRQyLlbwHbNFf4-0foBU13UGb09lwEeodbVsfsSgaCk,1971
|
135
134
|
unique_toolkit/language_model/builder.py,sha256=4OKfwJfj3TrgO1ezc_ewIue6W7BCQ2ZYQXUckWVPPTA,3369
|
136
135
|
unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
|
@@ -142,6 +141,8 @@ unique_toolkit/language_model/schemas.py,sha256=w23zH2OAYkTsS-wAqelUdhO9TCgis0Tb
|
|
142
141
|
unique_toolkit/language_model/service.py,sha256=JkYGtCug8POQskTv_aoYkzTMOaPCWRM94y73o3bUttQ,12019
|
143
142
|
unique_toolkit/language_model/utils.py,sha256=bPQ4l6_YO71w-zaIPanUUmtbXC1_hCvLK0tAFc3VCRc,1902
|
144
143
|
unique_toolkit/protocols/support.py,sha256=V15WEIFKVMyF1QCnR8vIi4GrJy4dfTCB6d6JlqPZ58o,2341
|
144
|
+
unique_toolkit/services/chat_service.py,sha256=bSrsN_7jsBW_BiuIWvtwkJ57AmlKLKz_cWlc0t0Q0P8,54621
|
145
|
+
unique_toolkit/services/knowledge_base.py,sha256=WFeLnFf23AWHsAweDGrKIMI93HPE720fC_SaNh7mLNU,27183
|
145
146
|
unique_toolkit/short_term_memory/__init__.py,sha256=2mI3AUrffgH7Yt-xS57EGqnHf7jnn6xquoKEhJqk3Wg,185
|
146
147
|
unique_toolkit/short_term_memory/constants.py,sha256=698CL6-wjup2MvU19RxSmQk3gX7aqW_OOpZB7sbz_Xg,34
|
147
148
|
unique_toolkit/short_term_memory/functions.py,sha256=3WiK-xatY5nh4Dr5zlDUye1k3E6kr41RiscwtTplw5k,4484
|
@@ -150,7 +151,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
|
|
150
151
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
151
152
|
unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
|
152
153
|
unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
|
153
|
-
unique_toolkit-1.14.
|
154
|
-
unique_toolkit-1.14.
|
155
|
-
unique_toolkit-1.14.
|
156
|
-
unique_toolkit-1.14.
|
154
|
+
unique_toolkit-1.14.4.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
155
|
+
unique_toolkit-1.14.4.dist-info/METADATA,sha256=7Xe-7zOS2zpLK8LWTO9geNB1fMOUh-BBDOaUaerolc0,36600
|
156
|
+
unique_toolkit-1.14.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
157
|
+
unique_toolkit-1.14.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|