# `Imp.Embeddings`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/embeddings.ex#L1)

Embedding behaviour plus deterministic local bag-of-words embeddings.

Providers must return one numeric vector for each input text, in the same
order. Imp validates that shape at this boundary so retrieval code does not
silently pair a query or document with the wrong vector.

# `embed`

```elixir
@callback embed([String.t()], keyword()) :: {:ok, [[number()]]} | {:error, term()}
```

# `embed`

---

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