extract_schema_from_text v1

Input: text (string), schema (JSON object describing desired output shape), optional temperature, timeout_sec.

Updated

Output: { "extracted": <object> } — one JSON object from the assistant, parsed leniently.

Failure modes

  • TransportFailure — chat transport errors.
  • ParseFailure — assistant output not valid JSON.
  • SchemaFailure — input or output rejected vs contract schemas.
  • GatewayFailure — upstream/provider errors.

Verification

Task-internal validation and JSON schema checks per contract.json verification_policy.

Changelog

  • v1 — Maintained in catalog; see git history for semantic changes.