This node creates Messages, which can include text and/or image content. These messages can be assigned specific roles such as User, AI, or Tool. It is possible to select columns from the input table to generate messages with mixed content, including both text and image data. Additionally, the node supports embedding tool calls within the AI messages. The input table is processed row by row, converting each row into a Message with one or multiple content parts.
Message types:
- User Message : Contains text and/or image content provided by the user and is assigned the User role. These messages are used to represent user input.
- AI Message : Contains text and/or image content, assigned the AI role, and may include tool calls. Tool calls specify the tool name, ID, and arguments. These messages are used to represent AI-generated responses or actions, including invoking tools for specific tasks.
- Tool Message : Contains text and/or image content, assigned the Tool role, and includes the tool call ID. These messages represent outputs or responses from tools invoked.