ACP.ImageContent (agent_client_protocol v0.1.0)

Copy Markdown View Source

An image provided to or from an LLM.

Summary

Types

t()

@type t() :: %ACP.ImageContent{
  annotations: ACP.Annotations.t() | nil,
  data: String.t(),
  meta: map() | nil,
  mime_type: String.t(),
  uri: String.t() | nil
}

Functions

from_json(map)

new(data, mime_type)

to_json(ic)