chroma-haystack 4.3.1__tar.gz → 4.3.2__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 (59) hide show
  1. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/CHANGELOG.md +7 -0
  2. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/PKG-INFO +1 -1
  3. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/document_stores/chroma/filters.py +1 -1
  4. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/tests/test_filters.py +7 -0
  5. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/.gitignore +0 -0
  6. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/LICENSE +0 -0
  7. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/README.md +0 -0
  8. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_01.txt +0 -0
  9. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_02.txt +0 -0
  10. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_03.txt +0 -0
  11. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_04.txt +0 -0
  12. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_05.txt +0 -0
  13. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_06.txt +0 -0
  14. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_07.txt +0 -0
  15. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_08.txt +0 -0
  16. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_09.txt +0 -0
  17. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_10.txt +0 -0
  18. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_11.txt +0 -0
  19. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_12.txt +0 -0
  20. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_20.txt +0 -0
  21. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_21.txt +0 -0
  22. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_22.txt +0 -0
  23. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_23.txt +0 -0
  24. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_24.txt +0 -0
  25. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_25.txt +0 -0
  26. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_26.txt +0 -0
  27. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_27.txt +0 -0
  28. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_28.txt +0 -0
  29. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_29.txt +0 -0
  30. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_30.txt +0 -0
  31. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_31.txt +0 -0
  32. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_32.txt +0 -0
  33. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_40.txt +0 -0
  34. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_41.txt +0 -0
  35. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_42.txt +0 -0
  36. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_43.txt +0 -0
  37. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_44.txt +0 -0
  38. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_45.txt +0 -0
  39. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_46.txt +0 -0
  40. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_50.txt +0 -0
  41. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_51.txt +0 -0
  42. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_52.txt +0 -0
  43. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/data/usr_90.txt +0 -0
  44. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/example/example.py +0 -0
  45. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/pydoc/config_docusaurus.yml +0 -0
  46. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/pyproject.toml +0 -0
  47. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/components/retrievers/chroma/__init__.py +0 -0
  48. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/components/retrievers/chroma/retriever.py +0 -0
  49. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/components/retrievers/py.typed +0 -0
  50. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/document_stores/chroma/__init__.py +0 -0
  51. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/document_stores/chroma/document_store.py +0 -0
  52. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/document_stores/chroma/errors.py +0 -0
  53. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/document_stores/chroma/utils.py +0 -0
  54. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/src/haystack_integrations/document_stores/py.typed +0 -0
  55. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/tests/__init__.py +0 -0
  56. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/tests/conftest.py +0 -0
  57. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/tests/test_document_store.py +0 -0
  58. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/tests/test_document_store_async.py +0 -0
  59. {chroma_haystack-4.3.1 → chroma_haystack-4.3.2}/tests/test_retriever.py +0 -0
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [integrations/chroma-v4.3.1] - 2026-06-29
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - Serialize ChromaDocumentStore metadata in to_dict (#3445)
8
+
9
+
3
10
  ## [integrations/chroma-v4.3.0] - 2026-04-29
4
11
 
5
12
  ### 🚀 Features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chroma-haystack
3
- Version: 4.3.1
3
+ Version: 4.3.2
4
4
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/chroma#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/chroma
@@ -68,7 +68,7 @@ def _convert_filters(filters: dict[str, Any]) -> ChromaFilter:
68
68
  continue
69
69
  # if field is "id", it'll be passed to Chroma's ids filter
70
70
  elif field == "id":
71
- if not value["$eq"]:
71
+ if "$eq" not in value or not value["$eq"]:
72
72
  msg = f"id filter only supports '==' operator, got {value}"
73
73
  raise ChromaDocumentStoreFilterError(msg)
74
74
  ids.append(value["$eq"])
@@ -17,6 +17,13 @@ def test_id_filter_with_empty_value_raises():
17
17
  _convert_filters({"field": "id", "operator": "==", "value": ""})
18
18
 
19
19
 
20
+ def test_id_filter_with_non_eq_operator_raises():
21
+ # A non-'==' operator produces e.g. {"$in": [...]} (no "$eq" key), which must
22
+ # surface the friendly ChromaDocumentStoreFilterError, not a raw KeyError('$eq').
23
+ with pytest.raises(ChromaDocumentStoreFilterError, match="id filter only supports"):
24
+ _convert_filters({"field": "id", "operator": "in", "value": ["1", "2"]})
25
+
26
+
20
27
  @pytest.mark.parametrize(
21
28
  ("condition", "match"),
22
29
  [
File without changes