/AWS1/CL_LM2ALYSUTTERANCEFILT¶
Contains fields describing a condition by which to filter the utterances. The expression may be understood as name
operator
values
. For example:
-
LocaleId EQ Book
– The locale is the string "en". -
UtteranceText CO help
– The text of the utterance contains the string "help".
The operators that each filter supports are listed below:
-
BotAlias
–EQ
. -
BotVersion
–EQ
. -
LocaleId
–EQ
. -
Modality
–EQ
. -
Channel
–EQ
. -
SessionId
–EQ
. -
OriginatingRequestId
–EQ
. -
UtteranceState
–EQ
. -
UtteranceText
–EQ
,CO
.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
IV_NAME
TYPE /AWS1/LM2ALYSUTTERANCEFILTNAME
/AWS1/LM2ALYSUTTERANCEFILTNAME
¶
The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
IV_OPERATOR
TYPE /AWS1/LM2ALYSFILTEROPERATOR
/AWS1/LM2ALYSFILTEROPERATOR
¶
The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less thanThe operators that each filter supports are listed below:
BotAlias
–EQ
.
BotVersion
–EQ
.
LocaleId
–EQ
.
Modality
–EQ
.
Channel
–EQ
.
SessionId
–EQ
.
OriginatingRequestId
–EQ
.
UtteranceState
–EQ
.
UtteranceText
–EQ
,CO
.
IT_VALUES
TYPE /AWS1/CL_LM2ALYSFILTERVALUES_W=>TT_ANALYTICSFILTERVALUES
TT_ANALYTICSFILTERVALUES
¶
An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is
EQ
orCO
. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if thename
,operator
, andvalues
fields areModality
,EQ
, and[Speech, Text]
, the operation filters for results where the modality was eitherSpeech
orText
.
Queryable Attributes¶
name¶
The category by which to filter the utterances. The descriptions for each option are as follows:
BotAlias
– The name of the bot alias.
BotVersion
– The version of the bot.
LocaleId
– The locale of the bot.
Modality
– The modality of the session with the bot (audio, DTMF, or text).
Channel
– The channel that the bot is integrated with.
SessionId
– The identifier of the session with the bot.
OriginatingRequestId
– The identifier of the first request in a session.
UtteranceState
– The state of the utterance.
UtteranceText
– The text in the utterance.
Accessible with the following methods¶
Method | Description |
---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
operator¶
The operation by which to filter the category. The following operations are possible:
CO
– Contains
EQ
– Equals
GT
– Greater than
LT
– Less thanThe operators that each filter supports are listed below:
BotAlias
–EQ
.
BotVersion
–EQ
.
LocaleId
–EQ
.
Modality
–EQ
.
Channel
–EQ
.
SessionId
–EQ
.
OriginatingRequestId
–EQ
.
UtteranceState
–EQ
.
UtteranceText
–EQ
,CO
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OPERATOR() |
Getter for OPERATOR, with configurable default |
ASK_OPERATOR() |
Getter for OPERATOR w/ exceptions if field has no value |
HAS_OPERATOR() |
Determine if OPERATOR has a value |
values¶
An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is
EQ
orCO
. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if thename
,operator
, andvalues
fields areModality
,EQ
, and[Speech, Text]
, the operation filters for results where the modality was eitherSpeech
orText
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_VALUES() |
Getter for VALUES, with configurable default |
ASK_VALUES() |
Getter for VALUES w/ exceptions if field has no value |
HAS_VALUES() |
Determine if VALUES has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ANALYTICSUTTERANCEFILTERS
¶
TYPES TT_ANALYTICSUTTERANCEFILTERS TYPE STANDARD TABLE OF REF TO /AWS1/CL_LM2ALYSUTTERANCEFILT WITH DEFAULT KEY
.