google-cloud-dialogflow-v2 0.11.3 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e42639a68d360c1a6931228d89c59d25ef302c5a004079e2d3126a147815ecd1
|
4
|
+
data.tar.gz: f6448a0999113c3105ab2e6600a9f43fcde6ec166636fd49e5a146b7812dbcda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da841cda52712d07d32576facdc5b96460c7a17f1f6dc4f23527d01f2c7d118e08670b32a551763eda77495275d6d5779e3cd98606925bcc98863c18008289de
|
7
|
+
data.tar.gz: 2d0af294ce9b58889ee049f4147431d78bb9460d53fb299450a4dde5476b230a0b617eff9dd0950d5186a76dcf4bb937c4bee33c2e03fdaf11ff6d7a46f988e0
|
@@ -126,13 +126,14 @@ module Google
|
|
126
126
|
# Not specified. This value should never be used.
|
127
127
|
TIER_UNSPECIFIED = 0
|
128
128
|
|
129
|
-
# Standard
|
129
|
+
# Trial Edition, previously known as Standard Edition.
|
130
130
|
TIER_STANDARD = 1
|
131
131
|
|
132
|
-
# Enterprise
|
132
|
+
# Essentials Edition, previously known as Enterprise Essential Edition.
|
133
133
|
TIER_ENTERPRISE = 2
|
134
134
|
|
135
|
-
#
|
135
|
+
# Essentials Edition (same as TIER_ENTERPRISE), previously known as
|
136
|
+
# Enterprise Plus Edition.
|
136
137
|
TIER_ENTERPRISE_PLUS = 3
|
137
138
|
end
|
138
139
|
end
|
@@ -406,10 +406,11 @@ module Google
|
|
406
406
|
#
|
407
407
|
# Multiple response messages can be returned in order:
|
408
408
|
#
|
409
|
-
# 1. If the
|
410
|
-
#
|
411
|
-
#
|
412
|
-
#
|
409
|
+
# 1. If the `StreamingDetectIntentRequest.input_audio` field was
|
410
|
+
# set, the `recognition_result` field is populated for one
|
411
|
+
# or more messages.
|
412
|
+
# See the {::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult StreamingRecognitionResult} message for details
|
413
|
+
# about the result message sequence.
|
413
414
|
#
|
414
415
|
# 2. The next message contains `response_id`, `query_result`
|
415
416
|
# and optionally `webhook_status` if a WebHook was called.
|
@@ -450,35 +451,39 @@ module Google
|
|
450
451
|
# that is currently being processed or an indication that this is the end
|
451
452
|
# of the single requested utterance.
|
452
453
|
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
454
|
+
# While end-user audio is being processed, Dialogflow sends a series of
|
455
|
+
# results. Each result may contain a `transcript` value. A transcript
|
456
|
+
# represents a portion of the utterance. While the recognizer is processing
|
457
|
+
# audio, transcript values may be interim values or finalized values.
|
458
|
+
# Once a transcript is finalized, the `is_final` value is set to true and
|
459
|
+
# processing continues for the next transcript.
|
460
|
+
#
|
461
|
+
# If `StreamingDetectIntentRequest.query_input.audio_config.single_utterance`
|
462
|
+
# was true, and the recognizer has completed processing audio,
|
463
|
+
# the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the
|
464
|
+
# following (last) result contains the last finalized transcript.
|
465
|
+
#
|
466
|
+
# The complete end-user utterance is determined by concatenating the
|
467
|
+
# finalized transcript values received for the series of results.
|
468
|
+
#
|
469
|
+
# In the following example, single utterance is enabled. In the case where
|
470
|
+
# single utterance is not enabled, result 7 would not occur.
|
471
|
+
#
|
472
|
+
# ```
|
473
|
+
# Num | transcript | message_type | is_final
|
474
|
+
# --- | ----------------------- | ----------------------- | --------
|
475
|
+
# 1 | "tube" | TRANSCRIPT | false
|
476
|
+
# 2 | "to be a" | TRANSCRIPT | false
|
477
|
+
# 3 | "to be" | TRANSCRIPT | false
|
478
|
+
# 4 | "to be or not to be" | TRANSCRIPT | true
|
479
|
+
# 5 | "that's" | TRANSCRIPT | false
|
480
|
+
# 6 | "that is | TRANSCRIPT | false
|
481
|
+
# 7 | unset | END_OF_SINGLE_UTTERANCE | unset
|
482
|
+
# 8 | " that is the question" | TRANSCRIPT | true
|
483
|
+
# ```
|
484
|
+
#
|
485
|
+
# Concatenating the finalized transcripts with `is_final` set to true,
|
486
|
+
# the complete utterance becomes "to be or not to be that is the question".
|
482
487
|
# @!attribute [rw] message_type
|
483
488
|
# @return [::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult::MessageType]
|
484
489
|
# Type of the result message.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|