projectdavid 1.33.25__py3-none-any.whl → 1.33.27__py3-none-any.whl
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/clients/assistants_client.py +7 -11
- {projectdavid-1.33.25.dist-info → projectdavid-1.33.27.dist-info}/METADATA +2 -2
- {projectdavid-1.33.25.dist-info → projectdavid-1.33.27.dist-info}/RECORD +6 -6
- {projectdavid-1.33.25.dist-info → projectdavid-1.33.27.dist-info}/WHEEL +0 -0
- {projectdavid-1.33.25.dist-info → projectdavid-1.33.27.dist-info}/licenses/LICENSE +0 -0
- {projectdavid-1.33.25.dist-info → projectdavid-1.33.27.dist-info}/top_level.txt +0 -0
|
@@ -263,14 +263,10 @@ class AssistantsClient(BaseAPIClient):
|
|
|
263
263
|
)
|
|
264
264
|
return {"message": "Assistant disassociated from user successfully"}
|
|
265
265
|
|
|
266
|
-
def
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
return [ent_validator.AssistantRead(**a) for a in raw_list]
|
|
274
|
-
except ValidationError as e:
|
|
275
|
-
logging_utility.error("Validation error: %s", e.json())
|
|
276
|
-
raise AssistantsClientError(f"Validation error: {e}") from e
|
|
266
|
+
def list(self) -> list[ent_validator.AssistantRead]:
|
|
267
|
+
"""Return every assistant owned by *this* API key."""
|
|
268
|
+
logging_utility.info("Listing assistants")
|
|
269
|
+
|
|
270
|
+
resp = self._request_with_retries("GET", "/v1/assistants")
|
|
271
|
+
raw = self._parse_response(resp)
|
|
272
|
+
return [ent_validator.AssistantRead(**a) for a in raw]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: projectdavid
|
|
3
|
-
Version: 1.33.
|
|
3
|
+
Version: 1.33.27
|
|
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.3
|
|
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
|
|
@@ -6,7 +6,7 @@ projectdavid/events.py,sha256=m_vu5BgphrM6dpBmnkTXK8jczwyYXO1UwXXI9340vjQ,720
|
|
|
6
6
|
projectdavid/serializers.py,sha256=OdipJGXGGjRoZBcPkpmHSDgsNptXUg0CMn2TQoCZIOI,1723
|
|
7
7
|
projectdavid/clients/actions_client.py,sha256=9DVkQzRA3wQ7DIHR1ab6VFQYcIkhExAQz1-EK8MEt2c,17006
|
|
8
8
|
projectdavid/clients/api_key_client.py,sha256=8O1lkvb97WhB8V9jdPmleJ5jqWVuXJrnlBNB-u3vlwc,12650
|
|
9
|
-
projectdavid/clients/assistants_client.py,sha256=
|
|
9
|
+
projectdavid/clients/assistants_client.py,sha256=5fJZbqo6yAuzmoROVF76UqS4ZkvZHapDWQ33YzVDwRk,11099
|
|
10
10
|
projectdavid/clients/base_client.py,sha256=UWl6nr6sxD1_xC6iyptQDR1tnNdFCOrEx5cEUPCRqJE,3417
|
|
11
11
|
projectdavid/clients/base_vector_store.py,sha256=jXivmqAW1bgYcLgIeW-hPxOiWZbs2hCsLy4oWzSvpNI,2061
|
|
12
12
|
projectdavid/clients/event_handler.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -37,8 +37,8 @@ projectdavid/utils/monitor_launcher.py,sha256=3YAgJdeuaUvq3JGvpA4ymqFsAnk29nH5q9
|
|
|
37
37
|
projectdavid/utils/peek_gate.py,sha256=5whMRnDOQjATRpThWDJkvY9ScXuJ7Sd_-9rvGgXeTAQ,2532
|
|
38
38
|
projectdavid/utils/run_monitor.py,sha256=F_WkqIP-qnWH-4llIbileWWLfRj2Q1Cg-ni23SR1rec,3786
|
|
39
39
|
projectdavid/utils/vector_search_formatter.py,sha256=YTe3HPGec26qGY7uxY8_GS8lc4QaN6aNXMzkl29nZpI,1735
|
|
40
|
-
projectdavid-1.33.
|
|
41
|
-
projectdavid-1.33.
|
|
42
|
-
projectdavid-1.33.
|
|
43
|
-
projectdavid-1.33.
|
|
44
|
-
projectdavid-1.33.
|
|
40
|
+
projectdavid-1.33.27.dist-info/licenses/LICENSE,sha256=_8yjiEGttpS284BkfhXxfERqTRZW_tUaHiBB0GTJTMg,4563
|
|
41
|
+
projectdavid-1.33.27.dist-info/METADATA,sha256=GwStjlMI4u9erXecpJqzPW-Mf1VJ83TTR8sVp9wWns8,11555
|
|
42
|
+
projectdavid-1.33.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
43
|
+
projectdavid-1.33.27.dist-info/top_level.txt,sha256=kil8GU4s7qYRfNnzGnFHhZnSNRSxgNG-J4HLgQMmMtw,13
|
|
44
|
+
projectdavid-1.33.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|