unique_toolkit 0.5.3__py3-none-any.whl → 0.5.4__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/chat/schemas.py +1 -1
- unique_toolkit/content/service.py +0 -2
- {unique_toolkit-0.5.3.dist-info → unique_toolkit-0.5.4.dist-info}/METADATA +4 -1
- {unique_toolkit-0.5.3.dist-info → unique_toolkit-0.5.4.dist-info}/RECORD +6 -6
- {unique_toolkit-0.5.3.dist-info → unique_toolkit-0.5.4.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.5.3.dist-info → unique_toolkit-0.5.4.dist-info}/WHEEL +0 -0
unique_toolkit/chat/schemas.py
CHANGED
@@ -21,7 +21,7 @@ class ChatMessage(BaseModel):
|
|
21
21
|
object: str | None = None
|
22
22
|
content: str = Field(alias="text")
|
23
23
|
role: ChatMessageRole
|
24
|
-
debug_info: dict = {}
|
24
|
+
debug_info: dict | None = {}
|
25
25
|
|
26
26
|
# TODO make sdk return role consistently in lowercase
|
27
27
|
# Currently needed as sdk returns role in uppercase
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.4
|
4
4
|
Summary:
|
5
5
|
License: MIT
|
6
6
|
Author: Martin Fadler
|
@@ -102,6 +102,9 @@ All notable changes to this project will be documented in this file.
|
|
102
102
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
103
103
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
104
104
|
|
105
|
+
## [0.5.4] - 2024-07-26
|
106
|
+
- correct ChatMessage schema
|
107
|
+
|
105
108
|
## [0.5.3] - 2024-07-25
|
106
109
|
- downgrade numpy version to ^1.26.4 to be compatible with langchain libraries (require numpy<2.0)
|
107
110
|
|
@@ -5,12 +5,12 @@ unique_toolkit/app/performance/async_executor.py,sha256=ImekDRWkFeXuIYFnCpSJAqE0
|
|
5
5
|
unique_toolkit/app/performance/async_wrapper.py,sha256=Xli5zH9RFdbBJnlBQS_kP7TGqXhPNou5WKst4FLWzGo,770
|
6
6
|
unique_toolkit/app/schemas.py,sha256=UAbIkrgdqwWEwKqnJwB4TNQWuJgEsFzDxqJbEC8xcOc,1098
|
7
7
|
unique_toolkit/app/verification.py,sha256=UZqTHg3PX_QxMjeLH_BVBYoMVqMnMpeMoqvyTBKDqj8,1996
|
8
|
-
unique_toolkit/chat/schemas.py,sha256=
|
8
|
+
unique_toolkit/chat/schemas.py,sha256=TYqrDy96ynP7XpnT_abOJlq6LkqBTdKwEft4YHeEgR8,801
|
9
9
|
unique_toolkit/chat/service.py,sha256=zxMoOMKlLJNwtRAO8GCpX9tGwVUsbgHWEPWztGe6htw,12300
|
10
10
|
unique_toolkit/chat/state.py,sha256=IljPSqbzQq9TMD9cnbkII8k4eTtkyYOGzRe-DuR-Nic,1831
|
11
11
|
unique_toolkit/chat/utils.py,sha256=ihm-wQykBWhB4liR3LnwPVPt_qGW6ETq21Mw4HY0THE,854
|
12
12
|
unique_toolkit/content/schemas.py,sha256=u3b0R6bIEjbI4zGMoBRi-bdZy_SeRKtMRi8PKW6yMZ4,1969
|
13
|
-
unique_toolkit/content/service.py,sha256=
|
13
|
+
unique_toolkit/content/service.py,sha256=CLvHWu3SULOFLKbCl2LKBHgL7m11UWiRPsTPvFkhJXY,11328
|
14
14
|
unique_toolkit/content/utils.py,sha256=x3ABo8ZCRm3YJAQwDtrr82z77DmW4Mei7KCIITjP0fk,6897
|
15
15
|
unique_toolkit/embedding/schemas.py,sha256=1GvKCaSk4jixzVQ2PKq8yDqwGEVY_hWclYtoAr6CC2g,96
|
16
16
|
unique_toolkit/embedding/service.py,sha256=IjBag3koSSeoQTo9836t0K5tkTbu0otvytVWnYQJHw4,2403
|
@@ -18,7 +18,7 @@ unique_toolkit/language_model/infos.py,sha256=NhAkeW7PyusSIHCMvwRikLlzGG4tOXSLf_
|
|
18
18
|
unique_toolkit/language_model/schemas.py,sha256=kTGSGT3ygrH3guQELOWpxN4MTgEPuudi-CTvRu-zCcI,4377
|
19
19
|
unique_toolkit/language_model/service.py,sha256=VHixKmi6-BP-StDQdomS-J-EWKIhHvDjNCi5zrP3mpM,9749
|
20
20
|
unique_toolkit/language_model/utils.py,sha256=WBPj1XKkDgxy_-T8HCZvsfkkSzj_1w4UZzNmyvdbBLY,1081
|
21
|
-
unique_toolkit-0.5.
|
22
|
-
unique_toolkit-0.5.
|
23
|
-
unique_toolkit-0.5.
|
24
|
-
unique_toolkit-0.5.
|
21
|
+
unique_toolkit-0.5.4.dist-info/LICENSE,sha256=bIeCWCYuoUU_MzNdg48-ubJSVm7qxakaRbzTiJ5uxrs,1065
|
22
|
+
unique_toolkit-0.5.4.dist-info/METADATA,sha256=qB0TDQGmJpsKzyWCtjI6qxFERg1YKmc_B_ErQvLMsCY,8289
|
23
|
+
unique_toolkit-0.5.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
24
|
+
unique_toolkit-0.5.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|