nexuml.core.components¶
nexuml.core.components
¶
Typed component definitions and explicit runtime build contexts.
ComponentDefinition
¶
Bases: BaseModel, ABC
Immutable semantic configuration for a registered component.
LayerBuildContext
dataclass
¶
Runtime values supplied by the pipeline compiler to a layer definition.
EvalBuildContext
dataclass
¶
Runtime routing values supplied to an evaluation definition.
LayerDefinition
¶
Bases: ComponentDefinition
Semantic configuration that materializes a pipeline layer.
build
abstractmethod
¶
build(context: LayerBuildContext) -> Any
Build the mutable pipeline layer runtime.
DataSourceDefinition
¶
EvalAlgorithmDefinition
¶
Bases: ComponentDefinition
Semantic configuration that materializes an evaluation algorithm.
build
abstractmethod
¶
build(context: EvalBuildContext) -> Any
Build the mutable evaluation runtime.