pub fn extract_intent_from_response<T>(
response: &str,
tag: &str,
) -> Result<T, IntentExtractionError>Expand description
Helper function for extracting intents from LLM responses using XML-style tags.
This is used by the define_intent macro.