Skip to content

router::plan::ExecutionPlan

More...

Public Attributes

Name
str primary_specialist
str execution_mode
float confidence
List matched_rules
Optional fallback_chain

Detailed Description

class router::plan::ExecutionPlan;
Result of query classification by the RuleEngine.

Attributes:
    primary_specialist: The selected specialist name (e.g. ``"code"``,
        ``"medical"``, ``"encyclopedic"``).
    execution_mode: How the specialist should be executed
        (e.g. ``"local_lora"``).
    confidence: Classification confidence score, 0.0--1.0.
    matched_rules: Names of rules that matched the query, in match order.
    fallback_chain: Specialists tried in fallback order when primary
        confidence fell below the configured threshold, or ``None`` if
        no fallback was needed.

Public Attributes Documentation

variable primary_specialist

static str primary_specialist;

variable execution_mode

static str execution_mode;

variable confidence

static float confidence =  0.0;

variable matched_rules

static List matched_rules =  field(default_factory=list);

variable fallback_chain

static Optional fallback_chain =  None;

Updated on 2026-10-09 at 03:59:43 +0000