unique_toolkit 0.5.8__tar.gz → 0.5.10__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 (26) hide show
  1. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/CHANGELOG.md +6 -0
  2. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/PKG-INFO +7 -1
  3. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/pyproject.toml +2 -1
  4. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/content/schemas.py +2 -0
  5. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/content/service.py +2 -0
  6. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/LICENSE +0 -0
  7. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/README.md +0 -0
  8. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/__init__.py +0 -0
  9. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/_common/_base_service.py +0 -0
  10. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/app/init_logging.py +0 -0
  11. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/app/init_sdk.py +0 -0
  12. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/app/performance/async_tasks.py +0 -0
  13. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/app/performance/async_wrapper.py +0 -0
  14. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/app/schemas.py +0 -0
  15. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/app/verification.py +0 -0
  16. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/chat/schemas.py +0 -0
  17. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/chat/service.py +0 -0
  18. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/chat/state.py +0 -0
  19. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/chat/utils.py +0 -0
  20. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/content/utils.py +0 -0
  21. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/embedding/schemas.py +0 -0
  22. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/embedding/service.py +0 -0
  23. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/language_model/infos.py +0 -0
  24. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/language_model/schemas.py +0 -0
  25. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/unique_toolkit/language_model/service.py +0 -0
  26. {unique_toolkit-0.5.8 → unique_toolkit-0.5.10}/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.10] - 2024-08-6
9
+ - fix content schema
10
+
11
+ ## [0.5.9] - 2024-08-6
12
+ - added `created_at` and `updated_at` to content schema
13
+
8
14
  ## [0.5.8] - 2024-08-1
9
15
  - `RerankerConfig` serialization alias added
10
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 0.5.8
3
+ Version: 0.5.10
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Martin Fadler
@@ -101,6 +101,12 @@ All notable changes to this project will be documented in this file.
101
101
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
102
102
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
103
103
 
104
+ ## [0.5.10] - 2024-08-6
105
+ - fix content schema
106
+
107
+ ## [0.5.9] - 2024-08-6
108
+ - added `created_at` and `updated_at` to content schema
109
+
104
110
  ## [0.5.8] - 2024-08-1
105
111
  - `RerankerConfig` serialization alias added
106
112
 
@@ -1,6 +1,7 @@
1
1
  [tool.poetry]
2
2
  name = "unique_toolkit"
3
- version = "0.5.8"
3
+ version = "0.5.10"
4
+
4
5
  description = ""
5
6
  authors = [
6
7
  "Martin Fadler <martin.fadler@unique.ch>",
@@ -47,6 +47,8 @@ class Content(BaseModel):
47
47
  chunks: list[ContentChunk] = []
48
48
  write_url: str | None = None
49
49
  read_url: str | None = None
50
+ created_at: datetime | None = None
51
+ updated_at: datetime | None = None
50
52
 
51
53
 
52
54
  class ContentReference(BaseModel):
@@ -212,6 +212,8 @@ class ContentService(BaseService):
212
212
  title=content["title"],
213
213
  url=content["url"],
214
214
  chunks=[self._map_content_chunk(chunk) for chunk in content["chunks"]],
215
+ created_at=content["createdAt"],
216
+ updated_at=content["updatedAt"],
215
217
  )
216
218
 
217
219
  def _map_contents(self, contents):
File without changes