@@ -198,26 +198,27 @@ message DetectIntentResponse {
198198//
199199// Multiple request messages should be sent in order:
200200//
201- // 1. The first message must contain
202- // [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session],
203- // [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally
204- // [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client
205- // wants to receive an audio response, it should also contain
206- // [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config].
201+ // 1. The first message must contain
202+ // [session][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.session],
203+ // [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] plus optionally
204+ // [query_params][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_params]. If the client
205+ // wants to receive an audio response, it should also contain
206+ // [output_audio_config][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.output_audio_config].
207207//
208208// 2. If [query_input][google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest.query_input] was set to
209- // [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages
210- // must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with
211- // Speech recognition.
212- // If you decide to rather detect an intent from text
213- // input after you already started Speech recognition, please send a message
214- // with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text].
209+ // [query_input.audio.config][google.cloud.dialogflow.cx.v3beta1.AudioInput.config], all subsequent messages
210+ // must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3beta1.AudioInput.audio] to continue with
211+ // Speech recognition.
212+ // If you decide to rather detect an intent from text
213+ // input after you already started Speech recognition, please send a message
214+ // with [query_input.text][google.cloud.dialogflow.cx.v3beta1.QueryInput.text].
215215//
216- // However, note that:
217- // * Dialogflow will bill you for the audio duration so far.
218- // * Dialogflow discards all Speech recognition results in favor of the input
219- // text.
220- // * Dialogflow will use the language code from the first message.
216+ // However, note that:
217+ //
218+ // * Dialogflow will bill you for the audio duration so far.
219+ // * Dialogflow discards all Speech recognition results in favor of the
220+ // input text.
221+ // * Dialogflow will use the language code from the first message.
221222//
222223// After you sent all input, you must half-close or abort the request stream.
223224message StreamingDetectIntentRequest {
0 commit comments