omop-llm
Shared chat/embedding backend contract for the OMOP stack, built on any-llm. One typed ModelBackend interface (sync and async methods, both real), a closed set of supported providers (local: ollama, llamacpp, vllm; cloud: openai, anthropic, gemini), and explicit capability declarations instead of provider-name guessing. Extended documentation can be found here.
from omop_llm import build_model_backend, Capabilities
backend = build_model_backend(
provider="ollama", model="llama3:8b", base_url="http://localhost:11434",
model_capabilities=Capabilities(), # plain chat only -- nothing else needed here
)
# async
response = await backend.async_complete([{"role": "user", "content": "Hello"}])
# sync
response = backend.complete([{"role": "user", "content": "Hello"}])
Or resolved from an oa-configurator stack config:
from oa_configurator import Resolver, load_stack_config
from omop_llm import build_model_backend_from_resolved
resolved = Resolver(load_stack_config()).resolve_model("embed-default")
backend = build_model_backend_from_resolved(resolved)
See docs/index.md for the full design (provider registry, capability model, structured extraction).
Metadata
Release files for omop-llm 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| omop_llm-1.0.2.tar.gz | 182.2 kB | With provenance | Details for omop_llm-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omop_llm-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for omop_llm-1.0.2-py3-none-any.whl |
Total release size: 208.0 kB
Release files / omop_llm-1.0.2.tar.gz
| Download URL | omop_llm-1.0.2.tar.gz |
|---|---|
| Size | 182.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a80267b95b1f1ad76e41a2285030d68d0c13825216dc7363f6eb87647c83c599
|
|
BLAKE2b-256 checksum How to use checksums |
84922147d62967adb61e91a5474ca0278bb3905be394718aad9c4d6427ba0196
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / omop_llm-1.0.2-py3-none-any.whl
| Download URL | omop_llm-1.0.2-py3-none-any.whl |
|---|---|
| Size | 25.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dbd72df14fccefcf1be09fbcea89b8870c944c91db3dd686bacdcb1bcb544cc
|
|
BLAKE2b-256 checksum How to use checksums |
a3b4fe6d24752cf7c472a0473f7f484660bc57a7779d29ae1669d387ae76b668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logSecurity for omop-llm 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for omop_llm-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.