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.4.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.4-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omop_emb-0.2.4.tar.gz
  • Upload date:
  • Size: 198.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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.4.tar.gz
Algorithm Hash digest
SHA256 9583f5803f63095a36f6b268c9d33aea948a4ad56f30fe3546cefd5eab76337f
MD5 9351c2c5fd246d47c50af385c7fe3f89
BLAKE2b-256 edd1cfd93e3888474bfb8b5af14553ebc4ec101664e1db3eeaf26e9236546fb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omop_emb-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a178c629523e4fc327180dff27b62c2f66d312b15499fb2ef32d89a6c6bf3fac
MD5 fcce12d66cd92e92781d707d2b43cbf6
BLAKE2b-256 9ad5506b792823b93c4ea6c595033c11e109f5f92b77cf5f35a424897994f1bf

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