---
url: 'https://sema-lang.com/feature/extraction.md'
description: >-
  Pass a schema, get back a typed Sema map. The schema is both the instruction
  to the model and the validator for the response. When the output doesn't
  match, the LLM fixes its own mistake.
---

