Behavior EngineNodesAi
Read LLM Stream
Reads current OpenAI ChatCompletionSnapshot and completion state from an LLM stream.
Inputs
The inputs required to configure this node.
Outputs
The payload this node emits after execution.
SnapshotDetails
The current OpenAI ChatCompletionSnapshot or final ChatCompletion.
SnapshotChoice
SnapshotChoiceMessage
Prune Text
Truncates a given text to fit within a specific token budget, iteratively calculating character density to ensure the token boundary is met.
End If
Closes a branch opened by an If node. Note that this is not necessary if you don't need to do something else after the if statement for a particular branch.