Skip to content

Prescriptions API

Prescription

The Prescription object is generated by the PrescriptionEngine when it maps a WARNING or CRITICAL finding to an actionable recovery plan from the knowledge base.

class Prescription(BaseModel):
    id: str
    finding_title: str
    dimension: str
    recommendation: str
    implementation_steps: List[str]
    estimated_gains: str
    confidence: str

Properties

  • id: Unique identifier for the prescription rule (e.g., OVR-001).
  • finding_title: The exact title of the finding that triggered this prescription.
  • dimension: The diagnostic category (e.g., Overfitting Risk).
  • recommendation: High-level summary of what must be done.
  • implementation_steps: A bulleted list of actionable engineering steps.
  • estimated_gains: Expected impact of the fix.
  • confidence: Likelihood that applying the fix will resolve the symptom.