Skip to content

Set History Max Tokens

Purpose of the Node

This node sets the max_tokens attribute in a ChatHistory by receiving the ChatHistory and the desired max tokens value as inputs.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiate ExecutionExecutionN/A
HistoryChatHistoryStructArray
Max TokensMax Tokens ValueIntegerN/A
EndDone with the ExecutionExecutionN/A
HistoryUpdated ChatHistoryStructArray