getPrompt
The getPrompt
method gets the prompt part of a routingTable
object. A routingTable
object is a prompt string, and an array of LuaConditionalRoutingRules
objects, which map some input text to a task.
In the case of a disambiguation Lua script, the prompt is initially the configured disambiguation message.
Syntax
getPrompt()
Returns
(string) The prompt text.
Example
local text = routingTable:getPrompt()