unique_toolkit 0.5.12__py3-none-any.whl → 0.5.14__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.
- unique_toolkit/language_model/infos.py +11 -0
- unique_toolkit/language_model/schemas.py +5 -1
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.14.dist-info}/METADATA +8 -1
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.14.dist-info}/RECORD +6 -6
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.14.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.14.dist-info}/WHEEL +0 -0
@@ -17,6 +17,7 @@ class LanguageModelName(StrEnum):
|
|
17
17
|
AZURE_GPT_4_32K_0613 = "AZURE_GPT_4_32K_0613"
|
18
18
|
AZURE_GPT_4_TURBO_2024_0409 = "AZURE_GPT_4_TURBO_2024_0409"
|
19
19
|
AZURE_GPT_4o_2024_0513 = "AZURE_GPT_4o_2024_0513"
|
20
|
+
AZURE_GPT_4o_MINI_2024_0718 = "AZURE_GPT_4o_MINI_2024_0718"
|
20
21
|
|
21
22
|
|
22
23
|
class LanguageModelProvider(StrEnum):
|
@@ -303,3 +304,13 @@ AzureGpt4o20240513 = create_language_model(
|
|
303
304
|
info_cutoff_at=date(2023, 10, 1),
|
304
305
|
published_at=date(2024, 5, 13),
|
305
306
|
)
|
307
|
+
|
308
|
+
AzureGpt4oMini20240718 = create_language_model(
|
309
|
+
name=LanguageModelName.AZURE_GPT_4o_MINI_2024_0718,
|
310
|
+
provider=LanguageModelProvider.AZURE,
|
311
|
+
version="2024-07-18",
|
312
|
+
token_limit_input=128000,
|
313
|
+
token_limit_output=16384,
|
314
|
+
info_cutoff_at=date(2023, 10, 1),
|
315
|
+
published_at=date(2024, 7, 18),
|
316
|
+
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import json
|
2
2
|
from enum import StrEnum
|
3
|
-
from typing import Any, Optional
|
3
|
+
from typing import Any, Optional, Self
|
4
4
|
|
5
5
|
from humps import camelize
|
6
6
|
from pydantic import BaseModel, ConfigDict, RootModel, field_validator, model_validator
|
@@ -154,6 +154,7 @@ class LanguageModelToolParameterProperty(BaseModel):
|
|
154
154
|
type: str
|
155
155
|
description: str
|
156
156
|
enum: Optional[list[Any]] = None
|
157
|
+
items: Optional[Self] = None
|
157
158
|
|
158
159
|
|
159
160
|
class LanguageModelToolParameters(BaseModel):
|
@@ -166,3 +167,6 @@ class LanguageModelTool(BaseModel):
|
|
166
167
|
name: str
|
167
168
|
description: str
|
168
169
|
parameters: LanguageModelToolParameters
|
170
|
+
returns: LanguageModelToolParameterProperty | LanguageModelToolParameters | None = (
|
171
|
+
None
|
172
|
+
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.14
|
4
4
|
Summary:
|
5
5
|
License: MIT
|
6
6
|
Author: Martin Fadler
|
@@ -101,6 +101,13 @@ All notable changes to this project will be documented in this file.
|
|
101
101
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
102
102
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
103
103
|
|
104
|
+
## [0.5.14] - 2024-08-26
|
105
|
+
- Add AZURE_GPT_4o_MINI_2024_0718 to language model infos
|
106
|
+
|
107
|
+
## [0.5.13] - 2024-08-19
|
108
|
+
- Added `items` to `LanguageModelToolParameterProperty` schema to add support for parameters with list types.
|
109
|
+
- Added `returns` to `LanguageModelTool` schema to describe the return types of tool calls.
|
110
|
+
|
104
111
|
## [0.5.12] - 2024-08-7
|
105
112
|
- added `completedAt` datetime to `unique_sdk.Message.modify` and `unique_sdk.Message.modify_async`
|
106
113
|
- added `original_text` and `language` to `EventUserMessage`
|
@@ -22,11 +22,11 @@ unique_toolkit/embedding/schemas.py,sha256=1GvKCaSk4jixzVQ2PKq8yDqwGEVY_hWclYtoA
|
|
22
22
|
unique_toolkit/embedding/service.py,sha256=Iiw-sbdkjuWlWMfLM9qyC4GNTJOotQAaVjkYvh5Su4Y,2370
|
23
23
|
unique_toolkit/embedding/utils.py,sha256=v86lo__bCJbxZBQ3OcLu5SuwT6NbFfWlcq8iyk6BuzQ,279
|
24
24
|
unique_toolkit/language_model/__init__.py,sha256=QgU_uwpVh1URQyVs6l-6Am4UwmEEhuGXNic3dUZ0FCc,1701
|
25
|
-
unique_toolkit/language_model/infos.py,sha256=
|
26
|
-
unique_toolkit/language_model/schemas.py,sha256=
|
25
|
+
unique_toolkit/language_model/infos.py,sha256=JkugUAFFlrhTHXeM3A_R5QLkNSR9Ro85xWQFcdc2oM0,9307
|
26
|
+
unique_toolkit/language_model/schemas.py,sha256=h5zjZNk7O-wLKtRuiNtMCIbp5hEVXrAOviKonQcjFuI,4594
|
27
27
|
unique_toolkit/language_model/service.py,sha256=JjsOOcGDcR7db3yF3_oDXclEGfxqmwWpL5jor7Q42cU,10470
|
28
28
|
unique_toolkit/language_model/utils.py,sha256=WBPj1XKkDgxy_-T8HCZvsfkkSzj_1w4UZzNmyvdbBLY,1081
|
29
|
-
unique_toolkit-0.5.
|
30
|
-
unique_toolkit-0.5.
|
31
|
-
unique_toolkit-0.5.
|
32
|
-
unique_toolkit-0.5.
|
29
|
+
unique_toolkit-0.5.14.dist-info/LICENSE,sha256=bIeCWCYuoUU_MzNdg48-ubJSVm7qxakaRbzTiJ5uxrs,1065
|
30
|
+
unique_toolkit-0.5.14.dist-info/METADATA,sha256=p_jPjGwKWiNOLzbVcibqdWCrXA1TA813LnIdLfkkmVE,10124
|
31
|
+
unique_toolkit-0.5.14.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
32
|
+
unique_toolkit-0.5.14.dist-info/RECORD,,
|
File without changes
|
File without changes
|