Expand description
Intent classification module for skill matching.
Provides a pluggable abstraction for classifying user queries into intents, which are then matched to skills. Supports multiple backends:
- Rules-based (keyword/tag matching)
- TF-IDF (pure Rust, no external dependencies)
- WASM (for non-Rust classifiers like spaCy/BERT)
Modules§
- llm
- LLM-based intent classifier.
- local_
embedding - Local embedding intent classifier.
- rules
- Rules-based intent classifier.
- tfidf
- TF-IDF based intent classifier.
- wasm
- WASM-based intent classifier stub.
Structs§
- Classification
Result - Result of intent classification.
- Classifier
Config - Configuration for the intent classifier.
- Hybrid
Classifier - Hybrid classifier that combines rules and TF-IDF.
- Intent
Score - Score for an intent/skill classification result.
Enums§
- Classifier
Backend - Backend type for intent classification.
Traits§
- Intent
Classifier - Trait for intent classifiers.
Functions§
- create_
classifier - Factory for creating intent classifiers based on config.
- create_
classifier_ with_ resources - Factory that can create resource-dependent classifiers.