Class HotSwappingIntentClassifier
Wraps an IIntentClassifierManager and a IPromptIntentClassifier so that callers can use the manager transparently without knowing about hot-swapping.
public sealed class HotSwappingIntentClassifier : IPromptIntentClassifier, IDisposable
- Inheritance
-
HotSwappingIntentClassifier
- Implements
- Inherited Members
Constructors
HotSwappingIntentClassifier(IIntentClassifierManager)
public HotSwappingIntentClassifier(IIntentClassifierManager manager)
Parameters
managerIIntentClassifierManager
Methods
Classify(string)
public IntentClassification Classify(string prompt)
Parameters
promptstring
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()