unique_toolkit 0.5.12__py3-none-any.whl → 0.5.13__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/schemas.py +5 -1
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.13.dist-info}/METADATA +6 -1
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.13.dist-info}/RECORD +5 -5
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.13.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.5.12.dist-info → unique_toolkit-0.5.13.dist-info}/WHEEL +0 -0
@@ -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.13
|
4
4
|
Summary:
|
5
5
|
License: MIT
|
6
6
|
Author: Martin Fadler
|
@@ -101,6 +101,11 @@ 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.13] - 2024-08-19
|
105
|
+
- Added `items` to `LanguageModelToolParameterProperty` schema to add support for parameters with list types.
|
106
|
+
- Added `returns` to `LanguageModelTool` schema to describe the return types of tool calls.
|
107
|
+
|
108
|
+
|
104
109
|
## [0.5.12] - 2024-08-7
|
105
110
|
- added `completedAt` datetime to `unique_sdk.Message.modify` and `unique_sdk.Message.modify_async`
|
106
111
|
- added `original_text` and `language` to `EventUserMessage`
|
@@ -23,10 +23,10 @@ unique_toolkit/embedding/service.py,sha256=Iiw-sbdkjuWlWMfLM9qyC4GNTJOotQAaVjkYv
|
|
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
25
|
unique_toolkit/language_model/infos.py,sha256=W74PiBkAIEdTdgygdVoq_EWlziVOOfhSuETq4dKX7LM,8934
|
26
|
-
unique_toolkit/language_model/schemas.py,sha256=
|
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.13.dist-info/LICENSE,sha256=bIeCWCYuoUU_MzNdg48-ubJSVm7qxakaRbzTiJ5uxrs,1065
|
30
|
+
unique_toolkit-0.5.13.dist-info/METADATA,sha256=7SZ9_BbfL1M0Esja2QmEpsKvyx9Bva04cmgGeRkFaSw,10041
|
31
|
+
unique_toolkit-0.5.13.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
32
|
+
unique_toolkit-0.5.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|