Expand description
Traits and implementations for extracting structured intents from LLM responses.
Modules§
Structs§
- PromptBased Extractor Deprecated 
- A classic, prompt-based implementation of IntentExtractor.
Enums§
- IntentError 
- An error type for intent extraction failures.
- ParseError 
- Parse error for intent extraction
Traits§
- IntentExtractor 
- A generic trait for extracting a structured intent of type Tfrom a string response.
Functions§
- extract_intent_ from_ response 
- Helper function for extracting intents from LLM responses using XML-style tags.
This is used by the define_intentmacro.
Type Aliases§
- IntentExtraction Error 
- Alias for IntentError for backward compatibility with macro-generated code.