get_config
get_config(config_name='sic_soc_llm_config.toml')
Fetch the configuration.
Loads config from the filepath defined in CONFIG_FILEPATH
.
Parameters
Name | Type | Description | Default |
---|---|---|---|
config_name |
Path or str | The name of the config file to load. Defaults to relative path “sic_soc_llm_config.toml” - in such case it looks for the config file in 1. current dir, 2. project dir, 3. user home and 4. package resources. | 'sic_soc_llm_config.toml' |
Returns
Type | Description |
---|---|
dict | Configuration for the system. |
Raises
Type | Description |
---|---|
FileNotFoundError | If the config file or required lookups not found. |