unique_toolkit 0.5.2__tar.gz → 0.5.4__tar.gz

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.
Files changed (25) hide show
  1. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/CHANGELOG.md +6 -0
  2. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/PKG-INFO +8 -2
  3. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/pyproject.toml +2 -2
  4. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/chat/schemas.py +1 -1
  5. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/content/service.py +0 -2
  6. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/LICENSE +0 -0
  7. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/README.md +0 -0
  8. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/__init__.py +0 -0
  9. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/app/init_logging.py +0 -0
  10. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/app/init_sdk.py +0 -0
  11. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/app/performance/async_executor.py +0 -0
  12. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/app/performance/async_wrapper.py +0 -0
  13. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/app/schemas.py +0 -0
  14. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/app/verification.py +0 -0
  15. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/chat/service.py +0 -0
  16. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/chat/state.py +0 -0
  17. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/chat/utils.py +0 -0
  18. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/content/schemas.py +0 -0
  19. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/content/utils.py +0 -0
  20. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/embedding/schemas.py +0 -0
  21. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/embedding/service.py +0 -0
  22. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/language_model/infos.py +0 -0
  23. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/language_model/schemas.py +0 -0
  24. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/language_model/service.py +0 -0
  25. {unique_toolkit-0.5.2 → unique_toolkit-0.5.4}/unique_toolkit/language_model/utils.py +0 -0
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.4] - 2024-07-26
9
+ - correct ChatMessage schema
10
+
11
+ ## [0.5.3] - 2024-07-25
12
+ - downgrade numpy version to ^1.26.4 to be compatible with langchain libraries (require numpy<2.0)
13
+
8
14
  ## [0.5.2] - 2024-07-25
9
15
  - correct event schema
10
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.5.2
3
+ Version: 0.5.4
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -10,7 +10,7 @@ Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
- Requires-Dist: numpy (>=2.0.1,<3.0.0)
13
+ Requires-Dist: numpy (>=1.26.4,<2.0.0)
14
14
  Requires-Dist: pydantic (>=2.8.2,<3.0.0)
15
15
  Requires-Dist: pyhumps (>=3.8.0,<4.0.0)
16
16
  Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
@@ -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.4] - 2024-07-26
106
+ - correct ChatMessage schema
107
+
108
+ ## [0.5.3] - 2024-07-25
109
+ - downgrade numpy version to ^1.26.4 to be compatible with langchain libraries (require numpy<2.0)
110
+
105
111
  ## [0.5.2] - 2024-07-25
106
112
  - correct event schema
107
113
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "unique_toolkit"
3
- version = "0.5.2"
3
+ version = "0.5.4"
4
4
  description = ""
5
5
  authors = [
6
6
  "Martin Fadler <martin.fadler@unique.ch>",
@@ -17,7 +17,7 @@ typing-extensions = "^4.9.0"
17
17
  pydantic = "^2.8.2"
18
18
  pyhumps = "^3.8.0"
19
19
  unique-sdk = "^0.8.10"
20
- numpy = "^2.0.1"
20
+ numpy = "^1.26.4"
21
21
  python-dotenv = "^1.0.1"
22
22
  requests = "^2.32.3"
23
23
  regex = "^2024.5.15"
@@ -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
@@ -323,8 +323,6 @@ class ContentService:
323
323
  Exception: If the download fails.
324
324
  """
325
325
 
326
- print("download chat id", chat_id)
327
-
328
326
  url = f"{unique_sdk.api_base}/content/{content_id}/file"
329
327
  if chat_id:
330
328
  url = f"{url}?chatId={chat_id}"
File without changes
File without changes