Skip to main content

Embedding extension to omop-graph

Project description

omop-emb

Embedding layer for OMOP CDM.

Installation

omop-emb now exposes backend-specific optional dependencies so installation can match the embedding backend you actually intend to use.

pip install "omop-emb[postgres]"
pip install "omop-emb[faiss]"
pip install "omop-emb[all]"

Notes:

  • postgres installs the PostgreSQL/pgvector dependencies.
  • faiss installs the FAISS-based backend dependencies. This currently only includes CPU support
  • all installs both backend stacks for development or mixed environments.
  • A plain pip install omop-emb installs the shared core package only.
  • PostgreSQL-specific embedding dependencies are now optional, but omop-emb still requires some database backend for OMOP access and model registration.
  • Non-PostgreSQL database backends have not yet been tested.

Extended documentation can be found here.

Project Roadmap

  • Interface for postgres storage of vectors
  • Interface for FAISS storage of embeddings
  • Extensive unit testing
    • Backend testing
    • Corruption and restoration of DB testing
  • Support non-Flat indices for each backend
  • faiss GPU support
  • pgvectorscale support
  • Vector-quantisation for more efficient storage

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

omop_emb-0.2.3.tar.gz (198.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omop_emb-0.2.3-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file omop_emb-0.2.3.tar.gz.

File metadata

  • Download URL: omop_emb-0.2.3.tar.gz
  • Upload date:
  • Size: 198.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for omop_emb-0.2.3.tar.gz
Algorithm Hash digest
SHA256 effadb955c1ecc8d43eb0fe49fcd1a13909f01374c94c2f35b7ea943a2363165
MD5 d436472d24b417cc94a8bfb0607ee2d7
BLAKE2b-256 8b01f97a19fecd1edf14e6f0a93e7775eeaf6c437adfe0a55590deae569075d8

See more details on using hashes here.

File details

Details for the file omop_emb-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: omop_emb-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for omop_emb-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d09cab53f535d1e3e2e746277684377e55a6ef4ac52724cf2106a16d5cbb32da
MD5 d2947c9a9837e15663cf8ea04278ea59
BLAKE2b-256 5c08c319bdb2626ac3b25e505713a6d581d7a751fa419b28390904b260ca9912

See more details on using hashes here.

Supported by

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