Base64ContentBlock#

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

Content block for inline data from a base64 string.

mime_type: NotRequired[str]#
type: Literal['image', 'audio', 'file']#

Type of the content block.

source_type: Literal['base64']#

Source type (base64).

data: str#

Data as a base64 string.