Skip to content

Set History N

Purpose of the Node

The Set History N node is used to modify the n attribute of a ChatHistory object. It takes an input ChatHistory, an integer N, and outputs the updated ChatHistory.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiates the execution of the nodeStructExecution
HistoryThe input ChatHistory objectStructHistory
NThe integer value to set for the n attributeIntegerNormal
EndIndicates the completion of the node’s executionStructExecution
HistoryOutputs the updated ChatHistory objectStructHistory