PlainTextContentBlock()Plaintext data (e.g., from a .txt or .md document).
A PlainTextContentBlock existed in langchain-core<1.0.0. Although the
name has carried over, the structure has changed significantly. The only shared
keys between the old and new versions are type and text, though the
type value has changed from 'text' to 'text-plain'.
Title and context are optional fields that may be passed to the model. See Anthropic example.
create_plaintext_block may also be used as a factory to create a
PlainTextContentBlock. Benefits include: