pinecone-haystack 6.4.0__tar.gz → 6.4.1__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 (21) hide show
  1. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/CHANGELOG.md +75 -16
  2. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/PKG-INFO +1 -1
  3. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/document_stores/pinecone/document_store.py +4 -3
  4. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/tests/test_document_store.py +5 -0
  5. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/.gitignore +0 -0
  6. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/LICENSE.txt +0 -0
  7. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/README.md +0 -0
  8. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/examples/example.py +0 -0
  9. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/pydoc/config_docusaurus.yml +0 -0
  10. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/pyproject.toml +0 -0
  11. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/components/retrievers/pinecone/__init__.py +0 -0
  12. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/components/retrievers/pinecone/embedding_retriever.py +0 -0
  13. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/components/retrievers/py.typed +0 -0
  14. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/document_stores/pinecone/__init__.py +0 -0
  15. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/document_stores/pinecone/filters.py +0 -0
  16. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/src/haystack_integrations/document_stores/py.typed +0 -0
  17. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/tests/__init__.py +0 -0
  18. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/tests/conftest.py +0 -0
  19. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/tests/test_document_store_async.py +0 -0
  20. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/tests/test_embedding_retriever.py +0 -0
  21. {pinecone_haystack-6.4.0 → pinecone_haystack-6.4.1}/tests/test_filters.py +0 -0
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [integrations/pinecone-v6.4.0] - 2026-09-01
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - `PineCone` normalisation of .meta usage in `get_metadata_field_unique_values()` (#3641)
8
+ - Fix new issues raised by ruff 0.16.0 (#3670)
9
+ - `PineConeDocumentStore` get_metadata_field_unique_values setting list of values to return to `Any` (#3711)
10
+ - PineCone adding optional parameter `filters` to `get_metadata_field_unique_values()` (#3736)
11
+ - Standardize license files (#3771)
12
+
13
+ ### 🧪 Testing
14
+
15
+ - `PineConeDocumentStore` removing duplicated tests already covered by haystack Mixin tests (#3784)
16
+
17
+ ### 🧹 Chores
18
+
19
+ - Re-standardize READMEs (#3768)
20
+
21
+
3
22
  ## [integrations/pinecone-v6.3.0] - 2026-07-22
4
23
 
5
24
  ### 🐛 Bug Fixes
@@ -200,7 +219,6 @@
200
219
 
201
220
  ### 🧹 Chores
202
221
 
203
- - Pinecone - remove legacy filter support (#1069)
204
222
  - Update changelog after removing legacy filters (#1083)
205
223
  - Update ruff linting scripts and settings (#1105)
206
224
  - Inherit from `FilterDocumentsTestWithDataframe` in Document Stores (#1290)
@@ -210,23 +228,50 @@
210
228
  - Test: Pinecone - increase sleep time (#1307)
211
229
  - Chore!: pinecone - remove dataframe support (#1372)
212
230
 
231
+ ## [integrations/pinecone-v2.0.0] - 2024-09-12
232
+
233
+ ### 🧹 Chores
234
+
235
+ - Pinecone - remove legacy filter support (#1069)
236
+
237
+
213
238
  ## [integrations/pinecone-v1.2.3] - 2024-08-29
214
239
 
215
- ### 🚀 Features
240
+ ### 🐛 Bug Fixes
216
241
 
217
- - Add filter_policy to pinecone integration (#821)
242
+ - Converting `Pinecone` metadata fields from float back to int (#1034)
243
+
244
+
245
+ ## [integrations/pinecone-v1.2.2] - 2024-08-21
218
246
 
219
247
  ### 🐛 Bug Fixes
220
248
 
221
- - `pinecone` - Fallback to default filter policy when deserializing retrievers without the init parameter (#901)
222
249
  - Skip unsupported meta fields in PineconeDB (#1009)
223
- - Converting `Pinecone` metadata fields from float back to int (#1034)
224
250
 
225
251
  ### 🧪 Testing
226
252
 
227
- - Pinecone - fix `test_serverless_index_creation_from_scratch` (#806)
228
253
  - Do not retry tests in `hatch run test` command (#954)
229
254
 
255
+ ### 🌀 Miscellaneous
256
+
257
+ - Chore: Pinecone - fix import in conftest (#914)
258
+
259
+ ## [integrations/pinecone-v1.2.1] - 2024-07-17
260
+
261
+ ### 🐛 Bug Fixes
262
+
263
+ - `pinecone` - Fallback to default filter policy when deserializing retrievers without the init parameter (#901)
264
+
265
+ ## [integrations/pinecone-v1.2.0] - 2024-07-15
266
+
267
+ ### 🚀 Features
268
+
269
+ - Add filter_policy to pinecone integration (#821)
270
+
271
+ ### 🧪 Testing
272
+
273
+ - Pinecone - fix `test_serverless_index_creation_from_scratch` (#806)
274
+
230
275
  ### ⚙️ CI
231
276
 
232
277
  - Retry tests to reduce flakyness (#836)
@@ -239,7 +284,6 @@
239
284
 
240
285
  - Ci: add retry config to Pinecone test (#848)
241
286
  - Chore: Minor retriever pydoc fix (#884)
242
- - Chore: Pinecone - fix import in conftest (#914)
243
287
 
244
288
  ## [integrations/pinecone-v1.1.0] - 2024-06-11
245
289
 
@@ -273,16 +317,8 @@
273
317
  - Update category slug (#442)
274
318
  - Disable-class-def (#556)
275
319
 
276
- ### ⚙️ CI
277
-
278
- - Generate API docs for Pinecone (#359)
279
-
280
320
  ### 🌀 Miscellaneous
281
321
 
282
- - Pinecone - decrease concurrency in tests (#323)
283
- - Rename retriever (#396)
284
- - Fix imports in example (#398)
285
- - [Pinecone] Use Haystack Secrets (#420)
286
322
  - Pinecone - review docstrings and API reference (#503)
287
323
  - Make tests show coverage (#566)
288
324
  - Temporarily skip failing tests (#593)
@@ -290,6 +326,24 @@
290
326
  - Make Document Stores initially skip `SparseEmbedding` (#606)
291
327
  - Skip `test_write_documents_duplicate_overwrite` test (#637)
292
328
 
329
+ ## [integrations/pinecone-v0.4.0] - 2024-02-15
330
+
331
+ ### 🌀 Miscellaneous
332
+
333
+ - Fix imports in example (#398)
334
+ - [Pinecone] Use Haystack Secrets (#420)
335
+
336
+ ## [integrations/pinecone-v0.3.0] - 2024-02-12
337
+
338
+ ### ⚙️ CI
339
+
340
+ - Generate API docs for Pinecone (#359)
341
+
342
+ ### 🌀 Miscellaneous
343
+
344
+ - Pinecone - decrease concurrency in tests (#323)
345
+ - Rename retriever (#396)
346
+
293
347
  ## [integrations/pinecone-v0.2.1] - 2024-01-31
294
348
 
295
349
  ### 🐛 Bug Fixes
@@ -305,9 +359,14 @@
305
359
 
306
360
  ### 🌀 Miscellaneous
307
361
 
308
- - Pinecone - update import for beta5 (#236)
309
362
  - Change import paths (#256)
310
363
 
364
+ ## [integrations/pinecone-v0.1.1] - 2024-01-18
365
+
366
+ ### 🌀 Miscellaneous
367
+
368
+ - Pinecone - update import for beta5 (#236)
369
+
311
370
  ## [integrations/pinecone-v0.1.0] - 2024-01-17
312
371
 
313
372
  ### 🌀 Miscellaneous
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pinecone-haystack
3
- Version: 6.4.0
3
+ Version: 6.4.1
4
4
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/pinecone#readme
5
5
  Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
6
6
  Project-URL: Source, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/pinecone
@@ -828,12 +828,13 @@ class PineconeDocumentStore:
828
828
  # For lists, check the type of elements if list is non-empty
829
829
  if value:
830
830
  # Sample first element to determine list type
831
- if isinstance(value[0], str):
831
+ # bool before int/float here too, same reason as above
832
+ if isinstance(value[0], bool):
833
+ field_samples[field].add("boolean")
834
+ elif isinstance(value[0], str):
832
835
  field_samples[field].add("keyword")
833
836
  elif isinstance(value[0], (int, float)):
834
837
  field_samples[field].add("long")
835
- elif isinstance(value[0], bool):
836
- field_samples[field].add("boolean")
837
838
  else:
838
839
  # Empty list, default to keyword
839
840
  field_samples[field].add("keyword")
@@ -276,6 +276,11 @@ def test_convert_meta_to_int():
276
276
  {"counts": {"type": "long"}},
277
277
  None,
278
278
  ),
279
+ (
280
+ [Document(content=None, meta={"flags": [True, False]})],
281
+ {"flags": {"type": "boolean"}},
282
+ None,
283
+ ),
279
284
  (
280
285
  [Document(content=None, meta={"empty": []})],
281
286
  {"empty": {"type": "keyword"}},