Skip to main content

PreviousDialog

This file contains the data used to load the previous dialog.

Classes

ContinuationInfo

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
passedTimeThe time that has passed for the continuation info.

HistoryItem

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
actorThe InworldCharacter who stated the text found in the text field.
textThe text that was stated by the InworldCharacter in the actor field at this point in the conversation history.

DialogHistory

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
historyThe list of the HistoryItem.

Continuation

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
continuationInfoThe ContinuationInfo that send to server.
continuationTypeThe type of the continnuation.
dialogHistoryThe DialogHistory that was before starting with existing conversation.
externallySavedStateState received from server to use later for session continuation.
The state sent in compressed and encrypted format.
Client receives it in bytearray format that's why it is not strongly typed.
But it is strongly typed on server side and can be deserialized to ExternallySavedState.
Client should not modify this state.
PropertiesDescription
IsValidCheck if the current Continuation is ready to send to server.
ToPacketGenerates the ContinuationPacket to send to the Inworld server.

ContinuationEvent

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
continuationThe Continuation to send to server.

ContinuationPacket

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

VariablesDescription
sessionControlThe ContinuationEvent to send to server.
PropertiesDescription
ToJsonGenerates the string of json to send to the Inworld server.