AI Detection
Last updated
Last updated
This action will forward any user text to an existing AI trained assistant. The conversation will not hold and will continue with all other actions.
The action uses the following settings:
The user_prompt variable will be set to the value of the current user text. You can use the prompt field to add additional information to each user text so that AI reply is more detailed and related to the context of the current conversation.
If Auto-Generate content flag is enabled, the AI reply is returned to the chat directly. If you want to take control of the answer disable the Auto-Generate flag and use the ai_reply_content variable to access the text.
If Split Paragraphs is selected, the returned text will be automatically split into multiple bubbles. If Auto-Generate content is enabled, the Split Paragraph flag will have no effect.
AI exchanges will be kept in a thread so that users can ask follow up questions and refine the results with additional information. Clear the ai_conversation_thread content to reset the current thread information and start a new thread.
Depending on the type of model and the specific AI provider selected it might take several seconds for the service to produce a complete answer.
On Reply Received. This action will trigger any child operation as soon as the result is available. This trigger will not be executed if the "Auto-Generate Content" flag is enabled.
This action produces the following variables after being triggered:
This action can be used only at Bot Global level or Behavior level.
Variable
Description
ai_conversation_thread
The thread id of the current conversation
ai_reply_content
The raw JSON reply of the last request
Channel
Availability
Fully Available.
Fully Available.
Telegram
Fully Available.
Web
Fully Available.
Alexa
Not Available. Out of AI Detection is not supported inside skills.
Google Assistant
Fully Available.
Slack
Fully Available.
API
Fully Available.
Setting
Description
Prompt
The prompt forwarded to the AI provider
Auto-Generate Content
If enabled, Xenioo will automatically generate any required bubble to display the AI reply
Split Paragraphs
If enabled, Xenioo will follow the AI reply line break to generate multiple bubbles