asText
Casts this AssistantMessageBlock as a Text and retrieves its kotlin.String value. Throws an exception if the AssistantMessageBlock is not a Text.
Casts this AssistantMessageBlock as a Text and retrieves its kotlin.String value. Throws an exception if the AssistantMessageBlock is not a Text.