Config Loading¶
Most users only need these helpers:
- Use
load_default_preset()to start from the built-in default settings and change a few values in Python. - Use
load_config()to load your own YAML config file. - Use
load_preset()when loading a named preset packaged withmatchminer-ai.
matchminer_ai.config ¶
Configuration helpers for MatchMiner-AI.
load_config ¶
load_config(path: str | Path) -> MMAIConfig
Load a configuration YAML file from a user-provided path.
Source code in src/matchminer_ai/config.py
89 90 91 92 93 94 95 96 | |
load_default_preset ¶
load_default_preset() -> MMAIConfig
Load the default configuration preset.
Source code in src/matchminer_ai/config.py
99 100 101 | |
load_preset ¶
load_preset(name: str) -> MMAIConfig
Load a named configuration preset.
Source code in src/matchminer_ai/config.py
83 84 85 86 | |