Skip to main content

TextPacket

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from InworldPacket

The "TextPacket" serves as the foundation for transmitting textual content within the Inworld system.

VariablesDescription
textThe TextEvent encapsulated within the packet.

TextEvent

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
textThe textual content contained in this packet.
sourceTypeSpecifies whether the packet originates from typing or speech input.
finalIndicates whether this packet marks the conclusion of the interaction.