Expand description
The generic Python (/ LangChain / LlamaIndex) provider kind: introspects
and executes a drop-in .py provider through a bounded Python sidecar
running python_bridge::PYTHON_BRIDGE. Ported from
soma-service::providers::python.
load_python_catalog here applies only generic manifest validation
(soma_provider_core::validate_provider_manifest_value) — Soma’s own CLI
reserved-command / env-prefix policy layer is applied downstream by the
host’s provider registry when it builds every provider’s catalog
(regardless of kind), so dropping the redundant Soma-specific pre-check
here does not weaken overall enforcement — see the PR10 deviation notes.
Structs§
Functions§
- load_
python_ catalog - Introspects a
.pyprovider file by importing it (in “catalog” mode) in a bounded sidecar and validating the resulting manifest against the generic provider-core contract. Callers that layer additional product policy on top of every provider’s catalog (e.g. Soma’s reserved CLI-command / env-prefix checks) apply it to the returned catalog themselves — see the module docs above.