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: 949fb8e5aef019ead5a65a5dc58e25ded3dbf68b36400080dda042be7fb2a79d
4
- data.tar.gz: f10d01772f7569f0070f454d123c8a725cacadb81ff6a27f4abdfcf4d060c043
3
+ metadata.gz: e42639a68d360c1a6931228d89c59d25ef302c5a004079e2d3126a147815ecd1
4
+ data.tar.gz: f6448a0999113c3105ab2e6600a9f43fcde6ec166636fd49e5a146b7812dbcda
5
5
  SHA512:
6
- metadata.gz: a07bad0cf7be8314a7184423939fab647b172a8c197a4a09ca32cda6c7c2aaf9f7537b96fbf54e8ed6672fccf079c38f084403fae029e48b5660bec28f66aa01
7
- data.tar.gz: 5b7e3ba9714f8aad042a2997692e6766d477978dc3f7db2c0eb3988a8d4edcd7acc91a2962d2fed95bf7ffef2074015f9fa5b855f82e488da06a000a2713f52b
6
+ metadata.gz: da841cda52712d07d32576facdc5b96460c7a17f1f6dc4f23527d01f2c7d118e08670b32a551763eda77495275d6d5779e3cd98606925bcc98863c18008289de
7
+ data.tar.gz: 2d0af294ce9b58889ee049f4147431d78bb9460d53fb299450a4dde5476b230a0b617eff9dd0950d5186a76dcf4bb937c4bee33c2e03fdaf11ff6d7a46f988e0
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.11.3"
24
+ VERSION = "0.11.4"
25
25
  end
26
26
  end
27
27
  end
@@ -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 tier.
129
+ # Trial Edition, previously known as Standard Edition.
130
130
  TIER_STANDARD = 1
131
131
 
132
- # Enterprise tier (Essentials).
132
+ # Essentials Edition, previously known as Enterprise Essential Edition.
133
133
  TIER_ENTERPRISE = 2
134
134
 
135
- # Enterprise tier (Plus).
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 input was set to streaming audio, the first one or more messages
410
- # contain `recognition_result`. Each `recognition_result` represents a more
411
- # complete transcript of what the user said. The last `recognition_result`
412
- # has `is_final` set to `true`.
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
- # Example:
454
- #
455
- # 1. transcript: "tube"
456
- #
457
- # 2. transcript: "to be a"
458
- #
459
- # 3. transcript: "to be"
460
- #
461
- # 4. transcript: "to be or not to be"
462
- # is_final: true
463
- #
464
- # 5. transcript: " that's"
465
- #
466
- # 6. transcript: " that is"
467
- #
468
- # 7. message_type: `END_OF_SINGLE_UTTERANCE`
469
- #
470
- # 8. transcript: " that is the question"
471
- # is_final: true
472
- #
473
- # Only two of the responses contain final results (#4 and #8 indicated by
474
- # `is_final: true`). Concatenating these generates the full transcript: "to be
475
- # or not to be that is the question".
476
- #
477
- # In each response we populate:
478
- #
479
- # * for `TRANSCRIPT`: `transcript` and possibly `is_final`.
480
- #
481
- # * for `END_OF_SINGLE_UTTERANCE`: only `message_type`.
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.3
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-18 00:00:00.000000000 Z
11
+ date: 2021-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common