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.
getPrompt()
(string) The prompt text.
local text = routingTable:getPrompt()
|
|