Skip to content

Set History Top P

Purpose of the Node

This node updates the top_p attribute in a ChatHistory. It takes the current ChatHistory and a top_p value as inputs and outputs the updated ChatHistory.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiates the execution of the nodeExecutionN/A
HistoryThe ChatHistory to be updatedStructHistory
Top PThe top_p value to setFloatN/A
EndIndicates the completion of the executionExecutionN/A
HistoryThe updated ChatHistoryStructHistory