Skip to main content

Module plan

Module plan 

Source
Expand description

Plan parsing, checking, evaluation, and combinator surface. Plan subsystem: parsing, checking, and evaluating SIM plan expressions that orchestrate model atoms through combinators such as race, fallback, chain, verify, debate, and cache.

Re-exports§

pub use address::BackendDescriptor;
pub use address::resolve_atom_address;
pub use combinators::PlanCombinator;
pub use combinators::plan_combinators;
pub use combinators::plan_combinators_expr;
pub use combinators::plan_symbol;
pub use eval::PlanEvalEvent;
pub use eval::PlanEvalReport;
pub use eval::eval_plan;
pub use eval::eval_plan_report;
pub use eval::eval_plan_report_with_cache;
pub use eval::eval_plan_report_with_cache_and_runners;
pub use eval::eval_plan_report_with_cache_runners_and_federation;
pub use eval::eval_plan_report_with_federation;
pub use parse::parse_plan;
pub use shape::PlanLimits;
pub use shape::check_plan;
pub use shape::check_plan_with_limits;
pub use shape::explain_plan;

Modules§

address
Atom address resolution into backend descriptors.
combinators
The plan combinator table and its metadata.
eval
Plan evaluation against a model request, producing a response and event trace.
parse
Parser turning the textual plan surface syntax into plan expressions.
shape
Structural plan validation, limits, and explanation.