caikit.config
Top-level configuration for the caikit library.
Submodules
Functions
|
Configure caikit for your usage! |
|
Get the caikit configuration |
Package Contents
- caikit.config.configure(config_yml_path: str | None = None, config_dict: Dict[str, Any] | None = None)[source]
Configure caikit for your usage! Merges into the internal aconfig.Config object with overrides from multiple sources.
- Sources, last takes precedence:
The existing configuration from calls to caikit.configure()
The config from config_yml_path
The config from config_dict
- The config files specified in the config_files configuration
(NB: This may be set by the CONFIG_FILES environment variable)
Environment variables, in ALL_CAPS_SNAKE_FORMAT
- Args:
- config_yml_path (Optional[str]): The path to the base configuration yaml
with overrides for your usage.
config_dict (Optional[Dict]): Config overrides in dictionary form
- Returns: None: This only sets the config object that is returned by
caikit.get_config()