Lightning.AiAssistant.ChatMessage.Segment (Lightning v2.18.0)
View SourceOne entry in an assistant reply's display timeline: a chunk of answer
text, or a completed-action status ("Added step send-to-gmail...") woven
between texts in stream order. Display-only — the flat content field
stays the canonical answer.
Summary
Functions
Maximum length of a single segment's content (matches content's cap).
Types
@type t() :: %Lightning.AiAssistant.ChatMessage.Segment{ content: String.t(), type: :text | :status }