projectdavid 1.33.9__tar.gz → 1.39.3__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 (75) hide show
  1. {projectdavid-1.33.9 → projectdavid-1.39.3}/CHANGELOG.md +358 -0
  2. {projectdavid-1.33.9/src/projectdavid.egg-info → projectdavid-1.39.3}/PKG-INFO +6 -24
  3. {projectdavid-1.33.9 → projectdavid-1.39.3}/README.md +4 -4
  4. projectdavid-1.39.3/docs/UPDATE-V133.23.md +153 -0
  5. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/assistants.md +1 -0
  6. projectdavid-1.39.3/docs/inference.md +116 -0
  7. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/runs.md +4 -0
  8. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/threads.md +1 -1
  9. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/vector_store.md +82 -19
  10. {projectdavid-1.33.9 → projectdavid-1.39.3}/pyproject.toml +4 -30
  11. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/actions_client.py +18 -9
  12. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/assistants_client.py +7 -13
  13. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/file_processor.py +109 -250
  14. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/messages_client.py +42 -43
  15. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/runs.py +160 -211
  16. projectdavid-1.39.3/src/projectdavid/clients/synchronous_inference_wrapper.py +132 -0
  17. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/threads_client.py +32 -12
  18. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/vector_store_manager.py +87 -36
  19. projectdavid-1.39.3/src/projectdavid/clients/vectors.py +815 -0
  20. projectdavid-1.39.3/src/projectdavid/clients/vision-file_processor.py +461 -0
  21. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/entity.py +17 -4
  22. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/synthesis/reranker.py +4 -2
  23. {projectdavid-1.33.9 → projectdavid-1.39.3/src/projectdavid.egg-info}/PKG-INFO +6 -24
  24. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid.egg-info/SOURCES.txt +3 -1
  25. projectdavid-1.39.3/src/projectdavid.egg-info/requires.txt +22 -0
  26. projectdavid-1.33.9/docs/inference.md +0 -7
  27. projectdavid-1.33.9/src/projectdavid/clients/synchronous_inference_wrapper.py +0 -159
  28. projectdavid-1.33.9/src/projectdavid/utils/peek_gate.py +0 -71
  29. projectdavid-1.33.9/src/projectdavid.egg-info/requires.txt +0 -41
  30. {projectdavid-1.33.9 → projectdavid-1.39.3}/LICENSE +0 -0
  31. {projectdavid-1.33.9 → projectdavid-1.39.3}/MANIFEST.in +0 -0
  32. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/code_interpretation.md +0 -0
  33. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/database.md +0 -0
  34. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/database_assistant_example.md +0 -0
  35. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/docker_comtainers.md +0 -0
  36. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/file_search.md +0 -0
  37. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/files.md +0 -0
  38. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/function_call_definition.md +0 -0
  39. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/function_calls.md +0 -0
  40. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/handling_function_calls.md +0 -0
  41. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/messages.md +0 -0
  42. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/streams.md +0 -0
  43. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/tools.md +0 -0
  44. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/users.md +0 -0
  45. {projectdavid-1.33.9 → projectdavid-1.39.3}/docs/versioning.md +0 -0
  46. {projectdavid-1.33.9 → projectdavid-1.39.3}/setup.cfg +0 -0
  47. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/__init__.py +0 -0
  48. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/_version.py +0 -0
  49. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/api_key_client.py +0 -0
  50. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/base_client.py +0 -0
  51. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/base_vector_store.py +0 -0
  52. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/event_handler.py +0 -0
  53. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/file_search.py +0 -0
  54. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/files_client.py +0 -0
  55. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/inference_client.py +0 -0
  56. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/tools_client.py +0 -0
  57. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/clients/users_client.py +0 -0
  58. /projectdavid-1.33.9/src/projectdavid/clients/vectors.py → /projectdavid-1.39.3/src/projectdavid/clients/vision_vectors.py +0 -0
  59. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/constants/platform.py +0 -0
  60. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/decorators.py +0 -0
  61. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/events.py +0 -0
  62. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/serializers.py +0 -0
  63. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/services/logging_service.py +0 -0
  64. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/synthesis/__init__.py +0 -0
  65. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/synthesis/llm_synthesizer.py +0 -0
  66. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/synthesis/prompt.py +0 -0
  67. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/synthesis/retriever.py +0 -0
  68. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/utils/__init__.py +0 -0
  69. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/utils/function_call_suppressor.py +0 -0
  70. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/utils/monitor_launcher.py +0 -0
  71. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/utils/run_monitor.py +0 -0
  72. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid/utils/vector_search_formatter.py +0 -0
  73. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid.egg-info/dependency_links.txt +0 -0
  74. {projectdavid-1.33.9 → projectdavid-1.39.3}/src/projectdavid.egg-info/top_level.txt +0 -0
  75. {projectdavid-1.33.9 → projectdavid-1.39.3}/tests/test_clients.py +0 -0
@@ -1,3 +1,361 @@
1
+ ## [1.39.3](https://github.com/frankie336/projectdavid/compare/v1.39.2...v1.39.3) (2026-01-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Add tool_call_id param to poll_and_execute_action ([b7ac9c4](https://github.com/frankie336/projectdavid/commit/b7ac9c45b38762021380eecb09abf903085fd6e1))
7
+
8
+ ## [1.39.2](https://github.com/frankie336/projectdavid/compare/v1.39.1...v1.39.2) (2026-01-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update to projectdavid_common==0.21.1 ([4fad973](https://github.com/frankie336/projectdavid/commit/4fad973a49fa93792bcb76d0eb3ce770f1311560))
14
+ * update to projectdavid_common==0.21.1 ([83faf8e](https://github.com/frankie336/projectdavid/commit/83faf8e9f3391646957bd127500555fb981f7d23))
15
+
16
+ ## [1.39.1](https://github.com/frankie336/projectdavid/compare/v1.39.0...v1.39.1) (2026-01-19)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * Add tool_call_id to actions_client.py ([1f7dffd](https://github.com/frankie336/projectdavid/commit/1f7dffd411be5d1a6cbb15d76117ba586796cf10))
22
+ * Add tool_call_id to actions_client.py ([c4d5821](https://github.com/frankie336/projectdavid/commit/c4d58217149bd1fbd53207c746f8f75bb6dbe654))
23
+
24
+ # [1.39.0](https://github.com/frankie336/projectdavid/compare/v1.38.1...v1.39.0) (2026-01-17)
25
+
26
+
27
+ ### Features
28
+
29
+ * Implement 0.20.0 projectdavid_common==0.20.0 ([589939b](https://github.com/frankie336/projectdavid/commit/589939b926768faa1617a80c30069a51ddedcdac))
30
+ * removed unused imports ([743e5c2](https://github.com/frankie336/projectdavid/commit/743e5c21f8b25ef8d9d76f90497ed889bae5e3a0))
31
+
32
+ ## [1.38.1](https://github.com/frankie336/projectdavid/compare/v1.38.0...v1.38.1) (2026-01-17)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * implement explicit action lifecycle management and tool error reporting ([d84a59b](https://github.com/frankie336/projectdavid/commit/d84a59bd5c172f95248f529345e2c2ea7651d1b4))
38
+
39
+ # [1.38.0](https://github.com/frankie336/projectdavid/compare/v1.37.1...v1.38.0) (2026-01-15)
40
+
41
+
42
+ ### Features
43
+
44
+ * cutting back to full fat version. ([9473363](https://github.com/frankie336/projectdavid/commit/9473363167c476501be59958184f5a9b983e566f))
45
+
46
+ ## [1.37.1](https://github.com/frankie336/projectdavid/compare/v1.37.0...v1.37.1) (2026-01-15)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * Implementing light weight projectdavid ([134459d](https://github.com/frankie336/projectdavid/commit/134459d21bd0969175595d1bf565d988882724a3))
52
+ * Implementing light weight projectdavid ([6f5548b](https://github.com/frankie336/projectdavid/commit/6f5548b965c764f7f48fd4bd436eb3da114d5b20))
53
+
54
+ # [1.37.0](https://github.com/frankie336/projectdavid/compare/v1.36.1...v1.37.0) (2026-01-14)
55
+
56
+
57
+ ### Features
58
+
59
+ * **sdk:** refactor streaming logic into a single-pass state machine ([8088dba](https://github.com/frankie336/projectdavid/commit/8088dba46865330ae66a6098dc9eaa1bb85d2282))
60
+ * **sdk:** refactor streaming logic into a single-pass state machine ([afd24b7](https://github.com/frankie336/projectdavid/commit/afd24b7918bc9487db0fdb9ffa34855a23a3a87e))
61
+
62
+ ## [1.36.1](https://github.com/frankie336/projectdavid/compare/v1.36.0...v1.36.1) (2025-10-15)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * Correctly handle optional truncation_strategy in run creation ([ef10d2e](https://github.com/frankie336/projectdavid/commit/ef10d2e67ca13f04feb3b87edf3c956cf0a91e0c))
68
+
69
+ # [1.36.0](https://github.com/frankie336/projectdavid/compare/v1.35.0...v1.36.0) (2025-10-14)
70
+
71
+
72
+ ### Features
73
+
74
+ * **deps:** bump projectdavid_common; align Runs schema + client ([f70d5fc](https://github.com/frankie336/projectdavid/commit/f70d5fcc0164037b78ac0c14d325a5f30d4daa07))
75
+
76
+ # [1.35.0](https://github.com/frankie336/projectdavid/compare/v1.34.13...v1.35.0) (2025-10-13)
77
+
78
+
79
+ ### Features
80
+
81
+ * **deps:** bump projectdavid_common; align Runs schema + client ([23d525e](https://github.com/frankie336/projectdavid/commit/23d525e10a8dd3a4ee39fb3c0e7c0be42832e1a7))
82
+
83
+ ## [1.34.13](https://github.com/frankie336/projectdavid/compare/v1.34.12...v1.34.13) (2025-09-30)
84
+
85
+
86
+ ### Bug Fixes
87
+
88
+ * correct projectdavid_common==0.17.19 ([1a72e36](https://github.com/frankie336/projectdavid/commit/1a72e368ab0228f26c3dae08be0cc9a0b4edfcbe))
89
+
90
+ ## [1.34.12](https://github.com/frankie336/projectdavid/compare/v1.34.11...v1.34.12) (2025-09-30)
91
+
92
+
93
+ ### Bug Fixes
94
+
95
+ * correct projectdavid_common==0.17.19 ([d636c31](https://github.com/frankie336/projectdavid/commit/d636c31066e33bce0332df2538093040ae36f40f))
96
+ * set truncation strategy to auto ([3d00a38](https://github.com/frankie336/projectdavid/commit/3d00a383eb688a51f9d8bbfc66b0a47e52e86b2a))
97
+ * set truncation strategy to auto ([357ec09](https://github.com/frankie336/projectdavid/commit/357ec09bc34ca36d837cae4e279e740074d9756d))
98
+
99
+ ## [1.34.11](https://github.com/frankie336/projectdavid/compare/v1.34.10...v1.34.11) (2025-08-25)
100
+
101
+
102
+ ### Bug Fixes
103
+
104
+ * set tool choice default from 'None' --> None ([0288eb3](https://github.com/frankie336/projectdavid/commit/0288eb30ac173b2fc7323158454a726da7883c81))
105
+ * set tool choice default from 'None' --> None ([dd172b5](https://github.com/frankie336/projectdavid/commit/dd172b5a0d1f08a2aa7ccb1714141f80e2954130))
106
+
107
+ ## [1.34.10](https://github.com/frankie336/projectdavid/compare/v1.34.9...v1.34.10) (2025-08-22)
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * remove redundant epoch helper ([e53c074](https://github.com/frankie336/projectdavid/commit/e53c074f2c50e39bc44ceec911acb42dc9dcc930))
113
+
114
+ ## [1.34.9](https://github.com/frankie336/projectdavid/compare/v1.34.8...v1.34.9) (2025-08-22)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * remove redundant epoch helper ([4d2171a](https://github.com/frankie336/projectdavid/commit/4d2171a5cff841edd33b36027d5648c1d132ffbf))
120
+
121
+ ## [1.34.8](https://github.com/frankie336/projectdavid/compare/v1.34.7...v1.34.8) (2025-08-22)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * set incomplete_details type to string ([2af2d16](https://github.com/frankie336/projectdavid/commit/2af2d16843139884b9878edcd0c5b452a0e28e30))
127
+
128
+ ## [1.34.7](https://github.com/frankie336/projectdavid/compare/v1.34.6...v1.34.7) (2025-08-21)
129
+
130
+
131
+ ### Bug Fixes
132
+
133
+ * Normalize time stamps to epoch integer format instead of datetime. ([43af583](https://github.com/frankie336/projectdavid/commit/43af5830f80d9eafde694449d7119a2da8a8d127))
134
+
135
+ ## [1.34.6](https://github.com/frankie336/projectdavid/compare/v1.34.5...v1.34.6) (2025-08-20)
136
+
137
+
138
+ ### Bug Fixes
139
+
140
+ * epoch time on .create_run ([be013d4](https://github.com/frankie336/projectdavid/commit/be013d4e98724a2c252a7daa5b31bfda61253d15))
141
+
142
+ ## [1.34.5](https://github.com/frankie336/projectdavid/compare/v1.34.4...v1.34.5) (2025-08-17)
143
+
144
+
145
+ ### Bug Fixes
146
+
147
+ * Adding update_run ([10b1c6f](https://github.com/frankie336/projectdavid/commit/10b1c6f1b7da9f77d3bd7c9478edf8f1dc41fc82))
148
+
149
+ ## [1.34.4](https://github.com/frankie336/projectdavid/compare/v1.34.3...v1.34.4) (2025-08-15)
150
+
151
+
152
+ ### Bug Fixes
153
+
154
+ * Adding update_run ([ce98a68](https://github.com/frankie336/projectdavid/commit/ce98a688150c5073d1041815542012e486cf706e))
155
+
156
+ ## [1.34.3](https://github.com/frankie336/projectdavid/compare/v1.34.2...v1.34.3) (2025-08-13)
157
+
158
+
159
+ ### Bug Fixes
160
+
161
+ * rename list_all_runs and list_runs ([7efb822](https://github.com/frankie336/projectdavid/commit/7efb8220c82184df941fc897132ca3caa96d07a0))
162
+
163
+ ## [1.34.2](https://github.com/frankie336/projectdavid/compare/v1.34.1...v1.34.2) (2025-08-13)
164
+
165
+
166
+ ### Bug Fixes
167
+
168
+ * standard model ([8c8785b](https://github.com/frankie336/projectdavid/commit/8c8785babe81420ee211499a4d8972e8a42d5d2e))
169
+
170
+ ## [1.34.1](https://github.com/frankie336/projectdavid/compare/v1.34.0...v1.34.1) (2025-08-13)
171
+
172
+
173
+ ### Bug Fixes
174
+
175
+ * correctly import RunListResponse ([7f923cc](https://github.com/frankie336/projectdavid/commit/7f923ccfcaac890f1eaf0b94406f5ee003b2cf4e))
176
+
177
+ # [1.34.0](https://github.com/frankie336/projectdavid/compare/v1.33.33...v1.34.0) (2025-08-12)
178
+
179
+
180
+ ### Features
181
+
182
+ * Adding runs list methods. ([61975b2](https://github.com/frankie336/projectdavid/commit/61975b2c8fa44de254b979160566bd8e89b6799b))
183
+
184
+ ## [1.33.33](https://github.com/frankie336/projectdavid/compare/v1.33.32...v1.33.33) (2025-07-10)
185
+
186
+
187
+ ### Bug Fixes
188
+
189
+ * wrap delete_message in a return envelope ([7ed1815](https://github.com/frankie336/projectdavid/commit/7ed18155b85d39cbecf0354c16b2a8a20131b9e2))
190
+ * wrap delete_message in a return envelope ([3e9e6fb](https://github.com/frankie336/projectdavid/commit/3e9e6fbb93ec0670c0e9a39b7eb446bcb1e7df40))
191
+
192
+ ## [1.33.32](https://github.com/frankie336/projectdavid/compare/v1.33.31...v1.33.32) (2025-07-09)
193
+
194
+
195
+ ### Bug Fixes
196
+
197
+ * use project_david_common 0.17.9 and refactor list_messages to use new envelope ([3fc565c](https://github.com/frankie336/projectdavid/commit/3fc565ce1f69af47fc102d5abd55f90a1fce2288))
198
+ * use project_david_common 0.17.9 and refactor list_messages to use new envelope ([3d802ef](https://github.com/frankie336/projectdavid/commit/3d802efc8cd0ec7425d0d1a1ead944c4d23d0838))
199
+ * use project_david_common 0.17.9 and refactor list_messages to use new envelope ([0549842](https://github.com/frankie336/projectdavid/commit/054984252097c9e843a12fed9a87eacea95aee33))
200
+
201
+ ## [1.33.31](https://github.com/frankie336/projectdavid/compare/v1.33.30...v1.33.31) (2025-07-08)
202
+
203
+
204
+ ### Bug Fixes
205
+
206
+ * update_thread ([2041347](https://github.com/frankie336/projectdavid/commit/2041347839922e2745d14e4ad9136f1aa797b254))
207
+
208
+ ## [1.33.30](https://github.com/frankie336/projectdavid/compare/v1.33.29...v1.33.30) (2025-07-06)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * Add DeleteThread schema2. ([de9fd17](https://github.com/frankie336/projectdavid/commit/de9fd17d81116c503ebda23d90d7cb031938b952))
214
+ * Add DeleteThread schema2. ([c43cdd6](https://github.com/frankie336/projectdavid/commit/c43cdd6c950847cb1a79e686848ca42d958126b9))
215
+ * Add DeleteThread schema2. ([0c4c548](https://github.com/frankie336/projectdavid/commit/0c4c54878d10d5535c4427481ebd32d7910b15f8))
216
+ * Add DeleteThread schema3. ([540c445](https://github.com/frankie336/projectdavid/commit/540c445829809e785dcab0b0dcd1600b0913ffcf))
217
+
218
+ ## [1.33.29](https://github.com/frankie336/projectdavid/compare/v1.33.28...v1.33.29) (2025-07-06)
219
+
220
+
221
+ ### Bug Fixes
222
+
223
+ * Add DeleteThread schema. ([d4f1270](https://github.com/frankie336/projectdavid/commit/d4f1270863fcefadc949e165125287a7b52e1ef6))
224
+
225
+ ## [1.33.28](https://github.com/frankie336/projectdavid/compare/v1.33.27...v1.33.28) (2025-07-01)
226
+
227
+
228
+ ### Bug Fixes
229
+
230
+ * remove platform_tools from assistant create method signature and payload. ([8caf3b0](https://github.com/frankie336/projectdavid/commit/8caf3b00f5d45422af9bda088ed266b9c39dddee))
231
+
232
+ ## [1.33.27](https://github.com/frankie336/projectdavid/compare/v1.33.26...v1.33.27) (2025-06-30)
233
+
234
+
235
+ ### Bug Fixes
236
+
237
+ * correct list method! ([bf17205](https://github.com/frankie336/projectdavid/commit/bf1720583f37cf09844a06c5c95f319ba5192d41))
238
+
239
+ ## [1.33.26](https://github.com/frankie336/projectdavid/compare/v1.33.25...v1.33.26) (2025-06-30)
240
+
241
+
242
+ ### Bug Fixes
243
+
244
+ * Remove platform_tools from request body ([01f79be](https://github.com/frankie336/projectdavid/commit/01f79be53bbe5b9e29c14c3757044a954c65711d))
245
+
246
+ ## [1.33.25](https://github.com/frankie336/projectdavid/compare/v1.33.24...v1.33.25) (2025-06-28)
247
+
248
+
249
+ ### Bug Fixes
250
+
251
+ * attempt to load api-key from client users .env file ([3bf2f26](https://github.com/frankie336/projectdavid/commit/3bf2f26506c8755adb510d7f6ed852e9aca47a46))
252
+
253
+ ## [1.33.24](https://github.com/frankie336/projectdavid/compare/v1.33.23...v1.33.24) (2025-06-22)
254
+
255
+
256
+ ### Bug Fixes
257
+
258
+ * Remove Kargs from FileProcessor() ([17a19b3](https://github.com/frankie336/projectdavid/commit/17a19b36f2275bc408b60333f4798b1a462fb96c))
259
+
260
+ ## [1.33.23](https://github.com/frankie336/projectdavid/compare/v1.33.22...v1.33.23) (2025-06-17)
261
+
262
+
263
+ ### Bug Fixes
264
+
265
+ * Back out from vision support - resource issue. Revisit in grand plan-17 ([db124a0](https://github.com/frankie336/projectdavid/commit/db124a0a5da8da045ef2e6edc01827252a0bad11))
266
+
267
+ ## [1.33.22](https://github.com/frankie336/projectdavid/compare/v1.33.21...v1.33.22) (2025-06-16)
268
+
269
+
270
+ ### Bug Fixes
271
+
272
+ * Back out from vision support - resource issue. Revisit in grand plan-16 ([bc3c298](https://github.com/frankie336/projectdavid/commit/bc3c298034ee40580ec4e92223782a9f2aee279f))
273
+
274
+ ## [1.33.21](https://github.com/frankie336/projectdavid/compare/v1.33.20...v1.33.21) (2025-06-16)
275
+
276
+
277
+ ### Bug Fixes
278
+
279
+ * Back out from vision support - resource issue. Revisit in grand plan-13 ([f43db04](https://github.com/frankie336/projectdavid/commit/f43db045d2c99be59586d7b0700f0a55f2efefd7))
280
+
281
+ ## [1.33.20](https://github.com/frankie336/projectdavid/compare/v1.33.19...v1.33.20) (2025-06-16)
282
+
283
+
284
+ ### Bug Fixes
285
+
286
+ * Back out from vision support - resource issue. Revisit in grand plan-11 ([a40b74e](https://github.com/frankie336/projectdavid/commit/a40b74ecadb38df56134d722c1edd000f9d06537))
287
+
288
+ ## [1.33.19](https://github.com/frankie336/projectdavid/compare/v1.33.18...v1.33.19) (2025-06-16)
289
+
290
+
291
+ ### Bug Fixes
292
+
293
+ * Back out from vision support - resource issue. Revisit in grand plan-8 ([5740d62](https://github.com/frankie336/projectdavid/commit/5740d6270d511a92b05a14105157c07c1f0be609))
294
+ * Back out from vision support - resource issue. Revisit in grand plan-9 ([421aba8](https://github.com/frankie336/projectdavid/commit/421aba8e8e1eef0fc6aa873b3686e660747172da))
295
+
296
+ ## [1.33.18](https://github.com/frankie336/projectdavid/compare/v1.33.17...v1.33.18) (2025-06-16)
297
+
298
+
299
+ ### Bug Fixes
300
+
301
+ * Back out from vision support - resource issue. Revisit in grand plan-5 ([cb68423](https://github.com/frankie336/projectdavid/commit/cb6842339dbef4efe0b579bafd9b6cbf677dd282))
302
+
303
+ ## [1.33.17](https://github.com/frankie336/projectdavid/compare/v1.33.16...v1.33.17) (2025-06-16)
304
+
305
+
306
+ ### Bug Fixes
307
+
308
+ * Back out from vision support - resource issue. Revisit in grand plan-4 ([61bbd6e](https://github.com/frankie336/projectdavid/commit/61bbd6e8bb2bf7213dd097bf7d4ba1af8e4aaff6))
309
+
310
+ ## [1.33.16](https://github.com/frankie336/projectdavid/compare/v1.33.15...v1.33.16) (2025-06-16)
311
+
312
+
313
+ ### Bug Fixes
314
+
315
+ * Back out from vision support - resource issue. Revisit in grand plan-3 ([14568e9](https://github.com/frankie336/projectdavid/commit/14568e97edef6e82fd93e3ee034fbf160d4a302b))
316
+
317
+ ## [1.33.15](https://github.com/frankie336/projectdavid/compare/v1.33.14...v1.33.15) (2025-06-16)
318
+
319
+
320
+ ### Bug Fixes
321
+
322
+ * Back out from vision support - resource issue. Revisit in grand plan-2 ([a735034](https://github.com/frankie336/projectdavid/commit/a735034879ce50ce1dc2a508ce304796105f5830))
323
+
324
+ ## [1.33.14](https://github.com/frankie336/projectdavid/compare/v1.33.13...v1.33.14) (2025-06-16)
325
+
326
+
327
+ ### Bug Fixes
328
+
329
+ * Back out from vision support - resource issue. Revisit in grand plan ([3199ba7](https://github.com/frankie336/projectdavid/commit/3199ba7a18b3cfcc0f7306cd8748105f593a1836))
330
+
331
+ ## [1.33.13](https://github.com/frankie336/projectdavid/compare/v1.33.12...v1.33.13) (2025-06-13)
332
+
333
+
334
+ ### Bug Fixes
335
+
336
+ * restore code_interpreter_stream passthrough.14 ([df2a75f](https://github.com/frankie336/projectdavid/commit/df2a75f47a55d07d42af3a9949ef9bed4496a602))
337
+
338
+ ## [1.33.12](https://github.com/frankie336/projectdavid/compare/v1.33.11...v1.33.12) (2025-06-13)
339
+
340
+
341
+ ### Bug Fixes
342
+
343
+ * restore code_interpreter_stream passthrough.12 ([6c1fd4d](https://github.com/frankie336/projectdavid/commit/6c1fd4dafb5680cd7898f005e866b32c78e61ca1))
344
+
345
+ ## [1.33.11](https://github.com/frankie336/projectdavid/compare/v1.33.10...v1.33.11) (2025-06-13)
346
+
347
+
348
+ ### Bug Fixes
349
+
350
+ * restore code_interpreter_stream passthrough.11 ([57274ef](https://github.com/frankie336/projectdavid/commit/57274efea469b4cc513a2260202b4872f1ae64f2))
351
+
352
+ ## [1.33.10](https://github.com/frankie336/projectdavid/compare/v1.33.9...v1.33.10) (2025-06-13)
353
+
354
+
355
+ ### Bug Fixes
356
+
357
+ * restore code_interpreter_stream passthrough.10 ([54c084e](https://github.com/frankie336/projectdavid/commit/54c084ea6ef03d677b8e544db9afe9eff88266b5))
358
+
1
359
  ## [1.33.9](https://github.com/frankie336/projectdavid/compare/v1.33.8...v1.33.9) (2025-06-13)
2
360
 
3
361
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: projectdavid
3
- Version: 1.33.9
3
+ Version: 1.39.3
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.2
23
+ Requires-Dist: projectdavid_common==0.21.1
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
@@ -29,13 +29,6 @@ Requires-Dist: sseclient-py
29
29
  Requires-Dist: requests
30
30
  Requires-Dist: python-docx
31
31
  Requires-Dist: python-pptx
32
- Requires-Dist: open_clip_torch>=2.24
33
- Requires-Dist: pillow>=10.2
34
- Requires-Dist: transformers>=4.41
35
- Requires-Dist: accelerate>=0.28
36
- Requires-Dist: sentencepiece>=0.2
37
- Requires-Dist: ultralytics>=8.2.21
38
- Requires-Dist: pytesseract>=0.3
39
32
  Provides-Extra: dev
40
33
  Requires-Dist: black>=23.3; extra == "dev"
41
34
  Requires-Dist: isort>=5.12; extra == "dev"
@@ -43,17 +36,6 @@ Requires-Dist: pytest>=7.2; extra == "dev"
43
36
  Requires-Dist: mypy>=1.0; extra == "dev"
44
37
  Requires-Dist: build; extra == "dev"
45
38
  Requires-Dist: twine; extra == "dev"
46
- Provides-Extra: vision
47
- Requires-Dist: torch>=2.2.1; extra == "vision"
48
- Requires-Dist: torchvision>=0.17.1; extra == "vision"
49
- Requires-Dist: torchaudio>=2.2.1; extra == "vision"
50
- Requires-Dist: open_clip_torch>=2.24; extra == "vision"
51
- Requires-Dist: pillow>=10.2; extra == "vision"
52
- Requires-Dist: transformers>=4.41; extra == "vision"
53
- Requires-Dist: accelerate>=0.28; extra == "vision"
54
- Requires-Dist: sentencepiece>=0.2; extra == "vision"
55
- Requires-Dist: ultralytics>=8.2.21; extra == "vision"
56
- Requires-Dist: pytesseract>=0.3; extra == "vision"
57
39
  Dynamic: license-file
58
40
 
59
41
  # Entity — by Project David
@@ -244,7 +226,7 @@ Would you like a deeper dive into any of these trends?
244
226
 
245
227
 
246
228
 
247
- ## 📚 Documentation
229
+ ## Documentation
248
230
 
249
231
  | Domain | Link |
250
232
  |---------------------|--------------------------------------------------------|
@@ -269,9 +251,9 @@ Would you like a deeper dive into any of these trends?
269
251
 
270
252
  ---
271
253
 
272
- ## 🌍 Related Repositories
254
+ ## Related Repositories
273
255
 
274
- - 🔌 [Entities API](https://github.com/frankie336/entities_api) — containerized API backend
256
+ - [Entities API](https://github.com/frankie336/entities_api) — containerized API backend
275
257
  -
276
- - 📚 [entities_common](https://github.com/frankie336/entities_common) — shared validation, schemas, utilities, and tools.
258
+ - [entities_common](https://github.com/frankie336/entities_common) — shared validation, schemas, utilities, and tools.
277
259
  This package is auto installed as dependency of entities SDK or entities API.
@@ -186,7 +186,7 @@ Would you like a deeper dive into any of these trends?
186
186
 
187
187
 
188
188
 
189
- ## 📚 Documentation
189
+ ## Documentation
190
190
 
191
191
  | Domain | Link |
192
192
  |---------------------|--------------------------------------------------------|
@@ -211,9 +211,9 @@ Would you like a deeper dive into any of these trends?
211
211
 
212
212
  ---
213
213
 
214
- ## 🌍 Related Repositories
214
+ ## Related Repositories
215
215
 
216
- - 🔌 [Entities API](https://github.com/frankie336/entities_api) — containerized API backend
216
+ - [Entities API](https://github.com/frankie336/entities_api) — containerized API backend
217
217
  -
218
- - 📚 [entities_common](https://github.com/frankie336/entities_common) — shared validation, schemas, utilities, and tools.
218
+ - [entities_common](https://github.com/frankie336/entities_common) — shared validation, schemas, utilities, and tools.
219
219
  This package is auto installed as dependency of entities SDK or entities API.
@@ -0,0 +1,153 @@
1
+ > **PLEASE NOTE:**
2
+ >
3
+ > As of V1.33.23 Thread creation no longer requires participant_ids to be passed in:
4
+ >
5
+
6
+ ```python
7
+ thread = client.threads.create_thread(participant_ids=user.id)
8
+
9
+ # Can be shortened to:
10
+
11
+ thread = client.threads.create_thread()
12
+
13
+ ```
14
+
15
+
16
+ ## Function call error surfacing
17
+
18
+ Function call error trace stack messages are now surfaced to the message dialogue. If the assistant
19
+ does not proactively say so, you can force this with a followup prompt like:
20
+ ```python
21
+ "What happened?"
22
+ ```
23
+
24
+ Sometimes it receives the error but does not proactively reveal. Please be aware that your consumers
25
+ will have access to stack trace messages. OpenAI do this, the risk is minimal.
26
+
27
+ # Data Ingestion and Search Methods
28
+
29
+ ## Vector Store Standard Data Ingestion Pipeline
30
+
31
+ As of **projectdavid v1.33.23** Json output from function calls are now suppressed by default.
32
+ You can reveal Json output them with:
33
+
34
+ ```python
35
+
36
+ sync_stream.stream_chunks(
37
+ provider=PROVIDER,
38
+ model=MODEL,
39
+ timeout_per_chunk=60.0,
40
+ suppress_fc=True,
41
+ ):
42
+ ...
43
+ ```
44
+
45
+ Please see [here](https://github.com/frankie336/projectdavid/blob/master/docs/inference.md)
46
+ for detailed use example.
47
+
48
+
49
+ ## Vector Store Standard Data Ingestion Pipeline
50
+
51
+ Our standard public ingestion method, `VectorStoreClient.add_file_to_vector_store`, will:
52
+
53
+ - Pre-process files.
54
+ - Chunk files.
55
+ - Generate embeddings.
56
+ - Upload processed chunks to the specified vector store.
57
+ - Prepare file contents for semantic search.
58
+
59
+ This method is designed primarily for individual files containing mostly unstructured text. It’s powerful and will cover most Retrieval-Augmented Generation (RAG) use cases.
60
+
61
+ For detailed instructions, please refer to our [usage documentation](https://github.com/frankie336/projectdavid/blob/master/docs/vector_store.md).
62
+
63
+ You can also find a real-world usage example in our cookbook here:
64
+ [Basic Vector Embeddings Search Example](https://github.com/frankie336/entities_cook_book/blob/master/recipes/vector_store/basic_vector_embeddings_search.py).
65
+
66
+ ## Your Vector Store Custom Data Ingestion Pipeline
67
+
68
+ We directly leverage our embedding model to craft a customized ingestion pipeline using `FileProcessor.embedding_model`. This pipeline:
69
+
70
+ - Pre-processes structured datasets (e.g., MovieLens).
71
+ - Converts each movie record into its own chunk.
72
+ - Manually constructs rich text embeddings from multiple metadata fields (title, genres, release year, etc.).
73
+
74
+ In summary, this custom pipeline is optimized for granular semantic results from structured datasets such as MovieLens. This approach can easily be adapted to other similar datasets, especially useful in recommendation algorithms.
75
+
76
+ The custom pipeline example is available [here](#).
77
+
78
+ ## Search Methods
79
+
80
+ As of **projectdavid v1.33.23** ([PyPI Link](https://pypi.org/project/projectdavid/)), the following search methods are available:
81
+
82
+ ### `VectorStoreClient.vector_file_search_raw`
83
+
84
+ > **PLEASE NOTE:**
85
+ >
86
+ > This method was previously named `VectorStoreClient.vector_file_search`. Please update your code accordingly when migrating to v1.33.23.
87
+
88
+ - Returns raw dictionaries with results ranked by corresponding `K` values in descending order.
89
+ - Currently used in our semantic search examples on vectorized instances of the MovieLens dataset.
90
+
91
+ #### Batch Search Example:
92
+
93
+ [Batch Search on MovieLens](https://github.com/frankie336/entities_cook_book/blob/master/recipes/reccomender/batch_search_movielens.py)
94
+
95
+ #### Fuzzy Search App Example:
96
+
97
+ [Fuzzy Search App](https://github.com/frankie336/entities_cook_book/blob/master/recipes/reccomender/search_movielens-v2.py)
98
+
99
+
100
+
101
+ ### `VectorStoreClient.simple_vector_file_search`
102
+
103
+ Returns a data structure optimized for interpretation and synthesis by LLM models, suitable for function call returns with potential citations.
104
+
105
+ **Example Response:**
106
+
107
+ ```json
108
+ {
109
+ "object": "vector_store.file_search_result",
110
+ "data": [
111
+ {
112
+ "object": "vector_store.file_hit",
113
+ "index": 0,
114
+ "text": "Title: Toy Story. Genres: Animation, Children's, Comedy. Released in 1995.",
115
+ "score": 0.92,
116
+ "meta_data": {
117
+ "item_id": 1,
118
+ "title": "Toy Story",
119
+ "genres": ["Animation", "Children's", "Comedy"],
120
+ "release_year": 1995,
121
+ "IMDb_URL": "http://www.imdb.com/title/tt0114709/"
122
+ },
123
+ "vector_id": "vec_abc123",
124
+ "store_id": "vect_mqfWyNlZbacer73PQu4Upy"
125
+ },
126
+ {
127
+ "object": "vector_store.file_hit",
128
+ "index": 1,
129
+ "text": "Title: The Lion King. Genres: Animation, Children's, Musical. Released in 1994.",
130
+ "score": 0.89,
131
+ "meta_data": {
132
+ "item_id": 2,
133
+ "title": "The Lion King",
134
+ "genres": ["Animation", "Children's", "Musical"],
135
+ "release_year": 1994,
136
+ "IMDb_URL": "http://www.imdb.com/title/tt0110357/"
137
+ },
138
+ "vector_id": "vec_def456",
139
+ "store_id": "vect_mqfWyNlZbacer73PQu4Upy"
140
+ }
141
+ ],
142
+ "answer": "Here are 2 fun kids' movies from the 1990s: **Toy Story** (1995, Animation/Comedy) and **The Lion King** (1994, Animation/Musical). Both are highly rated family films.",
143
+ "query": "fun kids movies from the 1990s"
144
+ }
145
+ ```
146
+
147
+ ### `VectorStoreClient.attended_file_search`
148
+
149
+ Utilizes an integrated AI agent to synthesize analysis and employs a specialized post-processing ranking model to ensure highly precise results. Outputs use a similar envelope as `simple_vector_file_search`. Ideal for quick demonstrations or standalone push-button integrations.
150
+
151
+ ### `VectorStoreClient.unattended_file_search`
152
+
153
+ Employs the same advanced post-processing ranking model as `attended_file_search`, but without integrated synthesis. Suitable for standard function call implementations.
@@ -24,6 +24,7 @@ assistant = client.assistants.create_assistant(
24
24
  )
25
25
  print(f"Assistant created: ID: {assistant.id}")
26
26
 
27
+
27
28
  # Retrieve an Assistant
28
29
 
29
30
  retrieved_assistant = client.assistants.retrieve_assistant(assistant_id=assistant.id)