unique_sdk 0.9.10__py3-none-any.whl → 0.9.11__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.
@@ -17,6 +17,7 @@ class ChatCompletionRequestMessage(TypedDict, total=False):
17
17
  role: Literal["system", "user", "assistant"]
18
18
  content: str
19
19
  name: Optional[str]
20
+ tool_call_id: Optional[str]
20
21
 
21
22
 
22
23
  class ChatCompletionResponseMessage(TypedDict):
@@ -65,6 +65,9 @@ class Content(APIResource["Content"]):
65
65
  where: "Content.ContentWhereInput"
66
66
  chatId: NotRequired[str]
67
67
 
68
+ class IngestionConfig(TypedDict):
69
+ uniqueIngestionMode: str
70
+
68
71
  class Input(TypedDict):
69
72
  key: str
70
73
  title: Optional[str]
@@ -72,6 +75,7 @@ class Content(APIResource["Content"]):
72
75
  ownerType: str
73
76
  ownerId: str
74
77
  byteSize: Optional[int]
78
+ ingestionConfig: "Content.IngestionConfig"
75
79
 
76
80
  class UpsertParams(RequestOptions):
77
81
  input: "Content.Input"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.9.10
3
+ Version: 0.9.11
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -899,6 +899,9 @@ All notable changes to this project will be documented in this file.
899
899
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
900
900
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
901
901
 
902
+ ## [0.9.11] - 2024-11-18
903
+ - Add `ingestionConfig` to `UpsertParams.Input` parameters
904
+
902
905
  ## [0.9.10] - 2024-10-23
903
906
  - 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.
904
907
 
@@ -15,8 +15,8 @@ unique_sdk/_version.py,sha256=bLj15cDf-jfrKLtrOqhC3kl-ZIlt9q8ieogbrosWe_g,18
15
15
  unique_sdk/_webhook.py,sha256=GYxbUibQN_W4XlNTHaMIksT9FQJk4LJmlKcxOu3jqiU,2855
16
16
  unique_sdk/api_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  unique_sdk/api_resources/_acronyms.py,sha256=GIU1XH1flGWQYcpsFqTYwg4ioIGxVmb15tux84nmhEg,891
18
- unique_sdk/api_resources/_chat_completion.py,sha256=A2U5tgIs9YMF18s-W-O6R2BxlghIQqfRB6Pq4C1_LqA,2112
19
- unique_sdk/api_resources/_content.py,sha256=cYf2b2b_0v0Kmx_MV12maZLZN85HnGBED6ksQ-NrnJ4,4866
18
+ unique_sdk/api_resources/_chat_completion.py,sha256=Hif_kbY0OmW54nG7Ad-up_kvbhejssP5Yd7nLeDHacU,2144
19
+ unique_sdk/api_resources/_content.py,sha256=MrAXhgZS3v2S9OwKh3ROfv5wU8Y947A6gD3wgaYe_aM,4989
20
20
  unique_sdk/api_resources/_embedding.py,sha256=C6qak7cCUBMBINfPhgH8taCJZ9n6w1MUElqDJJ8dG10,1281
21
21
  unique_sdk/api_resources/_event.py,sha256=bpWF9vstdoAWbUzr-iiGP713ceP0zPk77GJXiImf9zg,374
22
22
  unique_sdk/api_resources/_integrated.py,sha256=R5a5oSVQXkh5xyeFwor-7sfePsBdtUyh8SbTMS6AMz4,3036
@@ -28,7 +28,7 @@ unique_sdk/utils/chat_history.py,sha256=5UqL9hF1O9pV7skbNOlEibF5rHdYsmG3m5-YEPUo
28
28
  unique_sdk/utils/file_io.py,sha256=tcS-5NA97AyiJPhKpWs3i0qKNFsZlttToxrvnWRDJrs,3857
29
29
  unique_sdk/utils/sources.py,sha256=wfboE-neMKa0Wuq9QzfAEFMkNLrIrmm0v-QF33sLo6k,4952
30
30
  unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
31
- unique_sdk-0.9.10.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
32
- unique_sdk-0.9.10.dist-info/METADATA,sha256=B3nCm7n91jbol7E4h8Hy_Fn6He3ost7TS21fBalqkeM,27888
33
- unique_sdk-0.9.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
34
- unique_sdk-0.9.10.dist-info/RECORD,,
31
+ unique_sdk-0.9.11.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
32
+ unique_sdk-0.9.11.dist-info/METADATA,sha256=RjHhIAWryMqKEzBEqHDGI4SKMGWZDF1s6t_7jvMWOrU,27975
33
+ unique_sdk-0.9.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
34
+ unique_sdk-0.9.11.dist-info/RECORD,,