Skip to content

Clear History

Purpose of the Node

The Clear History node is designed to clear all messages from a given ChatHistory. It accepts an input with the current ChatHistory and outputs a new ChatHistory with all messages removed.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiate ExecutionExecutionNone
HistoryChatHistory to be clearedStructHistory
EndDone with the ExecutionExecutionNone
HistoryCleared ChatHistoryStructHistory