Port between external LLM format and internal domain.
Serializes %Extraction{} structs to dynamic-key YAML for prompts,
and normalizes raw LLM output back to canonical format for the parser.
Both directions of the wire format live here on purpose — they share the
dynamic-key _attributes contract. Prompt.Builder uses the encode half;
Pipeline uses the decode half.
Summary
Functions
@spec format_extractions([LangExtract.Extraction.t()]) :: String.t()