pgvector-haystack 3.4.0__tar.gz → 3.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 (27) hide show
  1. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/CHANGELOG.md +12 -0
  2. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/PKG-INFO +1 -1
  3. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/document_stores/pgvector/converters.py +3 -0
  4. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/.gitignore +0 -0
  5. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/LICENSE.txt +0 -0
  6. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/README.md +0 -0
  7. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/examples/embedding_retrieval.py +0 -0
  8. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/examples/hybrid_retrieval.py +0 -0
  9. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/pydoc/config.yml +0 -0
  10. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/pyproject.toml +0 -0
  11. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/components/retrievers/pgvector/__init__.py +0 -0
  12. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/components/retrievers/pgvector/embedding_retriever.py +0 -0
  13. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/components/retrievers/pgvector/keyword_retriever.py +0 -0
  14. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/components/retrievers/py.typed +0 -0
  15. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/document_stores/pgvector/__init__.py +0 -0
  16. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/document_stores/pgvector/document_store.py +0 -0
  17. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/document_stores/pgvector/filters.py +0 -0
  18. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/src/haystack_integrations/document_stores/py.typed +0 -0
  19. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/__init__.py +0 -0
  20. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/conftest.py +0 -0
  21. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_converters.py +0 -0
  22. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_document_store.py +0 -0
  23. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_document_store_async.py +0 -0
  24. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_filters.py +0 -0
  25. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_retrieval.py +0 -0
  26. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_retrieval_async.py +0 -0
  27. {pgvector_haystack-3.4.0 → pgvector_haystack-3.4.1}/tests/test_retrievers.py +0 -0
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [integrations/pgvector-v3.4.0] - 2025-06-10
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - Fix pgvector types + add py.typed (#1914)
8
+
9
+ ### 🧹 Chores
10
+
11
+ - Align core-integrations Hatch scripts (#1898)
12
+ - Update md files for new hatch scripts (#1911)
13
+
14
+
3
15
  ## [integrations/pgvector-v3.3.1] - 2025-05-28
4
16
 
5
17
  ### 🌀 Miscellaneous
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pgvector-haystack
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: An integration of pgvector (vector search extension for Postgres) with Haystack
5
5
  Project-URL: Source, https://github.com/deepset-ai/haystack-core-integrations
6
6
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/pgvector/README.md
@@ -57,6 +57,9 @@ def _from_pg_to_haystack_documents(documents: List[Dict[str, Any]]) -> List[Docu
57
57
  haystack_dict["embedding"] = document["embedding"].tolist()
58
58
  else: # halfvec
59
59
  haystack_dict["embedding"] = document["embedding"].to_list()
60
+ # Document.from_dict expects the meta field to be a a dict or not be present (not None)
61
+ if "meta" in haystack_dict and haystack_dict["meta"] is None:
62
+ haystack_dict.pop("meta")
60
63
 
61
64
  haystack_document = Document.from_dict(haystack_dict)
62
65