unique_toolkit 1.14.3__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.
@@ -189,4 +189,5 @@ class FolderInfo(BaseModel):
189
189
 
190
190
  class DeleteContentResponse(BaseModel):
191
191
  model_config = model_config
192
- id: str
192
+ content_id: str
193
+ object: str
@@ -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
3
+ Version: 1.14.4
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -118,6 +118,11 @@ 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
+
121
126
  ## [1.14.3] - 2025-10-08
122
127
  - Reorganizes documentation
123
128
  - All service interface towards a single folder
@@ -113,7 +113,7 @@ unique_toolkit/chat/utils.py,sha256=ihm-wQykBWhB4liR3LnwPVPt_qGW6ETq21Mw4HY0THE,
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=pBm1XHSgATdVe9PWUcEetRux9W6oRQ91oFl-kHofDh0,5665
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
@@ -142,7 +142,7 @@ unique_toolkit/language_model/service.py,sha256=JkYGtCug8POQskTv_aoYkzTMOaPCWRM9
142
142
  unique_toolkit/language_model/utils.py,sha256=bPQ4l6_YO71w-zaIPanUUmtbXC1_hCvLK0tAFc3VCRc,1902
143
143
  unique_toolkit/protocols/support.py,sha256=V15WEIFKVMyF1QCnR8vIi4GrJy4dfTCB6d6JlqPZ58o,2341
144
144
  unique_toolkit/services/chat_service.py,sha256=bSrsN_7jsBW_BiuIWvtwkJ57AmlKLKz_cWlc0t0Q0P8,54621
145
- unique_toolkit/services/knowledge_base.py,sha256=UU8S858sjrAJhOKtDb0b0RvjwzjZOvErNk4ShyLrTZY,27610
145
+ unique_toolkit/services/knowledge_base.py,sha256=WFeLnFf23AWHsAweDGrKIMI93HPE720fC_SaNh7mLNU,27183
146
146
  unique_toolkit/short_term_memory/__init__.py,sha256=2mI3AUrffgH7Yt-xS57EGqnHf7jnn6xquoKEhJqk3Wg,185
147
147
  unique_toolkit/short_term_memory/constants.py,sha256=698CL6-wjup2MvU19RxSmQk3gX7aqW_OOpZB7sbz_Xg,34
148
148
  unique_toolkit/short_term_memory/functions.py,sha256=3WiK-xatY5nh4Dr5zlDUye1k3E6kr41RiscwtTplw5k,4484
@@ -151,7 +151,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
151
151
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
152
152
  unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
153
153
  unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
154
- unique_toolkit-1.14.3.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
155
- unique_toolkit-1.14.3.dist-info/METADATA,sha256=a20ctjbmG5B_awkA-XLgmEcA0aCTYDv9W-njpI8u8S0,36512
156
- unique_toolkit-1.14.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
157
- unique_toolkit-1.14.3.dist-info/RECORD,,
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,,