Dsxir.Adapter.Chat (dsxir v0.1.0)

Copy Markdown

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.