projectdavid 1.32.10__tar.gz → 1.32.12__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.32.10 → projectdavid-1.32.12}/CHANGELOG.md +15 -0
- {projectdavid-1.32.10/src/projectdavid.egg-info → projectdavid-1.32.12}/PKG-INFO +1 -1
- {projectdavid-1.32.10 → projectdavid-1.32.12}/pyproject.toml +1 -1
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/synchronous_inference_wrapper.py +16 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12/src/projectdavid.egg-info}/PKG-INFO +1 -1
- {projectdavid-1.32.10 → projectdavid-1.32.12}/LICENSE +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/MANIFEST.in +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/README.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/assistants.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/code_interpretation.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/database.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/database_assistant_example.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/docker_comtainers.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/file_search.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/files.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/function_call_definition.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/function_calls.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/handling_function_calls.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/inference.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/messages.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/runs.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/streams.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/threads.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/tools.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/users.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/vector_store.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/docs/versioning.md +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/setup.cfg +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/__init__.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/_version.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/actions_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/api_key_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/assistants_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/base_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/base_vector_store.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/event_handler.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/file_processor.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/file_search.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/files_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/inference_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/messages_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/runs.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/threads_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/tools_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/users_client.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/vector_store_manager.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/vectors.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/constants/platform.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/entity.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/events.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/serializers.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/services/logging_service.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/synthesis/__init__.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/synthesis/llm_synthesizer.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/synthesis/prompt.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/synthesis/reranker.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/synthesis/retriever.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/__init__.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/function_call_suppressor.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/monitor_launcher.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/peek_gate.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/run_monitor.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/vector_search_formatter.py +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid.egg-info/SOURCES.txt +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid.egg-info/dependency_links.txt +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid.egg-info/requires.txt +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid.egg-info/top_level.txt +0 -0
- {projectdavid-1.32.10 → projectdavid-1.32.12}/tests/test_clients.py +0 -0
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.32.12](https://github.com/frankie336/projectdavid/compare/v1.32.11...v1.32.12) (2025-06-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Filter and supress file_search inline ([9dad4b0](https://github.com/frankie336/projectdavid/commit/9dad4b017215c2c0941835827ba4fd20174298da))
|
|
7
|
+
* Filter and supress file_search inline-3 ([7077439](https://github.com/frankie336/projectdavid/commit/70774397fd3eaebbfe00fd1b4e8bb1792b1400c3))
|
|
8
|
+
|
|
9
|
+
## [1.32.11](https://github.com/frankie336/projectdavid/compare/v1.32.10...v1.32.11) (2025-06-08)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* Filter and supress file_search inline ([03d5262](https://github.com/frankie336/projectdavid/commit/03d5262081cac65570796fb5c98a8fecc6242c71))
|
|
15
|
+
|
|
1
16
|
## [1.32.10](https://github.com/frankie336/projectdavid/compare/v1.32.9...v1.32.10) (2025-06-08)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: projectdavid
|
|
3
|
-
Version: 1.32.
|
|
3
|
+
Version: 1.32.12
|
|
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
|
|
@@ -97,6 +97,12 @@ class SynchronousInferenceStream:
|
|
|
97
97
|
LOG.debug("[SUPPRESSOR] blocked provider-labelled function_call")
|
|
98
98
|
continue
|
|
99
99
|
|
|
100
|
+
if suppress_fc and isinstance(chunk.get("content"), str):
|
|
101
|
+
chunk["content"] = _filter_text(chunk["content"])
|
|
102
|
+
if chunk["content"] == "":
|
|
103
|
+
# fully suppressed (either buffering or an <fc> block)
|
|
104
|
+
continue
|
|
105
|
+
|
|
100
106
|
# ------------------------------------------------------
|
|
101
107
|
# allow the assistants response1 to bypass suppression
|
|
102
108
|
# -------------------------------------------------------
|
|
@@ -126,7 +132,9 @@ class SynchronousInferenceStream:
|
|
|
126
132
|
yield chunk
|
|
127
133
|
continue
|
|
128
134
|
|
|
135
|
+
# ---------------------------------
|
|
129
136
|
# inline content
|
|
137
|
+
# ----------------------------------
|
|
130
138
|
if isinstance(chunk.get("content"), str):
|
|
131
139
|
chunk["content"] = _filter_text(chunk["content"])
|
|
132
140
|
if chunk["content"] == "":
|
|
@@ -140,6 +148,14 @@ class SynchronousInferenceStream:
|
|
|
140
148
|
LOG.debug("[SUPPRESSOR] inline code_interpreter match blocked")
|
|
141
149
|
continue
|
|
142
150
|
|
|
151
|
+
if (
|
|
152
|
+
suppress_fc
|
|
153
|
+
and '"name": "file_search"' in chunk["content"]
|
|
154
|
+
and '"arguments": {"query_text"' in chunk["content"]
|
|
155
|
+
):
|
|
156
|
+
LOG.debug("[SUPPRESSOR] inline file_search match blocked")
|
|
157
|
+
continue
|
|
158
|
+
|
|
143
159
|
yield chunk
|
|
144
160
|
|
|
145
161
|
except StopAsyncIteration:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: projectdavid
|
|
3
|
-
Version: 1.32.
|
|
3
|
+
Version: 1.32.12
|
|
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
|
|
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.32.10 → projectdavid-1.32.12}/src/projectdavid/clients/vector_store_manager.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
|
{projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/function_call_suppressor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid/utils/vector_search_formatter.py
RENAMED
|
File without changes
|
|
File without changes
|
{projectdavid-1.32.10 → projectdavid-1.32.12}/src/projectdavid.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|