unique_sdk 0.10.22__py3-none-any.whl → 0.10.23__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.
@@ -1,13 +1,10 @@
1
1
  from typing import (
2
- Any,
3
2
  ClassVar,
4
- Dict,
5
3
  List,
6
4
  Literal,
7
5
  NotRequired,
8
6
  Optional,
9
7
  TypedDict,
10
- Union,
11
8
  Unpack,
12
9
  cast,
13
10
  )
@@ -37,51 +34,6 @@ class ChatCompletionChoicesInner(TypedDict):
37
34
  class ChatCompletion(APIResource["ChatCompletion"]):
38
35
  OBJECT_NAME: ClassVar[Literal["openai.chat.completion"]] = "openai.chat.completion"
39
36
 
40
- class FunctionDefinition(TypedDict, total=False):
41
- name: str
42
- description: Optional[str]
43
- parameters: Optional[Dict[str, Any]]
44
-
45
- class ChatCompletionsFunctionToolDefinition(TypedDict):
46
- type: Literal["function"]
47
- function: "ChatCompletion.FunctionDefinition"
48
-
49
- class FunctionName(TypedDict):
50
- name: str
51
-
52
- class ChatCompletionsNamedFunctionToolSelectionName(TypedDict):
53
- name: str
54
-
55
- class ChatCompletionsNamedFunctionToolSelection(TypedDict):
56
- type: Literal["function"]
57
- function: "ChatCompletion.ChatCompletionsNamedFunctionToolSelectionName"
58
-
59
- class ChatCompletionsTextResponseFormat(TypedDict, total=False):
60
- type: Literal["text", "json_schema"]
61
- json_schema: dict
62
-
63
- class Options(TypedDict, total=False):
64
- functions: NotRequired[List["ChatCompletion.FunctionDefinition"]]
65
- reasoningEffort: NotRequired[Literal["low", "medium", "high", None]]
66
- functionCall: NotRequired[
67
- Union[Literal["auto", "none"], "ChatCompletion.FunctionName"]
68
- ]
69
- maxTokens: NotRequired[int]
70
- temperature: NotRequired[float]
71
- topP: NotRequired[float]
72
- logitBias: NotRequired[Dict[str, float]]
73
- user: NotRequired[str]
74
- n: NotRequired[int]
75
- stop: NotRequired[List[str]]
76
- presencePenalty: NotRequired[float]
77
- frequencyPenalty: NotRequired[float]
78
- seed: NotRequired[int]
79
- responseFormat: NotRequired["ChatCompletion.ChatCompletionsTextResponseFormat"]
80
- tools: NotRequired[List["ChatCompletion.ChatCompletionsFunctionToolDefinition"]]
81
- toolChoice: NotRequired[
82
- "ChatCompletion.ChatCompletionsNamedFunctionToolSelection"
83
- ]
84
-
85
37
  class CreateParams(RequestOptions):
86
38
  model: NotRequired[
87
39
  Literal[
@@ -91,7 +43,6 @@ class ChatCompletion(APIResource["ChatCompletion"]):
91
43
  ]
92
44
  timeout: NotRequired[Optional["int"]]
93
45
  messages: List[ChatCompletionRequestMessage]
94
- options: NotRequired["ChatCompletion.Options"]
95
46
 
96
47
  model: Literal[
97
48
  "AZURE_GPT_4_0613",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.10.22
3
+ Version: 0.10.23
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -797,7 +797,6 @@ chat_completion = unique_sdk.ChatCompletion.create(
797
797
  ],
798
798
  options={
799
799
  "temperature": 0.5, # optional
800
- "reasoningEffort": "low", # optional
801
800
  } # optional
802
801
  )
803
802
  ```
@@ -1583,6 +1582,9 @@ All notable changes to this project will be documented in this file.
1583
1582
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1584
1583
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1585
1584
 
1585
+ ## [0.10.23] - 2025-09-12
1586
+ - Revert to using default reasoning effort.
1587
+
1586
1588
  ## [0.10.22] - 2025-09-12
1587
1589
  - Add support for metadata update of a file.
1588
1590
 
@@ -16,7 +16,7 @@ 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
18
  unique_sdk/api_resources/_agentic_table.py,sha256=8-_f7t-m_iiiOj2835iESoxz91YRxl4-tkxpzQbgdcI,9958
19
- unique_sdk/api_resources/_chat_completion.py,sha256=dEaTPfTxAXAuLODt6b5c0N4pVzcqbSqKhMoSILnPEVU,4000
19
+ unique_sdk/api_resources/_chat_completion.py,sha256=ILCAffxkbkfh2iV9L4KKnfe80gZmT9pWfkNmf3mq68U,2172
20
20
  unique_sdk/api_resources/_content.py,sha256=pkRKOVNOB-7vaSPjXAHuT0RWXvduQ3-OMzGsDRSMvb4,14159
21
21
  unique_sdk/api_resources/_embedding.py,sha256=C6qak7cCUBMBINfPhgH8taCJZ9n6w1MUElqDJJ8dG10,1281
22
22
  unique_sdk/api_resources/_event.py,sha256=bpWF9vstdoAWbUzr-iiGP713ceP0zPk77GJXiImf9zg,374
@@ -36,7 +36,7 @@ unique_sdk/utils/chat_in_space.py,sha256=NrH9e2lvXtj_oePG0RWUqFoTanMblF8-VgtnVfs
36
36
  unique_sdk/utils/file_io.py,sha256=YY8B7VJcTLOPmCXByiOfNerXGlAtjCC5EVNmAbQJ3dQ,4306
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.22.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
40
- unique_sdk-0.10.22.dist-info/METADATA,sha256=NMLZDcm0_2RpudaxEx6RCKYnOeYSSoG_I5MrTds4q6c,55023
41
- unique_sdk-0.10.22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
42
- unique_sdk-0.10.22.dist-info/RECORD,,
39
+ unique_sdk-0.10.23.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
40
+ unique_sdk-0.10.23.dist-info/METADATA,sha256=Hmo6AZFyH2HGoRrHgm3qCC1t9wAMzkMNZHmWg7Lq-z0,55043
41
+ unique_sdk-0.10.23.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
42
+ unique_sdk-0.10.23.dist-info/RECORD,,