IAugmentationFactory<T, TData>

Interfaces · AiDotNet.Augmentation

Factory for creating augmentations from configuration.

How It Works

Enables dynamic augmentation creation from serialized configurations.

Properties

Property Summary
IReadOnlyList<string> RegisteredTypes { get; } Gets all registered augmentation types.

Methods

Method Summary
AugmentationSearchSpace GetSearchSpace(string typeName) Gets the search space for an augmentation type.
IAugmentation<T, TData> Create(string typeName, IDictionary<string, object> parameters) Creates an augmentation from type name and parameters.
void Register(string typeName, Func<IDictionary<string, object>, IAugmentation<T, TData>> factory) Registers a custom augmentation type.