ConduitActionAttribute
(
intent
, aliases
)
|
Triggers a method to be executed if it matches a voice command's intent.
Signature
Meta.Conduit.ConduitActionAttribute.ConduitActionAttribute(string intent="", params string[] aliases) Parameters intent: stringÂ
The name of the intent to match.
aliases: params string [] |
ConduitActionAttribute
(
intent
, minConfidence
, maxConfidence
, validatePartial
, aliases
)
|
Triggers a method to be executed if it matches a voice command's intent.
Signature
Meta.Conduit.ConduitActionAttribute.ConduitActionAttribute(string intent="", float minConfidence=DEFAULT_MIN_CONFIDENCE, float maxConfidence=DEFAULT_MAX_CONFIDENCE, bool validatePartial=false, params string[] aliases) Parameters intent: stringÂ
The name of the intent to match.
minConfidence: floatÂ
The minimum confidence value (0-1) needed to match.
maxConfidence: floatÂ
The maximum confidence value(0-1) needed to match.
validatePartial: boolÂ
When true will validate partial matches.
aliases: params string []Â
Other names to refer to this intent.
|
DEFAULT_MAX_CONFIDENCE
: const float |
Signature
const float Meta.Conduit.ConduitActionAttribute.DEFAULT_MAX_CONFIDENCE |
DEFAULT_MIN_CONFIDENCE
: const float |
Signature
const float Meta.Conduit.ConduitActionAttribute.DEFAULT_MIN_CONFIDENCE |
Aliases
: List< string >
[Get] |
Additional aliases to refer to the intent this method represent.
Signature
List<string> Meta.Conduit.ConduitActionAttribute.Aliases |
Intent
: string
[Get] |
The intent name matching this method. If left blank, the method name will be used to infer the intent name.
Signature
string Meta.Conduit.ConduitActionAttribute.Intent |
MaxConfidence
: float
[Get] |
The maximum confidence value for intent matching
Signature
float Meta.Conduit.ConduitActionAttribute.MaxConfidence |
MinConfidence
: float
[Get] |
The minimum confidence value for intent matching
Signature
float Meta.Conduit.ConduitActionAttribute.MinConfidence |
ValidatePartial
: bool
[Get] |
If true, this will be called for partial responses instead of full responses. It will also contain a VoiceSession parameter which can be used to 'validate' a partial response so the VoiceSession treats the response as final & deactivates.
Signature
bool Meta.Conduit.ConduitActionAttribute.ValidatePartial |