Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faiss_vector_aggregator-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

faiss_vector_aggregator-0.1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page