Rasa
Connect a call to a Rasa assistant
Parameters
URL to connect to the Rasa assistant using the RestInput channel.
A webhook that is called when the Rasa verb completes.
A webhook that is called when the Rasa assistant returns either a user message or a bot message.
An initial greeting to play to the user.
If provided, the speech recognition settings to use (defaults to application settings).
Array of words or phrases to assist speech detection.
Language code to use for speech detection.
Defaults to the application-level setting or 'en-US'
if not set.
If true, filter profanity from speech transcription.
Default: false
.
Speech vendor to use (currently only Google is supported).
If provided, audio prompts will be played using these text-to-speech choices rather than the application defaults.
(Google only) MALE, FEMALE, or NEUTRAL.
Language code to use.
Speech vendor to use: Google, AWS (alias: Polly), or default
(for application default).
Voice to use. Note that the voice list differs depending on whether you are using AWS or Google.
Defaults to the application setting, if provided.
actionHook properties
The actionHook webhook will contain the following additional parameters:
rasaResult
: the completion reason:caller hungup
- the caller hungupredirect
- a new application was returned from an event webhook and is now being executedtimeout
- the user did not respond to a promptwebhookError
- an error was received attempting to call an event webhook
eventHook properties
The eventHook webhook will contain two parameters: event
and message
.
The event
parameter will be either userMessage
or botMessage
depending on whether
the message comes from the user or the rasa assistant, and message
will contain the message itself.
Your event webhook may return a new application in a json payload, in which case the call
will be redirected to that application.