PlainTextContentBlock#

class langchain_core.messages.content_blocks.PlainTextContentBlock[source]#

Content block for plain text data (e.g., from a document).

mime_type: NotRequired[str]#
type: Literal['file']#

Type of the content block.

source_type: Literal['text']#

Source type (text).

text: str#

Text data.