SmartCopilotAdapter
Overview
#
# SmartCopilotAdapter
#
[SmartCopilotAdapter.Prompt]
Your task is to identify the action the user wants to execute from the Actions provided below.
```Actions
{{actions}}
```
Each action is defined as follows:
{
"id": "<unique action identifier>"
"name": "<name of the action>",
"text": "<text displayed to the user>",
"description": "<description of the action>",
"actions": [
<array of child actions>
]
}
## Rules:
- Provide your answer without explanations
- You are not allowed to ask additional questions
- Use the "text" and "description" fields to select the most appropriate action
- If you cannot find a match, return null in the "id" field and the explanation in the "steps" field
- Output your response as a JSON object and nothing else
- Your response should be a single JSON object with the following format:
{
"id": "<unique identifier of the action, or null>",
"data": "<additional data extracted from the user’s question>",
"steps": "<brief explanation of the steps the user can click to execute the action>",
"execute": <true if the user wants to execute the action|false if the user just wants help>
}Configuration
Properties
User
BotName
BotAvatar
ChatBox
Events
ExecuteAction
Name
Description
Last updated
