Current section

Files

Jump to
liter_llm lib liter_llm user_content.ex
Raw

lib/liter_llm/user_content.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4685b97575f1ddb0a83554a97b65aa5936283420ed37f567b82618c4e3de7d0d
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule LiterLlm.UserContent do
@moduledoc "User message content as either plain text or a list of multimodal parts."
@typedoc "User message content as either plain text or a list of multimodal parts."
@type t :: term()
@typedoc "Plain text content."
@type text :: %{type: :text, value: String.t()}
@typedoc "Array of content parts (text, images, documents, audio)."
@type parts :: %{type: :parts, value: [map()]}
end