Currently available test slots are:
number
: integer numbers between 1 and 10
letter
: uppercase letters between A and Z
greek_letter
: capitalized Greek letters between Alpha and Omega
Specifications for a Slot Web Hook request.
Name of the slot.
Progressive number of the request. It is NOT a unique number, since it is reset each time the Server is restarted, but together with RequestDateTime (and optionally MemoriID) they form a reasonably unique identifier. This property is not used to match a request with cached responses of the same request, i.e.: two requests with identical properties but different RequestID are considered identical.
Timestamp of the request in UTC time zone. This property is not used to match a request with cached responses of the same request, i.e.: two requests with identical properties but different RequestDateTime are considered identical.
Validity of the request, expressed in minutes, i.e. the time the response will be cached and considered valid. After this time the response will be automatically discarded. Two requests are considered identical (and the cached response of the first may be used for the second) if ALL of their parameters are identical EXCEPT RequestID, RequestDateTime and RequestValidityMinutes, and additionally SessionID for IntentWebHookRequest.
ID of the Memori performing the request.
Culture of the request, expressed as a combination of
an ISO-639 language code and an ISO-3166 country code.
E.g. it-IT
or en-US
.
Success
Currently available test intents are:
ECHO
: emits the intent utterance as-is.
TUNNELING_ECHO
: emits the intent utterance as-is
and sets the Tunneling flag to true until an utterance
with "END" is received.
HISTORY_ECHO
: emits the latest transition history line,
the current utterance and a follow up greek letter, and sets the Tunneling flag to true
until an utterance with "END" is received
COMBINE_LETTER_AND_NUMBER
: requires a letter slot and a number slot,
emits the content of the two slots in juxtaposition, e.g. "A10".
DATE_RANGE
: requires a date slot, emits the date range indicated
by the date slot in the format "yyyy/MM/dd - yyyy/MM/dd".
AUTOINCREMENT
: returns a progressive number that increments by 1
each time the intent is called.
FIBONACCI
: returns the next element of the Fibonacci series, using
context variables to store the series progression.
Specifications for an Intent Web Hook request.
Name of the intent.
Intent utterance as received by the Dialog State Machine.
If Null
the Intent is being called on a Timeout event.
ID of the session where the request is being performed. This property is not used to match a request with cached responses of the same request, i.e.: two requests with identical properties but different SessionID are considered identical.
Latest tag set with a Tag Changed event. May be Null
if the Memori session is currently anonymous.
True
if the CurrentTag refers to a person and they have
been authenticated through their PIN. False
otherwise.
Latest date/time set with a Date Changed event. May be Null
if the Memori session has no date/time set.
Time zone of the request, expressed as a TZ database name.
E.g. Europe/Rome
or America/Los_Angeles
.
Should be considered when the request depends on a date/time,
since they are always specified in the UTC time zone.
Beginning of the date/time range the request refers to. If the
intent uses the date
slot, this corresponds to the
initial timestamp of the date range. E.g. for "today" it is set
to the instant of midnight of the current day, in the UTC time zone.
If the intent does not use the date
slot, BeginUTC
and EndUTC
are set by default to the date range of today.
Ending of the date/time range the request refers to. If the
intent uses the date
slot, this corresponds to the
final timestamp of the date range. E.g. for "today" it is set
to the instant of midnight of the next day, in the UTC time zone.
If the intent does not use the date
slot, BeginUTC
and EndUTC
are set by default to the date range of today.
E-mail address of the current user, if available.
Progressive number of the request. It is NOT a unique number, since it is reset each time the Server is restarted, but together with RequestDateTime (and optionally MemoriID) they form a reasonably unique identifier. This property is not used to match a request with cached responses of the same request, i.e.: two requests with identical properties but different RequestID are considered identical.
Timestamp of the request in UTC time zone. This property is not used to match a request with cached responses of the same request, i.e.: two requests with identical properties but different RequestDateTime are considered identical.
Validity of the request, expressed in minutes, i.e. the time the response will be cached and considered valid. After this time the response will be automatically discarded. Two requests are considered identical (and the cached response of the first may be used for the second) if ALL of their parameters are identical EXCEPT RequestID, RequestDateTime and RequestValidityMinutes, and additionally SessionID for IntentWebHookRequest.
ID of the Memori performing the request.
Culture of the request, expressed as a combination of
an ISO-639 language code and an ISO-3166 country code.
E.g. it-IT
or en-US
.
Success