google-cloud-dialogflow 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow.rb +12 -130
- data/lib/google/cloud/dialogflow/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 457d3e95211ea5c4c381f1317faab8b4a7e12c93a6176e5eeda6b4df85959854
|
4
|
+
data.tar.gz: 5a4df653daeb713eb22a2d3a080899e5cb377009f53eb727154affac4718e97e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 459fb1606ab1f9f5dbaad41d7a23538da09fa5e7839374757e36bea979f2d165043b4ab2bda448b482a03e89f22d8e73c356b1c04db339a59430aac5b2cd6026
|
7
|
+
data.tar.gz: f22cc3530f31fb7c56f9258ac92423f55848bfa500229a48e837bf396d224cfa5462edc564e2e4d09e7dea0dd3d029f7814d2feec05d795c470c7be1d7f76059
|
@@ -57,34 +57,7 @@ module Google
|
|
57
57
|
#
|
58
58
|
# ## About Agents
|
59
59
|
#
|
60
|
-
#
|
61
|
-
# that transform user requests into actionable data. You can include agents
|
62
|
-
# in your app, product, or service to determine user intent and respond to the
|
63
|
-
# user in a natural way.
|
64
|
-
#
|
65
|
-
# After you create an agent, you can add Intents, Contexts,
|
66
|
-
# Entity Types, Webhooks, and so on to
|
67
|
-
# manage the flow of a conversation and match user input to predefined intents
|
68
|
-
# and actions.
|
69
|
-
#
|
70
|
-
# You can create an agent using both Dialogflow Standard Edition and
|
71
|
-
# Dialogflow Enterprise Edition. For details, see
|
72
|
-
# [Dialogflow
|
73
|
-
# Editions](https://cloud.google.com/dialogflow/docs/editions).
|
74
|
-
#
|
75
|
-
# You can save your agent for backup or versioning by exporting the agent by
|
76
|
-
# using the ExportAgent method. You can import a saved
|
77
|
-
# agent by using the ImportAgent method.
|
78
|
-
#
|
79
|
-
# Dialogflow provides several
|
80
|
-
# [prebuilt
|
81
|
-
# agents](https://cloud.google.com/dialogflow/docs/agents-prebuilt)
|
82
|
-
# for common conversation scenarios such as determining a date and time,
|
83
|
-
# converting currency, and so on.
|
84
|
-
#
|
85
|
-
# For more information about agents, see the
|
86
|
-
# [Dialogflow
|
87
|
-
# documentation](https://cloud.google.com/dialogflow/docs/agents-overview).
|
60
|
+
# Service for managing Agents.
|
88
61
|
#
|
89
62
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
90
63
|
# Defaults to `:v2`.
|
@@ -114,24 +87,7 @@ module Google
|
|
114
87
|
#
|
115
88
|
# ## About Contexts
|
116
89
|
#
|
117
|
-
#
|
118
|
-
# an intent returned by the Dialogflow API. Contexts are helpful for
|
119
|
-
# differentiating user input which may be vague or have a different meaning
|
120
|
-
# depending on additional details from your application such as user setting
|
121
|
-
# and preferences, previous user input, where the user is in your application,
|
122
|
-
# geographic location, and so on.
|
123
|
-
#
|
124
|
-
# You can include contexts as input parameters of a
|
125
|
-
# DetectIntent (or
|
126
|
-
# StreamingDetectIntent) request,
|
127
|
-
# or as output contexts included in the returned intent.
|
128
|
-
# Contexts expire when an intent is matched, after the number of `DetectIntent`
|
129
|
-
# requests specified by the `lifespan_count` parameter, or after 20 minutes
|
130
|
-
# if no intents are matched for a `DetectIntent` request.
|
131
|
-
#
|
132
|
-
# For more information about contexts, see the
|
133
|
-
# [Dialogflow
|
134
|
-
# documentation](https://cloud.google.com/dialogflow/docs/contexts-overview).
|
90
|
+
# Service for managing Contexts.
|
135
91
|
#
|
136
92
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
137
93
|
# Defaults to `:v2`.
|
@@ -161,34 +117,7 @@ module Google
|
|
161
117
|
#
|
162
118
|
# ## About EntityTypes
|
163
119
|
#
|
164
|
-
#
|
165
|
-
# meaningful to your application. For example, a date range, a proper name
|
166
|
-
# such as a geographic location or landmark, and so on. Entities represent
|
167
|
-
# actionable data for your application.
|
168
|
-
#
|
169
|
-
# When you define an entity, you can also include synonyms that all map to
|
170
|
-
# that entity. For example, "soft drink", "soda", "pop", and so on.
|
171
|
-
#
|
172
|
-
# There are three types of entities:
|
173
|
-
#
|
174
|
-
# * **System** - entities that are defined by the Dialogflow API for common
|
175
|
-
# data types such as date, time, currency, and so on. A system entity is
|
176
|
-
# represented by the `EntityType` type.
|
177
|
-
#
|
178
|
-
# * **Custom** - entities that are defined by you that represent
|
179
|
-
# actionable data that is meaningful to your application. For example,
|
180
|
-
# you could define a `pizza.sauce` entity for red or white pizza sauce,
|
181
|
-
# a `pizza.cheese` entity for the different types of cheese on a pizza,
|
182
|
-
# a `pizza.topping` entity for different toppings, and so on. A custom
|
183
|
-
# entity is represented by the `EntityType` type.
|
184
|
-
#
|
185
|
-
# * **User** - entities that are built for an individual user such as
|
186
|
-
# favorites, preferences, playlists, and so on. A user entity is
|
187
|
-
# represented by the SessionEntityType type.
|
188
|
-
#
|
189
|
-
# For more information about entity types, see the
|
190
|
-
# [Dialogflow
|
191
|
-
# documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
|
120
|
+
# Service for managing EntityTypes.
|
192
121
|
#
|
193
122
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
194
123
|
# Defaults to `:v2`.
|
@@ -218,7 +147,7 @@ module Google
|
|
218
147
|
#
|
219
148
|
# ## About Environments
|
220
149
|
#
|
221
|
-
#
|
150
|
+
# Service for managing Environments.
|
222
151
|
#
|
223
152
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
224
153
|
# Defaults to `:v2`.
|
@@ -248,38 +177,7 @@ module Google
|
|
248
177
|
#
|
249
178
|
# ## About Intents
|
250
179
|
#
|
251
|
-
#
|
252
|
-
# be taken by your application. When you pass user input to the
|
253
|
-
# DetectIntent (or
|
254
|
-
# StreamingDetectIntent) method, the
|
255
|
-
# Dialogflow API analyzes the input and searches
|
256
|
-
# for a matching intent. If no match is found, the Dialogflow API returns a
|
257
|
-
# fallback intent (`is_fallback` = true).
|
258
|
-
#
|
259
|
-
# You can provide additional information for the Dialogflow API to use to
|
260
|
-
# match user input to an intent by adding the following to your intent.
|
261
|
-
#
|
262
|
-
# * **Contexts** - provide additional context for intent analysis. For
|
263
|
-
# example, if an intent is related to an object in your application that
|
264
|
-
# plays music, you can provide a context to determine when to match the
|
265
|
-
# intent if the user input is "turn it off". You can include a context
|
266
|
-
# that matches the intent when there is previous user input of
|
267
|
-
# "play music", and not when there is previous user input of
|
268
|
-
# "turn on the light".
|
269
|
-
#
|
270
|
-
# * **Events** - allow for matching an intent by using an event name
|
271
|
-
# instead of user input. Your application can provide an event name and
|
272
|
-
# related parameters to the Dialogflow API to match an intent. For
|
273
|
-
# example, when your application starts, you can send a welcome event
|
274
|
-
# with a user name parameter to the Dialogflow API to match an intent with
|
275
|
-
# a personalized welcome message for the user.
|
276
|
-
#
|
277
|
-
# * **Training phrases** - provide examples of user input to train the
|
278
|
-
# Dialogflow API agent to better match intents.
|
279
|
-
#
|
280
|
-
# For more information about intents, see the
|
281
|
-
# [Dialogflow
|
282
|
-
# documentation](https://cloud.google.com/dialogflow/docs/intents-overview).
|
180
|
+
# Service for managing Intents.
|
283
181
|
#
|
284
182
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
285
183
|
# Defaults to `:v2`.
|
@@ -309,23 +207,7 @@ module Google
|
|
309
207
|
#
|
310
208
|
# ## About SessionEntityTypes
|
311
209
|
#
|
312
|
-
#
|
313
|
-
# meaningful to your application. For example, a date range, a proper name
|
314
|
-
# such as a geographic location or landmark, and so on. Entities represent
|
315
|
-
# actionable data for your application.
|
316
|
-
#
|
317
|
-
# Session entity types are referred to as **User** entity types and are
|
318
|
-
# entities that are built for an individual user such as
|
319
|
-
# favorites, preferences, playlists, and so on. You can redefine a session
|
320
|
-
# entity type at the session level.
|
321
|
-
#
|
322
|
-
# Session entity methods do not work with Google Assistant integration.
|
323
|
-
# Contact Dialogflow support if you need to use session entities
|
324
|
-
# with Google Assistant integration.
|
325
|
-
#
|
326
|
-
# For more information about entity types, see the
|
327
|
-
# [Dialogflow
|
328
|
-
# documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
|
210
|
+
# Service for managing SessionEntityTypes.
|
329
211
|
#
|
330
212
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
331
213
|
# Defaults to `:v2`.
|
@@ -355,10 +237,10 @@ module Google
|
|
355
237
|
#
|
356
238
|
# ## About Sessions
|
357
239
|
#
|
358
|
-
# A
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
240
|
+
# A service used for session interactions.
|
241
|
+
#
|
242
|
+
# For more information, see the [API interactions
|
243
|
+
# guide](https://cloud.google.com/dialogflow/docs/api-overview).
|
362
244
|
#
|
363
245
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
364
246
|
# Defaults to `:v2`.
|
@@ -389,8 +271,8 @@ module Google
|
|
389
271
|
# The library version as recorded in instrumentation and logging.
|
390
272
|
# * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
|
391
273
|
# An array of interceptors that are run before calls are executed.
|
392
|
-
# * `timeout` (*type:* `
|
393
|
-
# Default timeout in
|
274
|
+
# * `timeout` (*type:* `Numeric`) -
|
275
|
+
# Default timeout in seconds.
|
394
276
|
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
395
277
|
# Additional gRPC headers to be sent with the call.
|
396
278
|
# * `retry_policy` (*type:* `Hash`) -
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
|
-
rubygems_version: 3.
|
190
|
+
rubygems_version: 3.2.6
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: API Client library for the Dialogflow API
|