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.3.tar.gz
(198.4 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.3-py3-none-any.whl
(37.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
effadb955c1ecc8d43eb0fe49fcd1a13909f01374c94c2f35b7ea943a2363165
|
|
| MD5 |
d436472d24b417cc94a8bfb0607ee2d7
|
|
| BLAKE2b-256 |
8b01f97a19fecd1edf14e6f0a93e7775eeaf6c437adfe0a55590deae569075d8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d09cab53f535d1e3e2e746277684377e55a6ef4ac52724cf2106a16d5cbb32da
|
|
| MD5 |
d2947c9a9837e15663cf8ea04278ea59
|
|
| BLAKE2b-256 |
5c08c319bdb2626ac3b25e505713a6d581d7a751fa419b28390904b260ca9912
|