Skip to main content

Module quality

Module quality 

Source
Expand description

MARCH self-check quality pipeline.

Provides post-response factual consistency checking via a two-stage Proposer → Checker pipeline.

See pipeline::SelfCheckPipeline for the entry point.

Re-exports§

pub use config::QualityConfig;
pub use pipeline::SelfCheckPipeline;
pub use types::SelfCheckReport;

Modules§

checker
Checker stage: verify assertions against retrieved evidence.
config
Configuration types for the MARCH self-check quality pipeline.
parser
Best-effort JSON parser with one retry for use in the self-check pipeline.
pipeline
SelfCheckPipeline: orchestrates the Proposer → Checker MARCH pipeline.
prompts
Prompt templates for the self-check pipeline.
proposer
Proposer stage: extract factual assertions from an assistant response.
types
Data types for the MARCH self-check pipeline.

Structs§

RetrievedContext
Collected retrieved-memory context for a single turn.