Represents a single message in an AI conversation.
Summary
Types
@type role() :: :system | :user | :assistant | :tool
@type t() :: %PhoenixAI.Message{ content: String.t() | nil, metadata: map(), role: role(), tool_call_id: String.t() | nil, tool_calls: [PhoenixAI.ToolCall.t()] | nil }