Class TfIdfIntentClassifier
TF-IDF-inspired intent classifier that determines whether a prompt describes an actionable process that should be routed through the workflow pipeline. Any imperative action that implies a repeatable, definable process is a workflow — even single verbs like "deploy" or "review". The downstream pipeline handles catalog lookup and planning mode if no workflow is defined yet. Zero external dependencies, thread-safe, sub-millisecond classification.
public sealed class TfIdfIntentClassifier : IPromptIntentClassifier
- Inheritance
-
TfIdfIntentClassifier
- Implements
- Inherited Members
Methods
Classify(string)
public IntentClassification Classify(string prompt)
Parameters
promptstring