GetAutoMLConfigDict

class hana_ai.tools.hana_ml_tools.config_dict_validator_tools.GetAutoMLConfigDict(connection_context: ConnectionContext, return_direct: bool = False)

Return the resolved config_dict for a given AutoML pipeline type.

Calls _SYS_AFL.PAL_AUTOML_CONFIG with the supplied PIPELINE_TYPE and CONFIG_DICT rows and no modifiers. This is the safe read-only entry-point: use it to fetch PAL's 'default' / 'light' / 'empty' templates or to inspect a custom config_dict as PAL sees it (parameter values normalised, unknown keys stripped when VERIFY_CONFIG is off — which is the case here).

Returns:
str

A JSON string with:

  • pipeline_type : the normalised pipeline type.

  • config_dict : the resolved config_dict as a JSON object (or the raw string when PAL returns non-JSON content).

  • operators : per-operator INFO rows ([{"operator", "type", "config"}]).

  • error (optional): populated when the call fails.

Note

args_schema is used to define the schema of the inputs as follows:

Field

Description

pipeline_type

AutoML pipeline type: 'classifier', 'regressor' or 'timeseries'.

config_dict

Template keyword ('default', 'light', 'empty') or a JSON object / string.

name: str

Name of the tool.

description: str

Description of the tool.

connection_context: ConnectionContext

Connection context to the HANA database.