A2A.Part.Text (A2A v0.2.0)

Copy Markdown View Source

A text content part.

Summary

Functions

Creates a new text part.

Types

t()

@type t() :: %A2A.Part.Text{metadata: map(), text: String.t()}

Functions

new(text, metadata \\ %{})

@spec new(String.t(), map()) :: t()

Creates a new text part.