Imp.Adapter.Types.Document (Imp v0.5.0)

Copy Markdown View Source

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

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

Summary

Types

t()

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