1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Copyright (c) 2026 vectorless developers
// SPDX-License-Identifier: Apache-2.0
//! Query understanding and planning.
//!
//! Analyzes a user's raw query and produces a structured [`QueryPlan`]
//! for downstream modules (Orchestrator, Worker).
//!
//! # Pipeline
//!
//! ```text
//! raw query string
//! → extract keywords (from scoring/bm25)
//! → LLM query understanding (intent, concepts, complexity)
//! → QueryPlan
//! ```
//!
//! LLM understanding is required — this is a pure reasoning engine.
//! Errors are propagated, not silently degraded.
pub use ;
use crateLlmClient;
use crateextract_keywords;
/// Query understanding pipeline.
///
/// Produces a [`QueryPlan`] from a raw query string via LLM analysis.
;