Text output from a LLM.
This typically represents the main text content of a message, such as the response from a language model or the text of a user message.
create_text_block may also be used as a factory to create a
TextContentBlock. Benefits include:
TextContentBlock()Type of the content block. Used for discrimination.
Unique identifier for this content block.
Either:
UUID4 prefixed with 'lc_'))Block text.
Citations and other annotations.
Index of block in aggregate response. Used during streaming.
Provider-specific metadata.