unique_toolkit 0.5.23__py3-none-any.whl → 0.5.24__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/service.py +2 -0
- {unique_toolkit-0.5.23.dist-info → unique_toolkit-0.5.24.dist-info}/METADATA +4 -1
- {unique_toolkit-0.5.23.dist-info → unique_toolkit-0.5.24.dist-info}/RECORD +5 -5
- {unique_toolkit-0.5.23.dist-info → unique_toolkit-0.5.24.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.5.23.dist-info → unique_toolkit-0.5.24.dist-info}/WHEEL +0 -0
unique_toolkit/chat/service.py
CHANGED
@@ -525,6 +525,7 @@ class ChatService(BaseService):
|
|
525
525
|
"id": message_id,
|
526
526
|
"chatId": self.event.payload.chat_id,
|
527
527
|
"text": content,
|
528
|
+
"originalText": content,
|
528
529
|
"references": self._map_references(references) if references else [],
|
529
530
|
"debugInfo": debug_info,
|
530
531
|
"completedAt": completed_at_datetime,
|
@@ -558,6 +559,7 @@ class ChatService(BaseService):
|
|
558
559
|
"role": role.value.upper(),
|
559
560
|
"chatId": self.event.payload.chat_id,
|
560
561
|
"text": content,
|
562
|
+
"originalText": content,
|
561
563
|
"references": self._map_references(references) if references else [],
|
562
564
|
"debugInfo": debug_info,
|
563
565
|
"completedAt": completed_at_datetime,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.24
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Martin Fadler
|
@@ -100,6 +100,9 @@ All notable changes to this project will be documented in this file.
|
|
100
100
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
101
101
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
102
102
|
|
103
|
+
## [0.5.24] - 2024-09-26
|
104
|
+
- Add `originalText` to `_construct_message_modify_params` and `_construct_message_create_params`. This addition makes sure that the `originalText` on the database is populated with the `text`
|
105
|
+
|
103
106
|
## [0.5.23] - 2024-09-23
|
104
107
|
- Add `set_completed_at` as a boolen parameter to the following functions: `modify_user_message`, `modify_user_message_async`, `modify_assistant_message`, `modify_assistant_message_async`, `create_assistant_message` and `create_assistant_message`. This parameter allows the `completedAt` timestamp on the database to be updated when set to True.
|
105
108
|
|
@@ -10,7 +10,7 @@ unique_toolkit/app/schemas.py,sha256=tzrmUFKZUdC1P3LxZ7DrElpkMtekUDoClb7jCRzGqNQ
|
|
10
10
|
unique_toolkit/app/verification.py,sha256=UZqTHg3PX_QxMjeLH_BVBYoMVqMnMpeMoqvyTBKDqj8,1996
|
11
11
|
unique_toolkit/chat/__init__.py,sha256=1prdTVfLOf6NgU-Aa1VIO-XiR6OYuRm51LaVRfKDCqc,267
|
12
12
|
unique_toolkit/chat/schemas.py,sha256=IHOnb3pWlRlSPoEUWBTl6LK8YeMdlg2iXi9ghyBeiLw,1495
|
13
|
-
unique_toolkit/chat/service.py,sha256=
|
13
|
+
unique_toolkit/chat/service.py,sha256=aS_cm42WBcrQnqVc3DR27RerRu2dGQGPlbXM-SYcKOc,20326
|
14
14
|
unique_toolkit/chat/state.py,sha256=Cjgwv_2vhDFbV69xxsn7SefhaoIAEqLx3ferdVFCnOg,1445
|
15
15
|
unique_toolkit/chat/utils.py,sha256=ihm-wQykBWhB4liR3LnwPVPt_qGW6ETq21Mw4HY0THE,854
|
16
16
|
unique_toolkit/content/__init__.py,sha256=MSH2sxjQyKD2Sef92fzE5Dt9SihdzivB6yliSwJfTmQ,890
|
@@ -26,7 +26,7 @@ unique_toolkit/language_model/infos.py,sha256=ETAUV0YTs6BjwuiTdhKz247CtL0W8Jwo3-
|
|
26
26
|
unique_toolkit/language_model/schemas.py,sha256=sLpE29Ks0zEfhZUQrYOt1Cak2xzQcr9fpTXFDHkfURA,4868
|
27
27
|
unique_toolkit/language_model/service.py,sha256=CvVo5CBa5Ia_fQD3DtJRsVChybuUfGFV5ml2_78_p1I,13395
|
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.24.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
30
|
+
unique_toolkit-0.5.24.dist-info/METADATA,sha256=N63Q5_PfoinaFgt94EqZ3lfCOdKRCEcCbz1vivjBRyg,11938
|
31
|
+
unique_toolkit-0.5.24.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
32
|
+
unique_toolkit-0.5.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|