Skip to main content
Overview > Inworld Graph Runtime Data > Inworld Graph Runtime Data Event History Class: UInworldGraphRuntimeData_EventHistory | Inherits from: UInworldGraphRuntimeData Runtime data class for managing event history in Inworld graphs. This class creates and manages an event history system that tracks various types of events (primarily speech events) during graph execution. It provides functionality for adding, retrieving, and formatting event history with configurable capacity and formatting options.

Methods

Reference

AddGenericEvent

Adds a generic event to the event history. This function stores the provided text event and appends it to the history. If the history reaches its capacity, the oldest event is removed. AddGenericEvent Blueprint Node

Examples

Parameters


AddSpeechEvent

Adds a speech event to the event history. This function records a speech event, storing the agent’s name and utterance. The event is formatted based on the SpeechEventFormatter and appended to the history. If the history reaches its capacity, the oldest event is removed. AddSpeechEvent Blueprint Node

Examples

Parameters


Clear

Clear the event history. This function removes all stored events and resets the history string. Clear Blueprint Node

Examples


DebugDumpEventHistory

Outputs debug information about the event history to the console. This function prints detailed information about the current event history state, including all stored events, for debugging and development purposes. DebugDumpEventHistory Blueprint Node

Examples


GetHistoryEventData

Retrieves the speech event history as structured data. GetHistoryEventData Blueprint Node

Examples

Returns

Type: FInworldHistoryEventData Description: Structured event history data containing all speech events

GetHistoryString

Retrieves the full event history as a formatted string. This function returns a concatenated string representation of all stored events. GetHistoryString Blueprint Node

Examples

Returns

Type: const FString& Description: A reference to the history string containing all recorded events.

GetSpeechEvents

Retrieves the speech event history. This function returns a representation of all stored speech events. GetSpeechEvents Blueprint Node

Examples

Returns

Type: const TArray<FInworldEventSpeech>& Description: A reference to the history containing all recorded speech events.

Set

Sets the initial event history data table. Set Blueprint Node

Examples

Parameters