GitHub

DocumentPart

API reference for DocumentPart.

A document in an AG-UI message's content, with its source.

Attributes

AttributeTypeDescription
typeLiteral['document']
idNotRequired[str]
sourcePartSource
metadataNotRequired[object]