pub fn classify_intent_with_llm<P: LlmProviderTrait + ?Sized>( provider: &P, prompt: &str, ) -> Result<SearchIntent>
Classifies search intent using an LLM provider.
provider
prompt
A SearchIntent with LLM classification results.
SearchIntent
Returns an error if the LLM call fails or response parsing fails.