A package to aggregate embeddings in a Faiss vector store based on metadata columns.
Project description
Faiss Vector Aggregator
faiss_vector_aggregator
is a Python package designed to aggregate embeddings stored in a Faiss vector store based on a specified metadata column. This package simplifies the process of combining embeddings (e.g., averaging) associated with the same identifier, and creates a new Faiss index with the aggregated embeddings.
Features
- Flexible Aggregation: Aggregate embeddings based on any specified metadata field (e.g.,
id
,name
,year
). - Simple Interface: Provide input and output folder paths to automatically process Faiss and metadata files.
- Faiss Integration: Directly works with Faiss indexes for efficient similarity search.
Installation
Install the package using pip
:
pip install faiss_vector_aggregator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for faiss_vector_aggregator-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac746714e735dd96e10041b1afc5f1d467ba7f897f7c374d4727ea73e35821f6 |
|
MD5 | 392f75e69ddcf0258d1717079e6503ca |
|
BLAKE2b-256 | c608431b01c450ea62d675b8bd45e50afac8ad9ed04d474683aa8f9ffb60d9f3 |
Close
Hashes for faiss_vector_aggregator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75babc158f089896c1fd5b42aa13a4604e03f700f33ce8e7b30287e3068267a6 |
|
MD5 | 29dd743bc65c1cee9f98b78dd3a8a24f |
|
BLAKE2b-256 | 5a595647434f1dabb43abe03d307e21fc12dc55c66f0a8799906f66c78da223f |