# `Jido.AI.Directive.LLMEmbed`
[🔗](https://github.com/agentjido/jido_ai/blob/v2.4.0/lib/jido_ai/directive/llm_embed.ex#L1)

Directive asking the runtime to generate embeddings via ReqLLM.

Uses `ReqLLM.Embedding.embed/3` for embedding generation. The runtime will
execute this asynchronously and send the result as a `ai.embed.result` signal.

Supports both single text and batch embedding (list of texts).

# `t`

```elixir
@type t() :: %Jido.AI.Directive.LLMEmbed{
  dimensions: nil | integer(),
  id: binary(),
  metadata: map(),
  model: binary(),
  texts: any(),
  timeout: nil | integer()
}
```

# `new!`

Create a new LLMEmbed directive.

---

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