@acedatacloud/node-red-aichat 1.0.1

Start, continue, and retrieve an Ace Chat conversation in a Node-RED flow.

npm install @acedatacloud/node-red-aichat

Ace Chat conversations for Node-RED

Start a text conversation, continue it with the original ID, or retrieve its saved messages. Ace Chat stores conversation history for the same account.

Install

Search for @acedatacloud/node-red-aichat in Manage palette → Install. You can also install it with npm install @acedatacloud/node-red-aichat in your Node-RED user directory and restart Node-RED. Use Node.js 22 or later with Node-RED 4 or 5.

Start a conversation

  1. Open Import → Examples → @acedatacloud/node-red-aichat and select Ask Ace Chat.
  2. Open Ace Chat and configure an application token with API access. Copy the raw token from Ace Data Cloud Applications. Node-RED stores the token as a password credential outside the exported flow.
  3. Set a published model available to your application and deploy the flow. Click Example prompt once to send the request. Usage may consume Credits at the selected model's rates.

Send an object in msg.payload for one action on POST /aichat2/conversations.

Action Example input Result
Start {"model":"gpt-4.1-mini","question":"Explain a rainbow in one sentence."} Original conversation id, answer, and usage when supplied
Continue {"id":"original-id","model":"gpt-4.1-mini","question":"Make that simpler."} The same id and the new answer
Retrieve {"action":"retrieve","id":"original-id"} The same id and its saved messages

The node keeps conversation history with stateful: true and sets empty skill and MCP allowlists. Send your own question on each turn. Each input sends one non-streaming request. Keep the ID and history within your flow. Connect a Catch node for request errors or an unfinished turn. When the original ID is known, msg.aceConversationId is available for a later lookup.

Public Ace Chat API contract

Node Info

Version: 1.0.1
Updated 4 days ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • acedatacloud-aichat-account
  • acedatacloud-aichat-conversation

Keywords

  • node-red
  • aichat
  • chat
  • acedatacloud

Maintainers