AI Chat
Enables building AI chat pipelines using N2’s graph-based workflows. It lets you define conversational logic, context handling, AI model calls, and responses as interconnected nodes, making chat systems visual, modular, and easy to integrate with other N2 modules.
Dependencies
This module depends on the following modules *:
ai_chat_basen2_ai
*Built-in modules not listed
AiAgentNode
The AI Chat module extends the AiAgentNode to accomodate chat features: streaming chats and chat state management.
Parameters
nameRaw Inheritedsystem_messageRaw InheritedpromptTmpl Inheritedis_html_resultRaw Inheritedis_structuredRaw InheritedschemaRaw Inheritedis_streamingRawis_statefulRaw
AiChatResponderNode
This node is responsible to send responses from AiAgentNode to the frontend.
ManualResponseNode
Use this node to create manual or templated responses.
Parameters
messageTmpl
OnAiChatMessageTriggerNode
This node is to mark the graph as an AI Chat workflow. It also provide an interface to test the chat workflow.