# `Jido.Runic.Examples.Studio.Actions.Helpers`
[🔗](https://github.com/agentjido/jido_runic/blob/v1.0.0/examples/studio/actions/helpers.ex#L1)

Thin wrappers over ReqLLM helpers used by studio actions to keep examples tidy.

# `generate_object`

```elixir
@spec generate_object(String.t(), map() | keyword(), keyword()) ::
  {:ok, map()} | {:error, term()}
```

Generate a structured object adhering to `schema`.

Accepts a string `prompt`, a schema map/keyword expected by ReqLLM, and optional
generation overrides.

Supports optional `:model` override (defaults to `:fast`).
Returns `{:ok, map}` or `{:error, reason}`.

# `llm_call`

```elixir
@spec llm_call(
  String.t(),
  keyword()
) :: {:ok, String.t()} | {:error, term()}
```

Generate free-form text from an LLM model alias.

Accepts a `prompt` string and optional overrides for generation opts
(`:max_tokens`, `:temperature`, etc).

Supports optional `:model` override (defaults to `:fast`).
Returns `{:ok, text}` or `{:error, reason}`.

---

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