GoogleCloudDialogflowV2SpeechContext class
Hints for the speech recognizer to help with recognition in a specific conversation state.
Constructors
-
GoogleCloudDialogflowV2SpeechContext({double? boost, List<
String> ? phrases}) - GoogleCloudDialogflowV2SpeechContext.fromJson(Map json_)
Properties
- boost ↔ double?
-
Boost for this context compared to other contexts: * If the boost is
positive, Dialogflow will increase the probability that the phrases in
this context are recognized over similar sounding phrases.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
phrases
↔ List<
String> ? -
A list of strings containing words and phrases that the speech recognizer
should recognize with higher likelihood.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited