Interface IIntentClassifierManager
Manages the active IPromptIntentClassifier and enables hot-swapping to a new classifier (e.g. ML.NET model) without restarting the Gateway.
public interface IIntentClassifierManager
Properties
Classifier
Current active classifier.
IPromptIntentClassifier Classifier { get; }
Property Value
Methods
ReloadCurrent()
Reloads the currently active classifier if it supports hot-reload (e.g. MlNetIntentClassifier).
void ReloadCurrent()
SetClassifier(IPromptIntentClassifier)
Replaces the active classifier with classifier,
disposing the previous instance if it implements IDisposable.
void SetClassifier(IPromptIntentClassifier classifier)
Parameters
classifierIPromptIntentClassifier