Skip to content

From Messages

Purpose of the Node

The From Messages node takes a list of chat messages and a model name as input, and outputs a structured chat history. This node is useful for integrating chat histories into generative AI applications.

Pins

The From Messages node has the following pins:

Pin NamePin DescriptionPin TypeValue Type
Model NameThe name of the AI model used in the chat.StringMap
MessagesAn array of chat messages. Each message is a struct containing the sender’s name and the message content.StructArray
HistoryThe resulting chat history.StructNormal