faiss-haystack 2.1.0__tar.gz → 3.0.0__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.
- faiss_haystack-3.0.0/CHANGELOG.md +52 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/PKG-INFO +4 -4
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/pyproject.toml +3 -3
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/document_stores/faiss/document_store.py +4 -5
- faiss_haystack-2.1.0/CHANGELOG.md +0 -25
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/.gitignore +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/LICENSE.txt +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/README.md +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/pydoc/config_docusaurus.yml +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/components/retrievers/faiss/__init__.py +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/components/retrievers/faiss/embedding_retriever.py +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/components/retrievers/py.typed +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/document_stores/faiss/__init__.py +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/document_stores/py.typed +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/tests/__init__.py +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/tests/test_document_store.py +0 -0
- {faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/tests/test_embedding_retriever.py +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [integrations/faiss-v2.1.0] - 2026-09-01
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes
|
|
6
|
+
|
|
7
|
+
- Fix new issues raised by ruff 0.16.0 (#3670)
|
|
8
|
+
- `FAISSDocumentStore` with `search_term`, pagination and returning `(values, total_count)` (#3682)
|
|
9
|
+
- `FAISSDocumentStore` get_metadata_field_unique_values setting list of values to return to `Any` (#3704)
|
|
10
|
+
- `FAISSDocumentStore` adding filter to unique metadata values (#3753)
|
|
11
|
+
- Standardize license files (#3771)
|
|
12
|
+
|
|
13
|
+
### 📚 Documentation
|
|
14
|
+
|
|
15
|
+
- Replace old haystack core imports with haystack_integrations paths (#3545)
|
|
16
|
+
|
|
17
|
+
### 🧪 Testing
|
|
18
|
+
|
|
19
|
+
- Track test coverage for all integrations (#3065)
|
|
20
|
+
- Mark some tests as integration in Faiss and Qdrant (#3076)
|
|
21
|
+
- Faiss - add unit tests (#3213)
|
|
22
|
+
- `FAISSDocumentStore` removing duplicated tests already covered by haystack Mixin tests (#3778)
|
|
23
|
+
|
|
24
|
+
### 🧹 Chores
|
|
25
|
+
|
|
26
|
+
- Improve consistency of integrations folder structure (#3430)
|
|
27
|
+
- Re-standardize READMEs (#3768)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [integrations/faiss-v2.0.0] - 2026-03-23
|
|
31
|
+
|
|
32
|
+
### 🧪 Testing
|
|
33
|
+
|
|
34
|
+
- Test compatible integrations with python 3.14; update pyproject (#3001)
|
|
35
|
+
- `FaissDocumentStore` use Mixin tests (#3024)
|
|
36
|
+
|
|
37
|
+
### ⚙️ CI
|
|
38
|
+
|
|
39
|
+
- Adding FAISS github workflow (#2879)
|
|
40
|
+
|
|
41
|
+
### 🧹 Chores
|
|
42
|
+
|
|
43
|
+
- FAISS - small changes to improve consistency with the codebase (#2890)
|
|
44
|
+
- Standardize author mentions (#2897)
|
|
45
|
+
- Add ANN type annotations to faiss, fastembed, firecrawl, github, google_ai (#2988)
|
|
46
|
+
- Enforce ruff docstring rules (D102/D103/D205/D209/D213/D417/D419) in integrations 11-20 (#3009)
|
|
47
|
+
|
|
48
|
+
### 🌀 Miscellaneous
|
|
49
|
+
|
|
50
|
+
- Add FAISS DocumentStore integration (#2844)
|
|
51
|
+
|
|
52
|
+
<!-- generated by git-cliff -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: faiss-haystack
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: An integration of FAISS (library for efficient similarity search of dense vectors) with Haystack
|
|
5
5
|
Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/faiss#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/deepset-ai/haystack-core-integrations/issues
|
|
@@ -11,17 +11,17 @@ License-File: LICENSE.txt
|
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
13
|
Classifier: Programming Language :: Python
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
19
19
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
20
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
21
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
22
|
Requires-Dist: faiss-cpu>=1.8.0
|
|
23
23
|
Requires-Dist: haystack-ai>=2.26.1
|
|
24
|
-
Requires-Dist: numpy<2,>=1.
|
|
24
|
+
Requires-Dist: numpy<2,>=1.23.2; python_version < '3.13'
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
|
|
27
27
|
# faiss-haystack
|
|
@@ -7,7 +7,7 @@ name = "faiss-haystack"
|
|
|
7
7
|
dynamic = ["version"]
|
|
8
8
|
description = 'An integration of FAISS (library for efficient similarity search of dense vectors) with Haystack'
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
keywords = []
|
|
13
13
|
authors = [{ name = "deepset GmbH", email = "info@deepset.ai" }]
|
|
@@ -15,18 +15,18 @@ classifiers = [
|
|
|
15
15
|
"License :: OSI Approved :: Apache Software License",
|
|
16
16
|
"Development Status :: 4 - Beta",
|
|
17
17
|
"Programming Language :: Python",
|
|
18
|
-
"Programming Language :: Python :: 3.10",
|
|
19
18
|
"Programming Language :: Python :: 3.11",
|
|
20
19
|
"Programming Language :: Python :: 3.12",
|
|
21
20
|
"Programming Language :: Python :: 3.13",
|
|
22
21
|
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
23
23
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
24
24
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
27
|
"haystack-ai>=2.26.1",
|
|
28
28
|
"faiss-cpu>=1.8.0",
|
|
29
|
-
"numpy>=1.
|
|
29
|
+
"numpy>=1.23.2,<2; python_version < '3.13'",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
# SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
|
|
5
5
|
import json
|
|
6
|
-
import logging
|
|
7
6
|
from collections.abc import Iterable
|
|
8
7
|
from dataclasses import replace
|
|
9
8
|
from pathlib import Path
|
|
10
9
|
from typing import Any
|
|
11
10
|
|
|
12
11
|
import numpy as np
|
|
13
|
-
from haystack import default_from_dict, default_to_dict
|
|
12
|
+
from haystack import default_from_dict, default_to_dict, logging
|
|
14
13
|
from haystack.dataclasses import Document
|
|
15
14
|
from haystack.document_stores.errors import DocumentStoreError, DuplicateDocumentError
|
|
16
15
|
from haystack.document_stores.types import DuplicatePolicy
|
|
@@ -599,7 +598,7 @@ class FAISSDocumentStore:
|
|
|
599
598
|
# Verify sync
|
|
600
599
|
if len(self.documents) != len(self.id_map):
|
|
601
600
|
logger.warning(
|
|
602
|
-
"Loaded
|
|
603
|
-
len(self.documents),
|
|
604
|
-
len(self.id_map),
|
|
601
|
+
"Loaded {documents_count} documents but {mappings_count} ID mappings. Index might be out of sync.",
|
|
602
|
+
documents_count=len(self.documents),
|
|
603
|
+
mappings_count=len(self.id_map),
|
|
605
604
|
)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [integrations/faiss-v2.0.0] - 2026-03-23
|
|
4
|
-
|
|
5
|
-
### 🧪 Testing
|
|
6
|
-
|
|
7
|
-
- Test compatible integrations with python 3.14; update pyproject (#3001)
|
|
8
|
-
- `FaissDocumentStore` use Mixin tests (#3024)
|
|
9
|
-
|
|
10
|
-
### ⚙️ CI
|
|
11
|
-
|
|
12
|
-
- Adding FAISS github workflow (#2879)
|
|
13
|
-
|
|
14
|
-
### 🧹 Chores
|
|
15
|
-
|
|
16
|
-
- FAISS - small changes to improve consistency with the codebase (#2890)
|
|
17
|
-
- Standardize author mentions (#2897)
|
|
18
|
-
- Add ANN type annotations to faiss, fastembed, firecrawl, github, google_ai (#2988)
|
|
19
|
-
- Enforce ruff docstring rules (D102/D103/D205/D209/D213/D417/D419) in integrations 11-20 (#3009)
|
|
20
|
-
|
|
21
|
-
### 🌀 Miscellaneous
|
|
22
|
-
|
|
23
|
-
- Add FAISS DocumentStore integration (#2844)
|
|
24
|
-
|
|
25
|
-
<!-- generated by git-cliff -->
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faiss_haystack-2.1.0 → faiss_haystack-3.0.0}/src/haystack_integrations/document_stores/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|