# `Dsxir.Adapter.Chat`

Chat adapter: prompts the LM with `[[ ## field ## ]]` markers and parses the
response by splitting on those markers, JSON-decoding typed fields, and
validating each output through its Zoi schema.

Returns `{:ok, map}` on success or `{:error, %Dsxir.Errors.Adapter.* {}}` on
malformed output. No fallback to other adapters happens here.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
