dashai_list_components
List available models, metrics, tasks, and optimizers in DashAI to get exact component names and hyperparameter schemas before training.
Instructions
Lists the registered components: models, metrics, tasks and optimizers.
ALWAYS use this before dashai_train_model. The names dashAI expects are exact and case-sensitive, and the catalogue changes with the plugins that instance has installed — they cannot be guessed.
Args: params (ListComponents): contains: - types (Optional[List[str]]): filter by 'Model', 'Metric', 'Task', 'Optimizer'
Returns:
str: JSON {"count": int, "components": [{"name": str, "type": str, "schema": {...}}]}
The schema field describes the hyperparameters that component accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |