qbiocode.apps.quvine.api.config module#
Config loading/merging for the QuVINE embedding API.
The API reuses the same Hydra/OmegaConf YAML schema the pipeline uses
(configs/config.yaml). Unlike the CLI, the API does not need the Hydra
runtime – it simply loads a base DictConfig and deep-merges overrides.
Summary#
Functions:
Build the OmegaConf config the API operates on. |
Reference#
- load_config(config=None, overrides=None, default_path=None)[source]#
Build the OmegaConf config the API operates on.
- Parameters:
config (
Union[DictConfig,dict,str,None]) – One of *None– load the packaged default config. * astr/path – load that YAML file. * adict– treat as a full config. * aDictConfig– used as-is (a deep copy is made).overrides (
Union[dict,list,DictConfig,None]) – Deep-merged on top ofconfig. Accepts a dict, aDictConfig, or a list of Hydra-style"a.b=c"dotlist strings.default_path (
Optional[str]) – Explicit path to use instead of auto-discovery whenconfig is None.
- Return type:
DictConfig- Returns:
A resolved-on-access
DictConfig.