Create and register a user algorithm.

Functions

Func

execute_create_algorithm

Line 8
execute_create_algorithm(**kwargs) -> Dict[str, Any]

Create and register a new user algorithm from source code.

Backs the tuiml_create_algorithm tool; delegates to tuiml.agent.user_algorithms.create.

Parameters

name
str
Class name of the new algorithm. Required (arrives via **kwargs, like all parameters below).
kind
str
Algorithm kind (e.g. 'classifier' or 'regressor'). Required.
code
str
Full Python source of the algorithm. Required.
version
str = '1.0.0'
Version to register the algorithm under.
description
str = None
Short description stored with the algorithm.
force
bool = False
Overwrite an existing algorithm of the same name/version.

Returns

result
dict
Result dict from user_algorithms.create with status and creation details, or an error dict listing missing required fields.