projectdavid 1.33.32__tar.gz → 1.33.33__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.
Potentially problematic release.
This version of projectdavid might be problematic. Click here for more details.
- {projectdavid-1.33.32 → projectdavid-1.33.33}/CHANGELOG.md +8 -0
- {projectdavid-1.33.32/src/projectdavid.egg-info → projectdavid-1.33.33}/PKG-INFO +2 -2
- {projectdavid-1.33.32 → projectdavid-1.33.33}/pyproject.toml +4 -2
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/messages_client.py +6 -19
- {projectdavid-1.33.32 → projectdavid-1.33.33/src/projectdavid.egg-info}/PKG-INFO +2 -2
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid.egg-info/requires.txt +1 -1
- {projectdavid-1.33.32 → projectdavid-1.33.33}/LICENSE +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/MANIFEST.in +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/README.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/UPDATE-V133.23.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/assistants.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/code_interpretation.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/database.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/database_assistant_example.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/docker_comtainers.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/file_search.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/files.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/function_call_definition.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/function_calls.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/handling_function_calls.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/inference.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/messages.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/runs.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/streams.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/threads.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/tools.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/users.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/vector_store.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/docs/versioning.md +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/setup.cfg +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/__init__.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/_version.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/actions_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/api_key_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/assistants_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/base_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/base_vector_store.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/event_handler.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/file_processor.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/file_search.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/files_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/inference_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/runs.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/synchronous_inference_wrapper.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/threads_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/tools_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/users_client.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/vector_store_manager.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/vectors.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/vision-file_processor.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/vision_vectors.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/constants/platform.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/decorators.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/entity.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/events.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/serializers.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/services/logging_service.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/synthesis/__init__.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/synthesis/llm_synthesizer.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/synthesis/prompt.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/synthesis/reranker.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/synthesis/retriever.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/__init__.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/function_call_suppressor.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/monitor_launcher.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/peek_gate.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/run_monitor.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/vector_search_formatter.py +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid.egg-info/SOURCES.txt +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid.egg-info/dependency_links.txt +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid.egg-info/top_level.txt +0 -0
- {projectdavid-1.33.32 → projectdavid-1.33.33}/tests/test_clients.py +0 -0
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.33.33](https://github.com/frankie336/projectdavid/compare/v1.33.32...v1.33.33) (2025-07-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* wrap delete_message in a return envelope ([7ed1815](https://github.com/frankie336/projectdavid/commit/7ed18155b85d39cbecf0354c16b2a8a20131b9e2))
|
|
7
|
+
* wrap delete_message in a return envelope ([3e9e6fb](https://github.com/frankie336/projectdavid/commit/3e9e6fbb93ec0670c0e9a39b7eb446bcb1e7df40))
|
|
8
|
+
|
|
1
9
|
## [1.33.32](https://github.com/frankie336/projectdavid/compare/v1.33.31...v1.33.32) (2025-07-09)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: projectdavid
|
|
3
|
-
Version: 1.33.
|
|
3
|
+
Version: 1.33.33
|
|
4
4
|
Summary: Python SDK for interacting with the Entities Assistant API.
|
|
5
5
|
Author-email: Francis Neequaye Armah <francis.neequaye@projectdavid.co.uk>
|
|
6
6
|
License: PolyForm Noncommercial License 1.0.0
|
|
@@ -20,7 +20,7 @@ Requires-Dist: pydantic<3.0,>=2.0
|
|
|
20
20
|
Requires-Dist: python-dotenv<2.0,>=1.0.1
|
|
21
21
|
Requires-Dist: aiofiles<25.0,>=23.2.1
|
|
22
22
|
Requires-Dist: ollama<0.5.0,>=0.4.4
|
|
23
|
-
Requires-Dist: projectdavid_common==0.17.
|
|
23
|
+
Requires-Dist: projectdavid_common==0.17.11
|
|
24
24
|
Requires-Dist: qdrant-client<2.0.0,>=1.0.0
|
|
25
25
|
Requires-Dist: pdfplumber<0.12.0,>=0.11.0
|
|
26
26
|
Requires-Dist: validators<0.35.0,>=0.29.0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "projectdavid"
|
|
7
|
-
version = "1.33.
|
|
7
|
+
version = "1.33.33"
|
|
8
8
|
description = "Python SDK for interacting with the Entities Assistant API."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -20,7 +20,7 @@ dependencies = [
|
|
|
20
20
|
"python-dotenv>=1.0.1,<2.0",
|
|
21
21
|
"aiofiles>=23.2.1,<25.0",
|
|
22
22
|
"ollama>=0.4.4,<0.5.0",
|
|
23
|
-
"projectdavid_common==0.17.
|
|
23
|
+
"projectdavid_common==0.17.11",
|
|
24
24
|
"qdrant-client>=1.0.0,<2.0.0",
|
|
25
25
|
"pdfplumber>=0.11.0,<0.12.0",
|
|
26
26
|
"validators>=0.29.0,<0.35.0",
|
|
@@ -67,6 +67,7 @@ vision = [
|
|
|
67
67
|
"torchaudio>=2.2.1",
|
|
68
68
|
|
|
69
69
|
# OpenCLIP + captioning stack
|
|
70
|
+
|
|
70
71
|
"open_clip_torch>=2.24",
|
|
71
72
|
"pillow>=10.2",
|
|
72
73
|
"transformers>=4.41",
|
|
@@ -77,6 +78,7 @@ vision = [
|
|
|
77
78
|
|
|
78
79
|
# Geolocation package pending release (uncomment when available)
|
|
79
80
|
# "geoloc-regio-net>=0.2.0 ; extra == 'vision'",
|
|
81
|
+
|
|
80
82
|
]
|
|
81
83
|
|
|
82
84
|
[tool.isort]
|
|
@@ -292,32 +292,19 @@ class MessagesClient(BaseAPIClient):
|
|
|
292
292
|
logging_utility.error("An error occurred: %s", str(e))
|
|
293
293
|
raise RuntimeError(f"An error occurred: {str(e)}")
|
|
294
294
|
|
|
295
|
-
def delete_message(self, message_id: str) ->
|
|
296
|
-
"""
|
|
297
|
-
Delete a message by its ID.
|
|
298
|
-
|
|
299
|
-
Args:
|
|
300
|
-
message_id (str): The ID of the message.
|
|
301
|
-
|
|
302
|
-
Returns:
|
|
303
|
-
Dict[str, Any]: The deletion result.
|
|
304
|
-
"""
|
|
295
|
+
def delete_message(self, message_id: str) -> ent_validator.MessageDeleted:
|
|
296
|
+
"""Delete a message and return deletion envelope."""
|
|
305
297
|
logging_utility.info("Deleting message with id: %s", message_id)
|
|
306
298
|
try:
|
|
307
299
|
response = self.client.delete(f"/v1/messages/{message_id}")
|
|
308
300
|
response.raise_for_status()
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
return result
|
|
301
|
+
return ent_validator.MessageDeleted(**response.json())
|
|
302
|
+
|
|
312
303
|
except httpx.HTTPStatusError as e:
|
|
313
|
-
logging_utility.error(
|
|
314
|
-
"HTTP error occurred while deleting message: %s", str(e)
|
|
315
|
-
)
|
|
304
|
+
logging_utility.error("HTTP error while deleting message: %s", str(e))
|
|
316
305
|
raise
|
|
317
306
|
except Exception as e:
|
|
318
|
-
logging_utility.error(
|
|
319
|
-
"An error occurred while deleting message: %s", str(e)
|
|
320
|
-
)
|
|
307
|
+
logging_utility.error("Unexpected error while deleting message: %s", str(e))
|
|
321
308
|
raise
|
|
322
309
|
|
|
323
310
|
def save_assistant_message_chunk(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: projectdavid
|
|
3
|
-
Version: 1.33.
|
|
3
|
+
Version: 1.33.33
|
|
4
4
|
Summary: Python SDK for interacting with the Entities Assistant API.
|
|
5
5
|
Author-email: Francis Neequaye Armah <francis.neequaye@projectdavid.co.uk>
|
|
6
6
|
License: PolyForm Noncommercial License 1.0.0
|
|
@@ -20,7 +20,7 @@ Requires-Dist: pydantic<3.0,>=2.0
|
|
|
20
20
|
Requires-Dist: python-dotenv<2.0,>=1.0.1
|
|
21
21
|
Requires-Dist: aiofiles<25.0,>=23.2.1
|
|
22
22
|
Requires-Dist: ollama<0.5.0,>=0.4.4
|
|
23
|
-
Requires-Dist: projectdavid_common==0.17.
|
|
23
|
+
Requires-Dist: projectdavid_common==0.17.11
|
|
24
24
|
Requires-Dist: qdrant-client<2.0.0,>=1.0.0
|
|
25
25
|
Requires-Dist: pdfplumber<0.12.0,>=0.11.0
|
|
26
26
|
Requires-Dist: validators<0.35.0,>=0.29.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/vector_store_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/clients/vision-file_processor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/function_call_suppressor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid/utils/vector_search_formatter.py
RENAMED
|
File without changes
|
|
File without changes
|
{projectdavid-1.33.32 → projectdavid-1.33.33}/src/projectdavid.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|