unique_toolkit 0.5.0__py3-none-any.whl → 0.5.2__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.
@@ -32,7 +32,7 @@ class EventAssistantMessage(BaseModel):
32
32
  class EventPayload(BaseModel):
33
33
  model_config = model_config
34
34
 
35
- name: EventName
35
+ name: str
36
36
  description: str
37
37
  configuration: dict[str, Any]
38
38
  chat_id: str
@@ -46,7 +46,7 @@ class Event(BaseModel):
46
46
  model_config = model_config
47
47
 
48
48
  id: str
49
- event: str
49
+ event: EventName
50
50
  user_id: str
51
51
  company_id: str
52
52
  payload: EventPayload
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -33,9 +33,9 @@ The Toolkit is structured along the following domains:
33
33
 
34
34
  Each domain comprises a service class (in `service.py`) which encapsulates the basic functionalities to interact with the domain entities, the schemas
35
35
  (in `schemas.py`) used in the service and required for interacting with the service functions, utility functions (in `utils.py`) which give additional
36
- functionality to interact with the domain entities (all domains except Embedding) and other domain specific functionalities which are explained in the respective domain documentation.
36
+ functionality to interact with the domain entities (all domains except embedding) and other domain specific functionalities which are explained in the respective domain documentation.
37
37
 
38
- In addition, the `app` module provides functions to initialize and secure apps and perform parallel reuqests (only with async app like Flask) that will interact with the Unique platform.
38
+ In addition, the `unique_toolkit.app` module provides functions to initialize apps that interact with the Unique platform. It also includes some utility functions to run async tasks in parallel (async webserver and app implementation required).
39
39
 
40
40
  ## Changelog
41
41
 
@@ -102,6 +102,12 @@ 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.2] - 2024-07-25
106
+ - correct event schema
107
+
108
+ ## [0.5.1] - 2024-07-23
109
+ - correct documentation
110
+
105
111
  ## [0.5.0] - 2024-07-23
106
112
  ### Added
107
113
  - Added `unique_toolkit.app` module with the following components:
@@ -3,7 +3,7 @@ unique_toolkit/app/init_logging.py,sha256=Sh26SRxOj8i8dzobKhYha2lLrkrMTHfB1V4jR3
3
3
  unique_toolkit/app/init_sdk.py,sha256=Nv4Now4pMfM0AgRhbtatLpm_39rKxn0WmRLwmPhRl-8,1285
4
4
  unique_toolkit/app/performance/async_executor.py,sha256=ImekDRWkFeXuIYFnCpSJAqE0RP-liK-5R8_buZGqYaE,6435
5
5
  unique_toolkit/app/performance/async_wrapper.py,sha256=Xli5zH9RFdbBJnlBQS_kP7TGqXhPNou5WKst4FLWzGo,770
6
- unique_toolkit/app/schemas.py,sha256=2PYnMmH3eBzmlIhHHir44WN5YHGYlUWEpdY7fyQkK8E,1098
6
+ unique_toolkit/app/schemas.py,sha256=UAbIkrgdqwWEwKqnJwB4TNQWuJgEsFzDxqJbEC8xcOc,1098
7
7
  unique_toolkit/app/verification.py,sha256=UZqTHg3PX_QxMjeLH_BVBYoMVqMnMpeMoqvyTBKDqj8,1996
8
8
  unique_toolkit/chat/schemas.py,sha256=aEXf0tX1ljHjb73jy1pilUKivrvle54iDLiyQ093u7c,794
9
9
  unique_toolkit/chat/service.py,sha256=zxMoOMKlLJNwtRAO8GCpX9tGwVUsbgHWEPWztGe6htw,12300
@@ -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.0.dist-info/LICENSE,sha256=bIeCWCYuoUU_MzNdg48-ubJSVm7qxakaRbzTiJ5uxrs,1065
22
- unique_toolkit-0.5.0.dist-info/METADATA,sha256=ergIV1hZagTWvuEmSuIrY9CBKqe6WLi7VYNP-XZ7-P4,7956
23
- unique_toolkit-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
24
- unique_toolkit-0.5.0.dist-info/RECORD,,
21
+ unique_toolkit-0.5.2.dist-info/LICENSE,sha256=bIeCWCYuoUU_MzNdg48-ubJSVm7qxakaRbzTiJ5uxrs,1065
22
+ unique_toolkit-0.5.2.dist-info/METADATA,sha256=LrqTXW8D5uyo8pgqRfiI7V2CAKP25h2F9QeTQ3UBsZU,8110
23
+ unique_toolkit-0.5.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
24
+ unique_toolkit-0.5.2.dist-info/RECORD,,