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:
postgresinstalls the PostgreSQL/pgvector dependencies.faissinstalls the FAISS-based backend dependencies. This currently only includes CPU supportallinstalls both backend stacks for development or mixed environments.- A plain
pip install omop-embinstalls the shared core package only. - PostgreSQL-specific embedding dependencies are now optional, but
omop-embstill 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
-
faissGPU support -
pgvectorscalesupport - Vector-quantisation for more efficient storage
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(198.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
omop_emb-0.2.1-py3-none-any.whl
(37.6 kB
view details)
File details
Details for the file omop_emb-0.2.1.tar.gz.
File metadata
- Download URL: omop_emb-0.2.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bad9a79ebcc25123ff10d6f87212ebd315a671b754473d39a43c0a0751bae27
|
|
| MD5 |
ad6b84b16d8103df4eed5756cdb51a42
|
|
| BLAKE2b-256 |
c22746a1e7b0c43aeef856511a74e57f0ff5f38f9611ab99bf14302fcafdcff9
|
File details
Details for the file omop_emb-0.2.1-py3-none-any.whl.
File metadata
- Download URL: omop_emb-0.2.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b69a82fead8e7d9fd344a506ba2e3db7edc8c08682d5f39b17a868d670b89c
|
|
| MD5 |
68bf3944019a499000e1721497a80841
|
|
| BLAKE2b-256 |
910973e836b1f50fcc4d98055e6c65fc203913a378a1e7d3ab41ab18b46c40cd
|