unique_sdk 0.9.7__tar.gz → 0.10.39__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 (50) hide show
  1. unique_sdk-0.10.39/CHANGELOG.md +263 -0
  2. unique_sdk-0.10.39/PKG-INFO +2254 -0
  3. unique_sdk-0.10.39/README.md +1971 -0
  4. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/pyproject.toml +16 -3
  5. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/__init__.py +29 -4
  6. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_api_requestor.py +44 -25
  7. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_api_resource.py +17 -1
  8. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_error.py +20 -13
  9. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_http_client.py +14 -6
  10. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_util.py +90 -4
  11. unique_sdk-0.10.39/unique_sdk/_version.py +1 -0
  12. unique_sdk-0.10.39/unique_sdk/api_resources/_agentic_table.py +367 -0
  13. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_chat_completion.py +11 -7
  14. unique_sdk-0.10.39/unique_sdk/api_resources/_content.py +591 -0
  15. unique_sdk-0.10.39/unique_sdk/api_resources/_folder.py +571 -0
  16. unique_sdk-0.10.39/unique_sdk/api_resources/_integrated.py +188 -0
  17. unique_sdk-0.10.39/unique_sdk/api_resources/_llm_models.py +64 -0
  18. unique_sdk-0.10.39/unique_sdk/api_resources/_mcp.py +126 -0
  19. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_message.py +73 -0
  20. unique_sdk-0.10.39/unique_sdk/api_resources/_message_assessment.py +74 -0
  21. unique_sdk-0.10.39/unique_sdk/api_resources/_message_execution.py +167 -0
  22. unique_sdk-0.10.39/unique_sdk/api_resources/_message_log.py +141 -0
  23. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_search.py +7 -5
  24. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_search_string.py +0 -4
  25. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_short_term_memory.py +3 -5
  26. unique_sdk-0.10.39/unique_sdk/api_resources/_space.py +205 -0
  27. unique_sdk-0.10.39/unique_sdk/utils/chat_in_space.py +180 -0
  28. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/utils/file_io.py +20 -2
  29. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/utils/sources.py +1 -1
  30. unique_sdk-0.9.7/CHANGELOG.md +0 -33
  31. unique_sdk-0.9.7/PKG-INFO +0 -923
  32. unique_sdk-0.9.7/README.md +0 -873
  33. unique_sdk-0.9.7/unique_sdk/_version.py +0 -1
  34. unique_sdk-0.9.7/unique_sdk/api_resources/_content.py +0 -175
  35. unique_sdk-0.9.7/unique_sdk/api_resources/_integrated.py +0 -104
  36. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/LICENSE +0 -0
  37. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_api_version.py +0 -0
  38. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_list_object.py +0 -0
  39. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_object_classes.py +0 -0
  40. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_request_options.py +0 -0
  41. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_unique_object.py +0 -0
  42. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_unique_ql.py +0 -0
  43. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_unique_response.py +0 -0
  44. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/_webhook.py +0 -0
  45. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/__init__.py +0 -0
  46. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_acronyms.py +0 -0
  47. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_embedding.py +0 -0
  48. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/api_resources/_event.py +0 -0
  49. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/utils/chat_history.py +0 -0
  50. {unique_sdk-0.9.7 → unique_sdk-0.10.39}/unique_sdk/utils/token.py +0 -0
@@ -0,0 +1,263 @@
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.39] - 2025-11-07
9
+ - Add function to get llm models
10
+
11
+ ## [0.10.38] - 2025-11-06
12
+ - Add description property to Reference and Content.
13
+
14
+ ## [0.10.37] - 2025-11-04
15
+ - Introduce local integration tests for Content API Resource
16
+
17
+ ## [0.10.36] - 2025-11-04
18
+ - Introduce local integration tests for Folder API Resource
19
+
20
+ ## [0.10.35] - 2025-11-04
21
+ - Inmprove folder get infos types.
22
+
23
+ ## [0.10.34] - 2025-10-29
24
+ - Add documentation for agentic table.
25
+
26
+ ## [0.10.33] - 2025-10-27
27
+ - Improve messagelog and message execution types.
28
+
29
+ ## [0.10.32] - 2025-10-14
30
+ - Add function to stream to chat frontend.
31
+
32
+ ## [0.10.31] - 2025-10-13
33
+ - Add readme for message log and execution.
34
+
35
+ ## [0.10.30] - 2025-10-07
36
+ - Improve types for content get infos.
37
+
38
+ ## [0.10.29] - 2025-10-06
39
+ - Switch default model used from `GPT-3.5-turbo (0125)` to `GPT-4o (1120)`
40
+
41
+ ## [0.10.28] - 2025-10-03
42
+ - Use non blocking versions of `Space.get_latest_message` and `Message.retrieve` in `send_message_and_wait_for_completion`.
43
+
44
+ ## [0.10.27] - 2025-09-24
45
+ - Improve readme to use Unique AI.
46
+
47
+ ## [0.10.26] - 2025-09-22
48
+ - Improve typing.
49
+
50
+ ## [0.10.25] - 2025-09-18
51
+ - Add support for udpate and delete files by file or folder path.
52
+
53
+ ## [0.10.24] - 2025-09-17
54
+ - Add function to update a folder.
55
+
56
+ ## [0.10.23] - 2025-09-12
57
+ - Revert to using default reasoning effort.
58
+
59
+ ## [0.10.22] - 2025-09-12
60
+ - Add support for metadata update of a file.
61
+
62
+ ## [0.10.21] - 2025-09-04
63
+ - Update Chat Completions API types and add support for reasoning effort.
64
+
65
+ ## [0.10.20] - 2025-09-04
66
+ - Update Responses API types
67
+
68
+ ## [0.10.19] - 2025-09-02
69
+ - Improve `send_message_and_wait_for_completion`:
70
+ - Add option to select stop_condition `["stoppedStreamingAt", "completedAt"]`.
71
+ - Load `debugInfo` from `last_user_message` for better developer experience.
72
+
73
+ ## [0.10.18] - 2025-09-02
74
+ - Temporarily remove support for update and delete files by filePath.
75
+
76
+ ## [0.10.17] - 2025-09-01
77
+ - Add function to update a file
78
+
79
+ ## [0.10.16] - 2025-08-31
80
+ - Add function to delete a content.
81
+
82
+ ## [0.10.15] - 2025-08-28
83
+ - Add default values for message log types
84
+
85
+ ## [0.10.14] - 2025-08-28
86
+ - Add function to delete folders and files recursively
87
+
88
+ ## [0.10.13] - 2025-08-24
89
+ - Add functions to create, get and update a message eecution and create and update a message log.
90
+
91
+ ## [0.10.12] - 2025-08-24
92
+ - Switch to using Content get info deprecated endpoint to make sure we support older release versions.
93
+
94
+ ## [0.10.11] - 2025-08-24
95
+ - Enforce usage of ruff using pipeline
96
+
97
+ ## [0.10.10] - 2025-08-18
98
+ - Fix wrong name of references in `Space.Message`.
99
+ - Fix wrong name of assessment in `Space.Message`.
100
+ - Remove default values for `text`, `originalText` and `debugInfo` in `Space.Message` as these don't have an effect.
101
+
102
+ ## [0.10.9] - 2025-08-15
103
+ - Add script to wait for content ingestion finished.
104
+
105
+ ## [0.10.8] - 2025-08-13
106
+ - Add support for Agentic Table.
107
+
108
+ ## [0.10.7] - 2025-08-13
109
+ - Make metadata optional when uploading a file.
110
+
111
+ ## [0.10.6] - 2025-08-06
112
+ - Make tools optional for running an agent.
113
+
114
+ ## [0.10.5] - 2025-08-06
115
+ - Get paginated files and folders info.
116
+
117
+ ## [0.10.4] - 2025-08-05
118
+ - Add support for reasoning API with streaming within a chat.
119
+
120
+ ## [0.10.3] - 2025-08-05
121
+ - Expose scoreThreshold param for search.
122
+
123
+ ## [0.10.2] - 2025-08-05
124
+ - Add script to chat against file.
125
+
126
+ ## [0.10.1] - 2025-08-05
127
+ - Allow deletion of a space chat.
128
+
129
+ ## [0.10.0] - 2025-08-04
130
+ - Add MCP support
131
+
132
+ ## [0.9.42] - 2025-07-31
133
+ - Fix wrong chat in space example.
134
+
135
+ ## [0.9.41] - 2025-07-31
136
+ - Fix double-slash error in open ai proxy script.
137
+
138
+ ## [0.9.40] - 2025-07-22
139
+ - Fixed bug where get requests send body with the request. This is not allowed by WAF policies.
140
+
141
+ ## [0.9.39] - 2025-07-18
142
+ - Add script to chat in a space.
143
+
144
+ ## [0.9.38] - 2025-07-18
145
+ - [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`.
146
+
147
+ ## [0.9.37] - 2025-07-10
148
+ - Add `sheetName` property to the `MagicTableSheetIngestParams` object used by function that ingests magic table sheets.
149
+
150
+ ## [0.9.36] - 2025-06-23
151
+ - Allow passing a user id when creating chat completions. This is optional and it does not impact the current behaviour.
152
+
153
+ ## [0.9.35] - 2025-06-18
154
+ - Allow scope access updates (add/remove) on folder based on scope id or path.
155
+
156
+ ## [0.9.34] - 2025-06-17
157
+ - Allow ingestion config updates on folder based on scope id or path.
158
+
159
+ ## [0.9.33] - 2025-06-11
160
+ - Add function to get a folder by id or by path.
161
+
162
+ ## [0.9.32] - 2025-06-11
163
+ - Add function to ingest magic table sheets.
164
+
165
+ ## [0.9.31] - 2025-05-21
166
+ - Add function to update folder access (add or remove).
167
+
168
+ ## [0.9.30] - 2025-05-21
169
+ - Add function to update folder ingestion config.
170
+
171
+ ## [0.9.29] - 2025-05-20
172
+ - Add function to create folder paths if they do not exist.
173
+
174
+ ## [0.9.28] - 2025-05-20
175
+ - Add function to search content info. This also allows filtering content info by metadata info.
176
+
177
+ ## [0.9.27] - 2025-05-14
178
+ - Add the possibility to specify metadata when creating or updating a Content.
179
+
180
+ ## [0.9.26] - 2025-05-13
181
+ - Add the possibility to specify ingestionConfig when creating or updating a Content.
182
+
183
+ ## [0.9.25] - 2025-05-02
184
+ - Fixed typos in `README.md`, including incorrect `sdk.utils` imports and code example errors.
185
+
186
+ ## [0.9.24] - 2025-04-23
187
+ - Make `chatId` property in `Search.CreateParams` optional
188
+
189
+ ## [0.9.23] - 2025-03-25
190
+ - Define programming language classifier explicitly for python 3.11
191
+
192
+ ## [0.9.22] - 2025-02-25
193
+ - update the retry_on_error to only `APIError` and `APIConnectionError` update the `resp["error"]` to be `resp.get("error")` to avoid key error
194
+
195
+ ## [0.9.21] - 2025-02-21
196
+ - Add title parameter and change labels in `MessageAssessment`
197
+
198
+ ## [0.9.20] - 2025-02-01
199
+ - Add url parameter to `MessageAssessment.create_async` and `MessageAssessment.modify_async`
200
+
201
+ ## [0.9.19] - 2025-01-31
202
+ - Add `MessageAssessment` resource
203
+
204
+ ## [0.9.18] - 2025-01-22
205
+ - Removed `Invalid response body from API` from `retry_dict` as it's our own artificail error.
206
+
207
+ ## [0.9.17] - 2025-01-03
208
+ - BREAKING CHANGE!! Removed unused `id` from `ShortTermMemory` create and find methods.
209
+
210
+ ## [0.9.16] - 2024-12-19
211
+ - Corrected return type of `Search.create` and `Search.create_async` to `List[Search]`
212
+ - Retry on `Connection aborted` error
213
+
214
+ ## [0.9.15] - 2024-12-06
215
+ - Add `Internal server error` and `You can retry your request` to the retry logic
216
+
217
+ ## [0.9.14] - 2024-12-06
218
+ - Add `contentIds` to `Search.create` and `Search.create_async`
219
+
220
+ ## [0.9.13] - 2024-10-23
221
+ - Add retry for `5xx` errors, add additional error message.
222
+
223
+ ## [0.9.12] - 2024-11-21
224
+ - Include original error message in returned exceptions
225
+
226
+ ## [0.9.11] - 2024-11-18
227
+ - Add `ingestionConfig` to `UpsertParams.Input` parameters
228
+
229
+ ## [0.9.10] - 2024-10-23
230
+ - 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.
231
+
232
+ ## [0.9.9] - 2024-10-23
233
+ - Revert deletion of `Message.retrieve` method
234
+
235
+ ## [0.9.8] - 2024-10-16
236
+ - Add `retries` for `_static_request` and `_static_request_async` in `APIResource` - When the error messages contains either `"problem proxying the request"`,
237
+ or `"Upstream service reached a hard timeout"`,
238
+ ## [0.9.7] - 2024-09-23
239
+ - Add `completedAt` to `CreateParams` of `Message`
240
+
241
+ ## [0.9.6] - 2024-09-03
242
+ - Added `metaDataFilter` to `Search` parameters.
243
+
244
+ ## [0.9.5] - 2024-08-07
245
+ - Add `completedAt` to `ModifyParams`
246
+
247
+ ## [0.9.4] - 2024-07-31
248
+ - Add `close` and `close_async` to `http_client`
249
+ - Make `httpx` the default client for async requests
250
+
251
+ ## [0.9.3] - 2024-07-31
252
+ - `Search.create`, `Message`, `ChatCompletion` parameters that were marked `NotRequired` are now also `Optional`
253
+
254
+ ## [0.9.2] - 2024-07-30
255
+ - Bug fix in `Search.create`: langugage -> language
256
+
257
+ ## [0.9.1] - 2024-07-30
258
+ - Added parameters to `Search.create` and `Search.create_async`
259
+ - `language` for full text search
260
+ - `reranker` to reranker search results
261
+
262
+ ## [0.9.0] - 2024-07-29
263
+ - Added the possibility to make async requests to the unique APIs using either aiohttp or httpx as client