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.2.tar.gz (198.1 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.2-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omop_emb-0.2.2.tar.gz
  • Upload date:
  • Size: 198.1 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.2.tar.gz
Algorithm Hash digest
SHA256 b51c21c4a01ebd89dcd450e5271f2f94072a3bbc3724dcae1ca24770c6113538
MD5 c691d35a5a761356fafc8f7a6270a071
BLAKE2b-256 d8eba70268ef9d5a347c6e5c3972bcc669cce2675b493b67d88b4512b49d4c0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omop_emb-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c527607ea67d63434c742892708fbd9fa9c0bf98b47e9bb66c77bbe5f641a1e6
MD5 fb7cb5f7a74c678c9a1b41b3f5752199
BLAKE2b-256 4f98382638526bc7154912f24e0f7028a534760b40c86c5d42299fbdb0fa0f62

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