# `LlmComposer.Helpers`
[🔗](https://github.com/doofinder/llm_composer/blob/master/lib/llm_composer/helpers.ex#L1)

Provides helper functions for the `LlmComposer` module for handling language model responses.

# `json_engine`

```elixir
@spec json_engine() :: module()
```

Returns the configured JSON engine module.

Reads `:json_engine` from application config. Defaults to `JSON` if available,
otherwise falls back to `Jason`.

# `normalize_json`

```elixir
@spec normalize_json(term()) :: term()
```

Normalizes JSON-like decoded data into maps with string keys.

This handles decoders that may emit ordered objects as lists of `{key, value}`
tuples or maps keyed by atoms.

---

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