@o-lang/extractor
v1.0.4
Published
Deterministic risk score extractor for O-Lang workflows, extracts numeric and word-based scores from AI text output with schema validation and confidence scoring
Maintainers
Readme
@olang-mock/risk-score-extractor
Deterministic O-Lang resolver for extracting numeric risk scores from AI text outputs.
Overview
This resolver is designed for O-Lang workflows to extract numeric risk scores from AI output text, such as:
"risk score: 82""score = 90""risk is seventy-five"
It converts textual numbers (like seventy-five) to digits, enforces strict numeric extraction (0–100), and ensures deterministic behavior.
Installation
npm install @olang-mock/risk-score-extractor