# `Imp.Adapter.Types.Document`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/adapter/types.ex#L243)

A text document given to the model as its own content part.

`metadata`, when not empty, renders as a prefix before `text`.

# `t`

```elixir
@type t() :: %Imp.Adapter.Types.Document{metadata: map(), text: String.t()}
```

---

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