Table of Contents

Class HotSwappingIntentClassifier

Namespace
JD.AI.Workflows
Assembly
JD.AI.Workflows.dll

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

manager IIntentClassifierManager

Methods

Classify(string)

public IntentClassification Classify(string prompt)

Parameters

prompt string

Returns

IntentClassification

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()