unique_sdk 0.10.28__py3-none-any.whl → 0.10.30__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.

Potentially problematic release.


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

@@ -86,6 +86,19 @@ class Content(APIResource["Content"]):
86
86
  skip: NotRequired[int | None]
87
87
  take: NotRequired[int | None]
88
88
  filePath: NotRequired[str | None]
89
+ contentId: NotRequired[str | None]
90
+ chatId: NotRequired[str | None]
91
+
92
+ class ContentInfosParams(TypedDict):
93
+ """
94
+ Parameters for the content infos endpoint.
95
+ This is used to retrieve information about contents based on various filters.
96
+ """
97
+
98
+ metadataFilter: NotRequired[dict[str, Any] | None]
99
+ skip: NotRequired[int | None]
100
+ take: NotRequired[int | None]
101
+ parentId: NotRequired[str | None]
89
102
 
90
103
  class CustomApiOptions(TypedDict):
91
104
  apiIdentifier: str
@@ -293,7 +306,7 @@ class Content(APIResource["Content"]):
293
306
  cls,
294
307
  user_id: str,
295
308
  company_id: str,
296
- **params: Unpack["Content.ContentInfoParams"],
309
+ **params: Unpack["Content.ContentInfosParams"],
297
310
  ) -> "Content.PaginatedContentInfos":
298
311
  return cast(
299
312
  Content.PaginatedContentInfos,
@@ -311,7 +324,7 @@ class Content(APIResource["Content"]):
311
324
  cls,
312
325
  user_id: str,
313
326
  company_id: str,
314
- **params: Unpack["Content.ContentInfoParams"],
327
+ **params: Unpack["Content.ContentInfosParams"],
315
328
  ) -> "Content.PaginatedContentInfos":
316
329
  return cast(
317
330
  Content.PaginatedContentInfos,
@@ -23,7 +23,6 @@ class SearchString(APIResource["SearchString"]):
23
23
  "AZURE_GPT_4_0613",
24
24
  "AZURE_GPT_4_32K_0613",
25
25
  "AZURE_GPT_4_TURBO_1106",
26
- "AZURE_GPT_35_TURBO_INSTRUCT_0914",
27
26
  ]
28
27
  ]
29
28
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.10.28
3
+ Version: 0.10.30
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -18,9 +18,9 @@ Description-Content-Type: text/markdown
18
18
 
19
19
  # Unique Python SDK
20
20
 
21
- Unique Unique AI is a tailored solution for the financial industry, designed to increase productivity by automating manual workloads through AI and ChatGPT solutions.
21
+ Unique AI is a tailored solution for the financial industry, designed to increase productivity by automating manual workloads through AI and ChatGPT solutions.
22
22
 
23
- The Unique Python SDK provides access to the public API of Unique Unique AI. It also enables verification of Webhook signatures to ensure the authenticity of incoming Webhook requests.
23
+ The Unique Python SDK provides access to the public API of Unique AI. It also enables verification of Webhook signatures to ensure the authenticity of incoming Webhook requests.
24
24
 
25
25
  ## Table of Contents
26
26
 
@@ -226,7 +226,7 @@ This trigger can be used in combination with assistants marked as `external`. Th
226
226
  }
227
227
  ```
228
228
 
229
- This Webhook is triggered when the Unique Unique AI AI selects an external module as the best response to a user message. The module must be marked as `external` and available for the assistant used in the chat to be selected by the AI.
229
+ This Webhook is triggered when the Unique AI selects an external module as the best response to a user message. The module must be marked as `external` and available for the assistant used in the chat to be selected by the AI.
230
230
 
231
231
  Unique's UI will create an empty `assistantMessage` below the user message and update this message with status updates.
232
232
 
@@ -573,7 +573,7 @@ Move the file to a different folder. This can be done by specifying either the `
573
573
  - `parentFolderPath` optional, allows moving the file to a different folder. Represents the path new folder for the file.
574
574
 
575
575
  Metadata update:
576
- - `metadata` optional, allows updating the metadata of the file. Default metadata can not be ovrriden. (Available with release >.40)
576
+ - `metadata` optional, allows updating the metadata of the file. Default metadata can not be overridden. (Available with release >.40)
577
577
 
578
578
  Example of updating the title of a file specified by its path.
579
579
 
@@ -821,13 +821,13 @@ unique_sdk.Integrated.responses_stream(
821
821
 
822
822
  #### `unique_sdk.ChatCompletion.create`
823
823
 
824
- Send a prompt to an AI model supported by Unique Unique AI and receive a result. The `messages` attribute must follow the [OpenAI API format](https://platform.openai.com/docs/api-reference/chat).
824
+ Send a prompt to an AI model supported by Unique AI and receive a result. The `messages` attribute must follow the [OpenAI API format](https://platform.openai.com/docs/api-reference/chat).
825
825
 
826
826
  ```python
827
827
  chat_completion = unique_sdk.ChatCompletion.create(
828
828
  company_id=company_id,
829
829
  user_id=user_id
830
- model="AZURE_GPT_35_TURBO",
830
+ model="AZURE_GPT_4o_2024_1120",
831
831
  messages=[
832
832
  {"role": "system", "content": "You are a helpful assistant."},
833
833
  {"role": "user", "content": "Hello!"},
@@ -871,7 +871,7 @@ print(result)
871
871
 
872
872
  #### `unique_sdk.Search.create`
873
873
 
874
- Search the Unique Unique AI Knowledge database for RAG (Retrieval-Augmented Generation). The API supports vector search and a `searchType` that combines vector and full-text search, enhancing the precision of search results.
874
+ Search the Unique AI Knowledge database for RAG (Retrieval-Augmented Generation). The API supports vector search and a `searchType` that combines vector and full-text search, enhancing the precision of search results.
875
875
 
876
876
  These are the options are available for `searchType`:
877
877
 
@@ -1662,6 +1662,12 @@ All notable changes to this project will be documented in this file.
1662
1662
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1663
1663
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1664
1664
 
1665
+ ## [0.10.30] - 2025-10-07
1666
+ - Improve types for content get infos.
1667
+
1668
+ ## [0.10.29] - 2025-10-06
1669
+ - Switch default model used from `GPT-3.5-turbo (0125)` to `GPT-4o (1120)`
1670
+
1665
1671
  ## [0.10.28] - 2025-10-03
1666
1672
  - Use non blocking versions of `Space.get_latest_message` and `Message.retrieve` in `send_message_and_wait_for_completion`.
1667
1673
 
@@ -17,7 +17,7 @@ unique_sdk/api_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
17
17
  unique_sdk/api_resources/_acronyms.py,sha256=GIU1XH1flGWQYcpsFqTYwg4ioIGxVmb15tux84nmhEg,891
18
18
  unique_sdk/api_resources/_agentic_table.py,sha256=8-_f7t-m_iiiOj2835iESoxz91YRxl4-tkxpzQbgdcI,9958
19
19
  unique_sdk/api_resources/_chat_completion.py,sha256=ILCAffxkbkfh2iV9L4KKnfe80gZmT9pWfkNmf3mq68U,2172
20
- unique_sdk/api_resources/_content.py,sha256=XKIm5F6MnFGa0B8aTc4okFfBtAJAqtUmKB8-1tXLmrM,16651
20
+ unique_sdk/api_resources/_content.py,sha256=brgl1dqbOTpRK_Q-hj6j2m4mJ66qhcjSZOWgmpup_eQ,17117
21
21
  unique_sdk/api_resources/_embedding.py,sha256=C6qak7cCUBMBINfPhgH8taCJZ9n6w1MUElqDJJ8dG10,1281
22
22
  unique_sdk/api_resources/_event.py,sha256=bpWF9vstdoAWbUzr-iiGP713ceP0zPk77GJXiImf9zg,374
23
23
  unique_sdk/api_resources/_folder.py,sha256=mEKN3llhgi2Zyg-aVyz_LUU55V5ZGOKhgKytlyxBVF8,15679
@@ -28,7 +28,7 @@ unique_sdk/api_resources/_message_assessment.py,sha256=SSfx6eW7zb_GKe8cFJzCqW-t-
28
28
  unique_sdk/api_resources/_message_execution.py,sha256=qQH9NS8sdWLr55Yzc8pvPpYdfpewtSh6fy2alJjEoZk,4444
29
29
  unique_sdk/api_resources/_message_log.py,sha256=gV8hhzR_fgS28Ofpir6BjzuSyH6hXZgm8Pt3u0Onv2M,3658
30
30
  unique_sdk/api_resources/_search.py,sha256=GQItZKoGNOVZfkLLltBmsRZYBIreRKU0lGW8Kgpj1_Q,1959
31
- unique_sdk/api_resources/_search_string.py,sha256=4Idw6exgZdA8qksz9WkiA68k1hTU-7yFkgT_OLU_GkE,1662
31
+ unique_sdk/api_resources/_search_string.py,sha256=LZz2_QPZXV1NXucRR06dnDC2miK7J8XBY7dXX2xoDY4,1610
32
32
  unique_sdk/api_resources/_short_term_memory.py,sha256=vPRN-Y0WPx74E6y-A3LocGc0TxJdzT-xGL66WzZwKRg,2820
33
33
  unique_sdk/api_resources/_space.py,sha256=Z84k8blttHS5OjHIahZdddTL-HvYZGBolfCANwETaDE,4994
34
34
  unique_sdk/utils/chat_history.py,sha256=5UqL9hF1O9pV7skbNOlEibF5rHdYsmG3m5-YEPUowOs,3037
@@ -36,7 +36,7 @@ unique_sdk/utils/chat_in_space.py,sha256=cdjETBLnjv-OE8qsQpm626ks5yBdfQG_KBeG0WI
36
36
  unique_sdk/utils/file_io.py,sha256=sJS-dJLjogG65mLukDO9pGDpKVTP4LhIgiZASnCvjNI,4330
37
37
  unique_sdk/utils/sources.py,sha256=DoxxhMLcLhmDfNarjXa41H4JD2GSSDywr71hiC-4pYc,4952
38
38
  unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
39
- unique_sdk-0.10.28.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
40
- unique_sdk-0.10.28.dist-info/METADATA,sha256=xSt35YXI3FhcdCs6hNcuGZKodthsnpweKFKrAuR9KNY,57863
41
- unique_sdk-0.10.28.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
42
- unique_sdk-0.10.28.dist-info/RECORD,,
39
+ unique_sdk-0.10.30.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
40
+ unique_sdk-0.10.30.dist-info/METADATA,sha256=sKfJEwb0ATujyQrHOhdxaQsMy7SM_2LJBp-PCjH6u6w,57999
41
+ unique_sdk-0.10.30.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
42
+ unique_sdk-0.10.30.dist-info/RECORD,,