Skip to main content

AI Assistant API Exposure

Send AI message function

After using an AI assistant in a page, there will be a Send AI Message function on the page. The function has the following parameters:

  • Message Content: The text message content to be sent
  • Start New Conversation: When enabled, it will open a new conversation record and send the message. If not enabled, it will send the message in the currently open conversation; if the assistant is paused at a workspace human-machine interaction node at this time, the process will resume.
  • Custom Parameters: Custom input parameters configured on the AI assistant

For calling methods, refer to Sending AI Messages in Pages

Calling AI assistant within application

In frontend pages, backend services/model functions can directly call AI assistants.

Important Notes

When calling AI assistants through API methods, please note the following limitations:

Calling method limitations:

  • Currently only supports non-streaming calls (synchronous calls)
  • Streaming call functionality is under development, stay tuned

Applicable scenario limitations:

  • Only supports calling AI assistants with automated processes
  • Does not support calling AI assistant processes that include Action In Conversation/Page nodes
  • Ensure the AI assistant process can execute completely automatically without human intervention

Usage recommendations:

  • Before calling, please confirm that the AI assistant process is designed for pure automated execution
  • For human-machine interaction functionality, it is recommended to use the "Send AI Message" function on the frontend page

External AI assistant calling

coming soon...