Skip to main content
Version: 1.0

aixplain.modules.pipeline.designer.nodes

AssetNode Objects

class AssetNode(Node[TI, TO], LinkableMixin, OutputableMixin)

[view_source]

Asset node class, this node will be used to fetch the asset from the aixplain platform and use it in the pipeline.

assetId is required and will be used to fetch the asset from the aixplain platform.

Input and output parameters will be automatically added based on the asset function spec.

Input Objects

class Input(Node[InputInputs, InputOutputs], LinkableMixin, RoutableMixin)

[view_source]

Input node class, this node will be used to input the data to the pipeline.

Input nodes has only one output parameter called input.

data is a special convenient parameter that will be uploaded to the aixplain platform and the link will be passed as the input to the node.

Output Objects

class Output(Node[OutputInputs, OutputOutputs])

[view_source]

Output node class, this node will be used to output the result of the pipeline.

Output nodes has only one input parameter called output.

Script Objects

class Script(Node[TI, TO], LinkableMixin, OutputableMixin)

[view_source]

Script node class, this node will be used to run a script on the input data.

script_path is a special convenient parameter that will be uploaded to the aixplain platform and the link will be passed as the input to the node.

Route Objects

class Route(Serializable)

[view_source]

Route class, this class will be used to route the input data to different nodes based on the input data type.

__init__

def __init__(value: DataType, path: List[Union[Node, int]],
operation: Operation, type: RouteType, **kwargs)

[view_source]

Post init method to convert the nodes to node numbers if they are nodes.

Router Objects

class Router(Node[RouterInputs, RouterOutputs], LinkableMixin)

[view_source]

Router node class, this node will be used to route the input data to different nodes based on the input data type.

Decision Objects

class Decision(Node[DecisionInputs, DecisionOutputs], LinkableMixin)

[view_source]

Decision node class, this node will be used to make decisions based on the input data.

BaseSegmentor Objects

class BaseSegmentor(AssetNode[TI, TO])

[view_source]

Segmentor node class, this node will be used to segment the input data into smaller fragments for much easier and efficient processing.

BareSegmentor Objects

class BareSegmentor(BaseSegmentor[SegmentorInputs, SegmentorOutputs])

[view_source]

Segmentor node class, this node will be used to segment the input data into smaller fragments for much easier and efficient processing.

BaseReconstructor Objects

class BaseReconstructor(AssetNode[TI, TO])

[view_source]

Reconstructor node class, this node will be used to reconstruct the output of the segmented lines of execution.

BareReconstructor Objects

class BareReconstructor(BaseReconstructor[ReconstructorInputs,
ReconstructorOutputs])

[view_source]

Reconstructor node class, this node will be used to reconstruct the output of the segmented lines of execution.