Skip to main content

Module hybrid

Module hybrid 

Source
Expand description

Hybrid and timeout-aware search intent detection.

This module combines keyword and LLM detection for optimal accuracy while maintaining responsive performance through configurable timeouts.

Functionsยง

detect_search_intent_hybrid
Detects search intent using hybrid keyword + LLM detection.
detect_search_intent_with_timeout
Detects search intent with LLM classification and timeout.
merge_intent_results ๐Ÿ”’
Merges keyword and LLM intent results.
run_llm_with_timeout ๐Ÿ”’
Runs LLM classification with a timeout (CHAOS-H3).