class AIMessageChunkBaseMessageChunk<TStructure, "ai">Type guard to check if an object is an AIMessage.
The name of the serializable. Override to provide an alias or
Array of content blocks that make up the message content
An optional identifier for the document.
A path to the module that contains the class, eg. ["langchain", "llms"]
Metadata about the message
Block text.
A path to the module that contains the class, eg. ["langchain", "llms"]
Array of content blocks that make up the message content
An optional identifier for the document.
Ideally this should be unique across the document collection and formatted as a UUID, but this will not be enforced.
A path to the module that contains the class, eg. ["langchain", "llms"] Usually should be the same as the entrypoint the class is exported from.
Metadata about the message
Block text.
Represents a chunk of an AI message, which can be concatenated with other AI message chunks.