Module: Google::Cloud::Dialogflow::V2::ConversationEvent::Type
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/conversation_event.rb
Overview
Enumeration of the types of events available.
Constant Summary collapse
- TYPE_UNSPECIFIED =
Type not set.
0
- CONVERSATION_STARTED =
A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.
1
- CONVERSATION_FINISHED =
An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.
2
- HUMAN_INTERVENTION_NEEDED =
An existing conversation has received notification from Dialogflow that human intervention is required.
3
- NEW_MESSAGE =
An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config
5
- NEW_RECOGNITION_RESULT =
An existing conversation has received a new speech recognition result. This is mainly for delivering intermediate transcripts. The notification is configured in [ConversationProfile.new_recognition_event_notification_config][].
7
- UNRECOVERABLE_ERROR =
Unrecoverable error during a telephone call.
In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding.
We don't fire this event:
- in an API call because we can directly return the error, or,
- when we can recover from an error.
4