unique_sdk 0.10.56__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.

Potentially problematic release.


This version of unique_sdk might be problematic. Click here for more details.

Files changed (46) hide show
  1. unique_sdk-0.10.56/CHANGELOG.md +314 -0
  2. unique_sdk-0.10.56/LICENSE +21 -0
  3. unique_sdk-0.10.56/PKG-INFO +338 -0
  4. unique_sdk-0.10.56/README.md +4 -0
  5. unique_sdk-0.10.56/pyproject.toml +81 -0
  6. unique_sdk-0.10.56/unique_sdk/__init__.py +116 -0
  7. unique_sdk-0.10.56/unique_sdk/_api_requestor.py +425 -0
  8. unique_sdk-0.10.56/unique_sdk/_api_resource.py +214 -0
  9. unique_sdk-0.10.56/unique_sdk/_api_version.py +2 -0
  10. unique_sdk-0.10.56/unique_sdk/_error.py +117 -0
  11. unique_sdk-0.10.56/unique_sdk/_http_client.py +351 -0
  12. unique_sdk-0.10.56/unique_sdk/_list_object.py +120 -0
  13. unique_sdk-0.10.56/unique_sdk/_object_classes.py +9 -0
  14. unique_sdk-0.10.56/unique_sdk/_request_options.py +9 -0
  15. unique_sdk-0.10.56/unique_sdk/_unique_object.py +341 -0
  16. unique_sdk-0.10.56/unique_sdk/_unique_ql.py +62 -0
  17. unique_sdk-0.10.56/unique_sdk/_unique_response.py +22 -0
  18. unique_sdk-0.10.56/unique_sdk/_util.py +276 -0
  19. unique_sdk-0.10.56/unique_sdk/_version.py +1 -0
  20. unique_sdk-0.10.56/unique_sdk/_webhook.py +101 -0
  21. unique_sdk-0.10.56/unique_sdk/api_resources/__init__.py +0 -0
  22. unique_sdk-0.10.56/unique_sdk/api_resources/_acronyms.py +33 -0
  23. unique_sdk-0.10.56/unique_sdk/api_resources/_agentic_table.py +376 -0
  24. unique_sdk-0.10.56/unique_sdk/api_resources/_chat_completion.py +87 -0
  25. unique_sdk-0.10.56/unique_sdk/api_resources/_content.py +598 -0
  26. unique_sdk-0.10.56/unique_sdk/api_resources/_embedding.py +48 -0
  27. unique_sdk-0.10.56/unique_sdk/api_resources/_event.py +14 -0
  28. unique_sdk-0.10.56/unique_sdk/api_resources/_folder.py +619 -0
  29. unique_sdk-0.10.56/unique_sdk/api_resources/_group.py +429 -0
  30. unique_sdk-0.10.56/unique_sdk/api_resources/_integrated.py +189 -0
  31. unique_sdk-0.10.56/unique_sdk/api_resources/_llm_models.py +64 -0
  32. unique_sdk-0.10.56/unique_sdk/api_resources/_mcp.py +126 -0
  33. unique_sdk-0.10.56/unique_sdk/api_resources/_message.py +399 -0
  34. unique_sdk-0.10.56/unique_sdk/api_resources/_message_assessment.py +74 -0
  35. unique_sdk-0.10.56/unique_sdk/api_resources/_message_execution.py +167 -0
  36. unique_sdk-0.10.56/unique_sdk/api_resources/_message_log.py +165 -0
  37. unique_sdk-0.10.56/unique_sdk/api_resources/_search.py +65 -0
  38. unique_sdk-0.10.56/unique_sdk/api_resources/_search_string.py +57 -0
  39. unique_sdk-0.10.56/unique_sdk/api_resources/_short_term_memory.py +111 -0
  40. unique_sdk-0.10.56/unique_sdk/api_resources/_space.py +385 -0
  41. unique_sdk-0.10.56/unique_sdk/api_resources/_user.py +149 -0
  42. unique_sdk-0.10.56/unique_sdk/utils/chat_history.py +83 -0
  43. unique_sdk-0.10.56/unique_sdk/utils/chat_in_space.py +181 -0
  44. unique_sdk-0.10.56/unique_sdk/utils/file_io.py +153 -0
  45. unique_sdk-0.10.56/unique_sdk/utils/sources.py +129 -0
  46. unique_sdk-0.10.56/unique_sdk/utils/token.py +54 -0
@@ -0,0 +1,314 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.10.56] - 2025-12-05
9
+ - Add description field on create chat completions params.
10
+
11
+ ## [0.10.55] - 2025-12-04
12
+ - Allow configuring inherit access on folder creation.
13
+
14
+ ## [0.10.54] - 2025-12-02
15
+ - Add types for Agentic Table api methods.
16
+
17
+ ## [0.10.53] - 2025-12-01
18
+ - Improve OpenAI Proxy docs https://unique-ag.github.io/ai/unique-sdk/
19
+
20
+ ## [0.10.52] - 2025-11-21
21
+ - Centralized docs to https://unique-ag.github.io/ai/unique-sdk/
22
+
23
+ ## [0.10.51] - 2025-11-21
24
+ - Add function to get a space.
25
+
26
+ ## [0.10.50] - 2025-11-21
27
+ - Allow updating the configuration of a user and group.
28
+
29
+ ## [0.10.49] - 2025-11-21
30
+ - Add get folder by scope id function
31
+
32
+ ## [0.10.48] - 2025-11-20
33
+ - Update Agentic Table LogDetail and LogEntry types.
34
+
35
+ ## [0.10.47] - 2025-11-19
36
+ - Add expired/s at fields on content search result.
37
+
38
+ ## [0.10.46] - 2025-11-18
39
+ - chat_against_file function allows now a should_delete_chat flag.
40
+
41
+ ## [0.10.45] - 2025-11-18
42
+ - Create group and manage users functions.
43
+
44
+ ## [0.10.44] - 2025-11-18
45
+ - add function to get all messages in a chat.
46
+
47
+ ## [0.10.43] - 2025-11-14
48
+ - Add get, delete and update groups functions.
49
+
50
+ ## [0.10.42] - 2025-11-14
51
+ - Add get_users function.
52
+
53
+ ## [0.10.41] - 2025-11-13
54
+ - Add create_message and get_latest_message.
55
+
56
+ ## [0.10.40] - 2025-11-10
57
+ - Don't send description if not defined.
58
+
59
+ ## [0.10.39] - 2025-11-07
60
+ - Add function to get llm models
61
+
62
+ ## [0.10.38] - 2025-11-06
63
+ - Add description property to Reference and Content.
64
+
65
+ ## [0.10.37] - 2025-11-04
66
+ - Introduce local integration tests for Content API Resource
67
+
68
+ ## [0.10.36] - 2025-11-04
69
+ - Introduce local integration tests for Folder API Resource
70
+
71
+ ## [0.10.35] - 2025-11-04
72
+ - Inmprove folder get infos types.
73
+
74
+ ## [0.10.34] - 2025-10-29
75
+ - Add documentation for agentic table.
76
+
77
+ ## [0.10.33] - 2025-10-27
78
+ - Improve messagelog and message execution types.
79
+
80
+ ## [0.10.32] - 2025-10-14
81
+ - Add function to stream to chat frontend.
82
+
83
+ ## [0.10.31] - 2025-10-13
84
+ - Add readme for message log and execution.
85
+
86
+ ## [0.10.30] - 2025-10-07
87
+ - Improve types for content get infos.
88
+
89
+ ## [0.10.29] - 2025-10-06
90
+ - Switch default model used from `GPT-3.5-turbo (0125)` to `GPT-4o (1120)`
91
+
92
+ ## [0.10.28] - 2025-10-03
93
+ - Use non blocking versions of `Space.get_latest_message` and `Message.retrieve` in `send_message_and_wait_for_completion`.
94
+
95
+ ## [0.10.27] - 2025-09-24
96
+ - Improve readme to use Unique AI.
97
+
98
+ ## [0.10.26] - 2025-09-22
99
+ - Improve typing.
100
+
101
+ ## [0.10.25] - 2025-09-18
102
+ - Add support for udpate and delete files by file or folder path.
103
+
104
+ ## [0.10.24] - 2025-09-17
105
+ - Add function to update a folder.
106
+
107
+ ## [0.10.23] - 2025-09-12
108
+ - Revert to using default reasoning effort.
109
+
110
+ ## [0.10.22] - 2025-09-12
111
+ - Add support for metadata update of a file.
112
+
113
+ ## [0.10.21] - 2025-09-04
114
+ - Update Chat Completions API types and add support for reasoning effort.
115
+
116
+ ## [0.10.20] - 2025-09-04
117
+ - Update Responses API types
118
+
119
+ ## [0.10.19] - 2025-09-02
120
+ - Improve `send_message_and_wait_for_completion`:
121
+ - Add option to select stop_condition `["stoppedStreamingAt", "completedAt"]`.
122
+ - Load `debugInfo` from `last_user_message` for better developer experience.
123
+
124
+ ## [0.10.18] - 2025-09-02
125
+ - Temporarily remove support for update and delete files by filePath.
126
+
127
+ ## [0.10.17] - 2025-09-01
128
+ - Add function to update a file
129
+
130
+ ## [0.10.16] - 2025-08-31
131
+ - Add function to delete a content.
132
+
133
+ ## [0.10.15] - 2025-08-28
134
+ - Add default values for message log types
135
+
136
+ ## [0.10.14] - 2025-08-28
137
+ - Add function to delete folders and files recursively
138
+
139
+ ## [0.10.13] - 2025-08-24
140
+ - Add functions to create, get and update a message eecution and create and update a message log.
141
+
142
+ ## [0.10.12] - 2025-08-24
143
+ - Switch to using Content get info deprecated endpoint to make sure we support older release versions.
144
+
145
+ ## [0.10.11] - 2025-08-24
146
+ - Enforce usage of ruff using pipeline
147
+
148
+ ## [0.10.10] - 2025-08-18
149
+ - Fix wrong name of references in `Space.Message`.
150
+ - Fix wrong name of assessment in `Space.Message`.
151
+ - Remove default values for `text`, `originalText` and `debugInfo` in `Space.Message` as these don't have an effect.
152
+
153
+ ## [0.10.9] - 2025-08-15
154
+ - Add script to wait for content ingestion finished.
155
+
156
+ ## [0.10.8] - 2025-08-13
157
+ - Add support for Agentic Table.
158
+
159
+ ## [0.10.7] - 2025-08-13
160
+ - Make metadata optional when uploading a file.
161
+
162
+ ## [0.10.6] - 2025-08-06
163
+ - Make tools optional for running an agent.
164
+
165
+ ## [0.10.5] - 2025-08-06
166
+ - Get paginated files and folders info.
167
+
168
+ ## [0.10.4] - 2025-08-05
169
+ - Add support for reasoning API with streaming within a chat.
170
+
171
+ ## [0.10.3] - 2025-08-05
172
+ - Expose scoreThreshold param for search.
173
+
174
+ ## [0.10.2] - 2025-08-05
175
+ - Add script to chat against file.
176
+
177
+ ## [0.10.1] - 2025-08-05
178
+ - Allow deletion of a space chat.
179
+
180
+ ## [0.10.0] - 2025-08-04
181
+ - Add MCP support
182
+
183
+ ## [0.9.42] - 2025-07-31
184
+ - Fix wrong chat in space example.
185
+
186
+ ## [0.9.41] - 2025-07-31
187
+ - Fix double-slash error in open ai proxy script.
188
+
189
+ ## [0.9.40] - 2025-07-22
190
+ - Fixed bug where get requests send body with the request. This is not allowed by WAF policies.
191
+
192
+ ## [0.9.39] - 2025-07-18
193
+ - Add script to chat in a space.
194
+
195
+ ## [0.9.38] - 2025-07-18
196
+ - [Experimental] Add support for Unique OpenAI proxy. You can now use the OpenAI SDK directly through Unique. Checkout how to do this and a few examples here: `tutorials/unique_basics/sdk_examples/openai_scripts.py`.
197
+
198
+ ## [0.9.37] - 2025-07-10
199
+ - Add `sheetName` property to the `MagicTableSheetIngestParams` object used by function that ingests magic table sheets.
200
+
201
+ ## [0.9.36] - 2025-06-23
202
+ - Allow passing a user id when creating chat completions. This is optional and it does not impact the current behaviour.
203
+
204
+ ## [0.9.35] - 2025-06-18
205
+ - Allow scope access updates (add/remove) on folder based on scope id or path.
206
+
207
+ ## [0.9.34] - 2025-06-17
208
+ - Allow ingestion config updates on folder based on scope id or path.
209
+
210
+ ## [0.9.33] - 2025-06-11
211
+ - Add function to get a folder by id or by path.
212
+
213
+ ## [0.9.32] - 2025-06-11
214
+ - Add function to ingest magic table sheets.
215
+
216
+ ## [0.9.31] - 2025-05-21
217
+ - Add function to update folder access (add or remove).
218
+
219
+ ## [0.9.30] - 2025-05-21
220
+ - Add function to update folder ingestion config.
221
+
222
+ ## [0.9.29] - 2025-05-20
223
+ - Add function to create folder paths if they do not exist.
224
+
225
+ ## [0.9.28] - 2025-05-20
226
+ - Add function to search content info. This also allows filtering content info by metadata info.
227
+
228
+ ## [0.9.27] - 2025-05-14
229
+ - Add the possibility to specify metadata when creating or updating a Content.
230
+
231
+ ## [0.9.26] - 2025-05-13
232
+ - Add the possibility to specify ingestionConfig when creating or updating a Content.
233
+
234
+ ## [0.9.25] - 2025-05-02
235
+ - Fixed typos in `README.md`, including incorrect `sdk.utils` imports and code example errors.
236
+
237
+ ## [0.9.24] - 2025-04-23
238
+ - Make `chatId` property in `Search.CreateParams` optional
239
+
240
+ ## [0.9.23] - 2025-03-25
241
+ - Define programming language classifier explicitly for python 3.11
242
+
243
+ ## [0.9.22] - 2025-02-25
244
+ - update the retry_on_error to only `APIError` and `APIConnectionError` update the `resp["error"]` to be `resp.get("error")` to avoid key error
245
+
246
+ ## [0.9.21] - 2025-02-21
247
+ - Add title parameter and change labels in `MessageAssessment`
248
+
249
+ ## [0.9.20] - 2025-02-01
250
+ - Add url parameter to `MessageAssessment.create_async` and `MessageAssessment.modify_async`
251
+
252
+ ## [0.9.19] - 2025-01-31
253
+ - Add `MessageAssessment` resource
254
+
255
+ ## [0.9.18] - 2025-01-22
256
+ - Removed `Invalid response body from API` from `retry_dict` as it's our own artificail error.
257
+
258
+ ## [0.9.17] - 2025-01-03
259
+ - BREAKING CHANGE!! Removed unused `id` from `ShortTermMemory` create and find methods.
260
+
261
+ ## [0.9.16] - 2024-12-19
262
+ - Corrected return type of `Search.create` and `Search.create_async` to `List[Search]`
263
+ - Retry on `Connection aborted` error
264
+
265
+ ## [0.9.15] - 2024-12-06
266
+ - Add `Internal server error` and `You can retry your request` to the retry logic
267
+
268
+ ## [0.9.14] - 2024-12-06
269
+ - Add `contentIds` to `Search.create` and `Search.create_async`
270
+
271
+ ## [0.9.13] - 2024-10-23
272
+ - Add retry for `5xx` errors, add additional error message.
273
+
274
+ ## [0.9.12] - 2024-11-21
275
+ - Include original error message in returned exceptions
276
+
277
+ ## [0.9.11] - 2024-11-18
278
+ - Add `ingestionConfig` to `UpsertParams.Input` parameters
279
+
280
+ ## [0.9.10] - 2024-10-23
281
+ - Remove `temperature` parameter from `Integrated.chat_stream_completion`, `Integrated.chat_stream_completion_async`, `ChatCompletion.create` and `ChatCompletion.create_async` methods. To use `temperature` parameter, set the attribute in `options` parameter instead.
282
+
283
+ ## [0.9.9] - 2024-10-23
284
+ - Revert deletion of `Message.retrieve` method
285
+
286
+ ## [0.9.8] - 2024-10-16
287
+ - Add `retries` for `_static_request` and `_static_request_async` in `APIResource` - When the error messages contains either `"problem proxying the request"`,
288
+ or `"Upstream service reached a hard timeout"`,
289
+ ## [0.9.7] - 2024-09-23
290
+ - Add `completedAt` to `CreateParams` of `Message`
291
+
292
+ ## [0.9.6] - 2024-09-03
293
+ - Added `metaDataFilter` to `Search` parameters.
294
+
295
+ ## [0.9.5] - 2024-08-07
296
+ - Add `completedAt` to `ModifyParams`
297
+
298
+ ## [0.9.4] - 2024-07-31
299
+ - Add `close` and `close_async` to `http_client`
300
+ - Make `httpx` the default client for async requests
301
+
302
+ ## [0.9.3] - 2024-07-31
303
+ - `Search.create`, `Message`, `ChatCompletion` parameters that were marked `NotRequired` are now also `Optional`
304
+
305
+ ## [0.9.2] - 2024-07-30
306
+ - Bug fix in `Search.create`: langugage -> language
307
+
308
+ ## [0.9.1] - 2024-07-30
309
+ - Added parameters to `Search.create` and `Search.create_async`
310
+ - `language` for full text search
311
+ - `reranker` to reranker search results
312
+
313
+ ## [0.9.0] - 2024-07-29
314
+ - Added the possibility to make async requests to the unique APIs using either aiohttp or httpx as client
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Unique-AG
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,338 @@
1
+ Metadata-Version: 2.1
2
+ Name: unique_sdk
3
+ Version: 0.10.56
4
+ Summary:
5
+ License: MIT
6
+ Author: Martin Fadler
7
+ Author-email: martin.fadler@unique.ch
8
+ Requires-Python: >=3.11,<4.0
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Provides-Extra: openai
14
+ Requires-Dist: openai (>=1.105.0,<2.0.0) ; extra == "openai"
15
+ Requires-Dist: requests (>=2.32.3,<3.0.0)
16
+ Requires-Dist: typing-extensions (>=4.9.0,<5.0.0)
17
+ Description-Content-Type: text/markdown
18
+
19
+ # Unique Python SDK
20
+
21
+
22
+ Visit: [https://unique-ag.github.io/](https://unique-ag.github.io/ai/unique-sdk/) for the documentation.
23
+
24
+ # Changelog
25
+
26
+ All notable changes to this project will be documented in this file.
27
+
28
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
29
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
30
+
31
+ ## [0.10.56] - 2025-12-05
32
+ - Add description field on create chat completions params.
33
+
34
+ ## [0.10.55] - 2025-12-04
35
+ - Allow configuring inherit access on folder creation.
36
+
37
+ ## [0.10.54] - 2025-12-02
38
+ - Add types for Agentic Table api methods.
39
+
40
+ ## [0.10.53] - 2025-12-01
41
+ - Improve OpenAI Proxy docs https://unique-ag.github.io/ai/unique-sdk/
42
+
43
+ ## [0.10.52] - 2025-11-21
44
+ - Centralized docs to https://unique-ag.github.io/ai/unique-sdk/
45
+
46
+ ## [0.10.51] - 2025-11-21
47
+ - Add function to get a space.
48
+
49
+ ## [0.10.50] - 2025-11-21
50
+ - Allow updating the configuration of a user and group.
51
+
52
+ ## [0.10.49] - 2025-11-21
53
+ - Add get folder by scope id function
54
+
55
+ ## [0.10.48] - 2025-11-20
56
+ - Update Agentic Table LogDetail and LogEntry types.
57
+
58
+ ## [0.10.47] - 2025-11-19
59
+ - Add expired/s at fields on content search result.
60
+
61
+ ## [0.10.46] - 2025-11-18
62
+ - chat_against_file function allows now a should_delete_chat flag.
63
+
64
+ ## [0.10.45] - 2025-11-18
65
+ - Create group and manage users functions.
66
+
67
+ ## [0.10.44] - 2025-11-18
68
+ - add function to get all messages in a chat.
69
+
70
+ ## [0.10.43] - 2025-11-14
71
+ - Add get, delete and update groups functions.
72
+
73
+ ## [0.10.42] - 2025-11-14
74
+ - Add get_users function.
75
+
76
+ ## [0.10.41] - 2025-11-13
77
+ - Add create_message and get_latest_message.
78
+
79
+ ## [0.10.40] - 2025-11-10
80
+ - Don't send description if not defined.
81
+
82
+ ## [0.10.39] - 2025-11-07
83
+ - Add function to get llm models
84
+
85
+ ## [0.10.38] - 2025-11-06
86
+ - Add description property to Reference and Content.
87
+
88
+ ## [0.10.37] - 2025-11-04
89
+ - Introduce local integration tests for Content API Resource
90
+
91
+ ## [0.10.36] - 2025-11-04
92
+ - Introduce local integration tests for Folder API Resource
93
+
94
+ ## [0.10.35] - 2025-11-04
95
+ - Inmprove folder get infos types.
96
+
97
+ ## [0.10.34] - 2025-10-29
98
+ - Add documentation for agentic table.
99
+
100
+ ## [0.10.33] - 2025-10-27
101
+ - Improve messagelog and message execution types.
102
+
103
+ ## [0.10.32] - 2025-10-14
104
+ - Add function to stream to chat frontend.
105
+
106
+ ## [0.10.31] - 2025-10-13
107
+ - Add readme for message log and execution.
108
+
109
+ ## [0.10.30] - 2025-10-07
110
+ - Improve types for content get infos.
111
+
112
+ ## [0.10.29] - 2025-10-06
113
+ - Switch default model used from `GPT-3.5-turbo (0125)` to `GPT-4o (1120)`
114
+
115
+ ## [0.10.28] - 2025-10-03
116
+ - Use non blocking versions of `Space.get_latest_message` and `Message.retrieve` in `send_message_and_wait_for_completion`.
117
+
118
+ ## [0.10.27] - 2025-09-24
119
+ - Improve readme to use Unique AI.
120
+
121
+ ## [0.10.26] - 2025-09-22
122
+ - Improve typing.
123
+
124
+ ## [0.10.25] - 2025-09-18
125
+ - Add support for udpate and delete files by file or folder path.
126
+
127
+ ## [0.10.24] - 2025-09-17
128
+ - Add function to update a folder.
129
+
130
+ ## [0.10.23] - 2025-09-12
131
+ - Revert to using default reasoning effort.
132
+
133
+ ## [0.10.22] - 2025-09-12
134
+ - Add support for metadata update of a file.
135
+
136
+ ## [0.10.21] - 2025-09-04
137
+ - Update Chat Completions API types and add support for reasoning effort.
138
+
139
+ ## [0.10.20] - 2025-09-04
140
+ - Update Responses API types
141
+
142
+ ## [0.10.19] - 2025-09-02
143
+ - Improve `send_message_and_wait_for_completion`:
144
+ - Add option to select stop_condition `["stoppedStreamingAt", "completedAt"]`.
145
+ - Load `debugInfo` from `last_user_message` for better developer experience.
146
+
147
+ ## [0.10.18] - 2025-09-02
148
+ - Temporarily remove support for update and delete files by filePath.
149
+
150
+ ## [0.10.17] - 2025-09-01
151
+ - Add function to update a file
152
+
153
+ ## [0.10.16] - 2025-08-31
154
+ - Add function to delete a content.
155
+
156
+ ## [0.10.15] - 2025-08-28
157
+ - Add default values for message log types
158
+
159
+ ## [0.10.14] - 2025-08-28
160
+ - Add function to delete folders and files recursively
161
+
162
+ ## [0.10.13] - 2025-08-24
163
+ - Add functions to create, get and update a message eecution and create and update a message log.
164
+
165
+ ## [0.10.12] - 2025-08-24
166
+ - Switch to using Content get info deprecated endpoint to make sure we support older release versions.
167
+
168
+ ## [0.10.11] - 2025-08-24
169
+ - Enforce usage of ruff using pipeline
170
+
171
+ ## [0.10.10] - 2025-08-18
172
+ - Fix wrong name of references in `Space.Message`.
173
+ - Fix wrong name of assessment in `Space.Message`.
174
+ - Remove default values for `text`, `originalText` and `debugInfo` in `Space.Message` as these don't have an effect.
175
+
176
+ ## [0.10.9] - 2025-08-15
177
+ - Add script to wait for content ingestion finished.
178
+
179
+ ## [0.10.8] - 2025-08-13
180
+ - Add support for Agentic Table.
181
+
182
+ ## [0.10.7] - 2025-08-13
183
+ - Make metadata optional when uploading a file.
184
+
185
+ ## [0.10.6] - 2025-08-06
186
+ - Make tools optional for running an agent.
187
+
188
+ ## [0.10.5] - 2025-08-06
189
+ - Get paginated files and folders info.
190
+
191
+ ## [0.10.4] - 2025-08-05
192
+ - Add support for reasoning API with streaming within a chat.
193
+
194
+ ## [0.10.3] - 2025-08-05
195
+ - Expose scoreThreshold param for search.
196
+
197
+ ## [0.10.2] - 2025-08-05
198
+ - Add script to chat against file.
199
+
200
+ ## [0.10.1] - 2025-08-05
201
+ - Allow deletion of a space chat.
202
+
203
+ ## [0.10.0] - 2025-08-04
204
+ - Add MCP support
205
+
206
+ ## [0.9.42] - 2025-07-31
207
+ - Fix wrong chat in space example.
208
+
209
+ ## [0.9.41] - 2025-07-31
210
+ - Fix double-slash error in open ai proxy script.
211
+
212
+ ## [0.9.40] - 2025-07-22
213
+ - Fixed bug where get requests send body with the request. This is not allowed by WAF policies.
214
+
215
+ ## [0.9.39] - 2025-07-18
216
+ - Add script to chat in a space.
217
+
218
+ ## [0.9.38] - 2025-07-18
219
+ - [Experimental] Add support for Unique OpenAI proxy. You can now use the OpenAI SDK directly through Unique. Checkout how to do this and a few examples here: `tutorials/unique_basics/sdk_examples/openai_scripts.py`.
220
+
221
+ ## [0.9.37] - 2025-07-10
222
+ - Add `sheetName` property to the `MagicTableSheetIngestParams` object used by function that ingests magic table sheets.
223
+
224
+ ## [0.9.36] - 2025-06-23
225
+ - Allow passing a user id when creating chat completions. This is optional and it does not impact the current behaviour.
226
+
227
+ ## [0.9.35] - 2025-06-18
228
+ - Allow scope access updates (add/remove) on folder based on scope id or path.
229
+
230
+ ## [0.9.34] - 2025-06-17
231
+ - Allow ingestion config updates on folder based on scope id or path.
232
+
233
+ ## [0.9.33] - 2025-06-11
234
+ - Add function to get a folder by id or by path.
235
+
236
+ ## [0.9.32] - 2025-06-11
237
+ - Add function to ingest magic table sheets.
238
+
239
+ ## [0.9.31] - 2025-05-21
240
+ - Add function to update folder access (add or remove).
241
+
242
+ ## [0.9.30] - 2025-05-21
243
+ - Add function to update folder ingestion config.
244
+
245
+ ## [0.9.29] - 2025-05-20
246
+ - Add function to create folder paths if they do not exist.
247
+
248
+ ## [0.9.28] - 2025-05-20
249
+ - Add function to search content info. This also allows filtering content info by metadata info.
250
+
251
+ ## [0.9.27] - 2025-05-14
252
+ - Add the possibility to specify metadata when creating or updating a Content.
253
+
254
+ ## [0.9.26] - 2025-05-13
255
+ - Add the possibility to specify ingestionConfig when creating or updating a Content.
256
+
257
+ ## [0.9.25] - 2025-05-02
258
+ - Fixed typos in `README.md`, including incorrect `sdk.utils` imports and code example errors.
259
+
260
+ ## [0.9.24] - 2025-04-23
261
+ - Make `chatId` property in `Search.CreateParams` optional
262
+
263
+ ## [0.9.23] - 2025-03-25
264
+ - Define programming language classifier explicitly for python 3.11
265
+
266
+ ## [0.9.22] - 2025-02-25
267
+ - update the retry_on_error to only `APIError` and `APIConnectionError` update the `resp["error"]` to be `resp.get("error")` to avoid key error
268
+
269
+ ## [0.9.21] - 2025-02-21
270
+ - Add title parameter and change labels in `MessageAssessment`
271
+
272
+ ## [0.9.20] - 2025-02-01
273
+ - Add url parameter to `MessageAssessment.create_async` and `MessageAssessment.modify_async`
274
+
275
+ ## [0.9.19] - 2025-01-31
276
+ - Add `MessageAssessment` resource
277
+
278
+ ## [0.9.18] - 2025-01-22
279
+ - Removed `Invalid response body from API` from `retry_dict` as it's our own artificail error.
280
+
281
+ ## [0.9.17] - 2025-01-03
282
+ - BREAKING CHANGE!! Removed unused `id` from `ShortTermMemory` create and find methods.
283
+
284
+ ## [0.9.16] - 2024-12-19
285
+ - Corrected return type of `Search.create` and `Search.create_async` to `List[Search]`
286
+ - Retry on `Connection aborted` error
287
+
288
+ ## [0.9.15] - 2024-12-06
289
+ - Add `Internal server error` and `You can retry your request` to the retry logic
290
+
291
+ ## [0.9.14] - 2024-12-06
292
+ - Add `contentIds` to `Search.create` and `Search.create_async`
293
+
294
+ ## [0.9.13] - 2024-10-23
295
+ - Add retry for `5xx` errors, add additional error message.
296
+
297
+ ## [0.9.12] - 2024-11-21
298
+ - Include original error message in returned exceptions
299
+
300
+ ## [0.9.11] - 2024-11-18
301
+ - Add `ingestionConfig` to `UpsertParams.Input` parameters
302
+
303
+ ## [0.9.10] - 2024-10-23
304
+ - Remove `temperature` parameter from `Integrated.chat_stream_completion`, `Integrated.chat_stream_completion_async`, `ChatCompletion.create` and `ChatCompletion.create_async` methods. To use `temperature` parameter, set the attribute in `options` parameter instead.
305
+
306
+ ## [0.9.9] - 2024-10-23
307
+ - Revert deletion of `Message.retrieve` method
308
+
309
+ ## [0.9.8] - 2024-10-16
310
+ - Add `retries` for `_static_request` and `_static_request_async` in `APIResource` - When the error messages contains either `"problem proxying the request"`,
311
+ or `"Upstream service reached a hard timeout"`,
312
+ ## [0.9.7] - 2024-09-23
313
+ - Add `completedAt` to `CreateParams` of `Message`
314
+
315
+ ## [0.9.6] - 2024-09-03
316
+ - Added `metaDataFilter` to `Search` parameters.
317
+
318
+ ## [0.9.5] - 2024-08-07
319
+ - Add `completedAt` to `ModifyParams`
320
+
321
+ ## [0.9.4] - 2024-07-31
322
+ - Add `close` and `close_async` to `http_client`
323
+ - Make `httpx` the default client for async requests
324
+
325
+ ## [0.9.3] - 2024-07-31
326
+ - `Search.create`, `Message`, `ChatCompletion` parameters that were marked `NotRequired` are now also `Optional`
327
+
328
+ ## [0.9.2] - 2024-07-30
329
+ - Bug fix in `Search.create`: langugage -> language
330
+
331
+ ## [0.9.1] - 2024-07-30
332
+ - Added parameters to `Search.create` and `Search.create_async`
333
+ - `language` for full text search
334
+ - `reranker` to reranker search results
335
+
336
+ ## [0.9.0] - 2024-07-29
337
+ - Added the possibility to make async requests to the unique APIs using either aiohttp or httpx as client
338
+
@@ -0,0 +1,4 @@
1
+ # Unique Python SDK
2
+
3
+
4
+ Visit: [https://unique-ag.github.io/](https://unique-ag.github.io/ai/unique-sdk/) for the documentation.