unique_toolkit 0.5.18__tar.gz → 0.5.19__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 (33) hide show
  1. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/CHANGELOG.md +3 -0
  2. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/PKG-INFO +4 -1
  3. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/pyproject.toml +1 -1
  4. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/language_model/schemas.py +1 -1
  5. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/LICENSE +0 -0
  6. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/README.md +0 -0
  7. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/__init__.py +0 -0
  8. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/_common/_base_service.py +0 -0
  9. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/_common/_time_utils.py +0 -0
  10. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/__init__.py +0 -0
  11. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/init_logging.py +0 -0
  12. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/init_sdk.py +0 -0
  13. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/performance/async_tasks.py +0 -0
  14. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/performance/async_wrapper.py +0 -0
  15. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/schemas.py +0 -0
  16. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/app/verification.py +0 -0
  17. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/chat/__init__.py +0 -0
  18. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/chat/schemas.py +0 -0
  19. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/chat/service.py +0 -0
  20. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/chat/state.py +0 -0
  21. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/chat/utils.py +0 -0
  22. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/content/__init__.py +0 -0
  23. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/content/schemas.py +0 -0
  24. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/content/service.py +0 -0
  25. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/content/utils.py +0 -0
  26. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/embedding/__init__.py +0 -0
  27. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/embedding/schemas.py +0 -0
  28. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/embedding/service.py +0 -0
  29. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/embedding/utils.py +0 -0
  30. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/language_model/__init__.py +0 -0
  31. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/language_model/infos.py +0 -0
  32. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/language_model/service.py +0 -0
  33. {unique_toolkit-0.5.18 → unique_toolkit-0.5.19}/unique_toolkit/language_model/utils.py +0 -0
@@ -5,6 +5,9 @@ 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.19] - 2024-09-11
9
+ - `LanguageModelMessage` now supports content as a list of dictionnary. Useful when adding image_url content along user message.
10
+
8
11
  ## [0.5.18] - 2024-09-03
9
12
  - Adds option to use `metadata_filter` with search.
10
13
  - Adds `user_metadata`, `tool_parameters` and `metadata_filter` to `EventPayload`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.5.18
3
+ Version: 0.5.19
4
4
  Summary:
5
5
  License: MIT
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.19] - 2024-09-11
104
+ - `LanguageModelMessage` now supports content as a list of dictionnary. Useful when adding image_url content along user message.
105
+
103
106
  ## [0.5.18] - 2024-09-03
104
107
  - Adds option to use `metadata_filter` with search.
105
108
  - Adds `user_metadata`, `tool_parameters` and `metadata_filter` to `EventPayload`.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "unique_toolkit"
3
- version = "0.5.18"
3
+ version = "0.5.19"
4
4
  description = ""
5
5
  authors = [
6
6
  "Martin Fadler <martin.fadler@unique.ch>",
@@ -43,7 +43,7 @@ class LanguageModelMessage(BaseModel):
43
43
  model_config = model_config
44
44
 
45
45
  role: LanguageModelMessageRole
46
- content: Optional[str] = None
46
+ content: Optional[str | list[dict]] = None
47
47
  name: Optional[str] = None
48
48
  tool_calls: Optional[list[LanguageModelFunctionCall]] = None
49
49
 
File without changes