Skip to main content

An integration of pgvector (vector search extension for Postgres) with Haystack

Project description

pgvector-haystack

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install pgvector-haystack

Testing

Ensure that you have a PostgreSQL running with the pgvector extension. For a quick setup using Docker, run:

docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres ankane/pgvector

then run the tests:

hatch run test

To run the coverage report:

hatch run cov

License

pgvector-haystack is distributed under the terms of the Apache-2.0 license.

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

pgvector_haystack-1.0.0.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

pgvector_haystack-1.0.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file pgvector_haystack-1.0.0.tar.gz.

File metadata

  • Download URL: pgvector_haystack-1.0.0.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for pgvector_haystack-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f9f9caa9cb55bd7e814aa99dff26063a5bbe5f11ba0e068d0c7e64515e7bb1e2
MD5 eb9f9ee92c4f6d33d8ff52ab32a0ec57
BLAKE2b-256 8924542b6fe75a15b503b528cc98bba6020eda964815be053a5428ca05bc9a36

See more details on using hashes here.

File details

Details for the file pgvector_haystack-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pgvector_haystack-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0edca45fd33be78a79e1f2c95b2848f4f06101b8726d92223f0affd4f792bd1d
MD5 8c30d8205873c658e86f1ea34333e306
BLAKE2b-256 70c10edd449949051e142fdd4ee31f7438e35e602c6e9bb8cf6eaf173a1e99d1

See more details on using hashes here.

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