Skip to content

Get System Prompt

Purpose of the Node

The Get System Prompt node retrieves the system prompt message from a provided ChatHistory. This is useful for scenarios where you need to process or analyze the system instructions given in a chat session.

Pins

Pin NamePin DescriptionPin TypeValue Type
historyInput chat history to search for the system promptStructChatHistory
system_promptOutput: The found system prompt messageStructHistoryMessage
successOutput: Boolean indicating if the system prompt was foundBooleanBoolean