Skip to content

Commit 3d0d61d

Browse files
feat: Expose Locations service to get/list avaliable locations of Dialogflow products docs: reorder some fields (#857)
PiperOrigin-RevId: 389760020
1 parent cf38666 commit 3d0d61d

File tree

4 files changed

+80
-80
lines changed

4 files changed

+80
-80
lines changed

packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/audio_config.proto

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,36 @@ option java_outer_classname = "AudioConfigProto";
3030
option java_package = "com.google.cloud.dialogflow.v2beta1";
3131
option objc_class_prefix = "DF";
3232

33+
// Hints for the speech recognizer to help with recognition in a specific
34+
// conversation state.
35+
message SpeechContext {
36+
// Optional. A list of strings containing words and phrases that the speech
37+
// recognizer should recognize with higher likelihood.
38+
//
39+
// This list can be used to:
40+
//
41+
// * improve accuracy for words and phrases you expect the user to say,
42+
// e.g. typical commands for your Dialogflow agent
43+
// * add additional words to the speech recognizer vocabulary
44+
// * ...
45+
//
46+
// See the [Cloud Speech
47+
// documentation](https://cloud.google.com/speech-to-text/quotas) for usage
48+
// limits.
49+
repeated string phrases = 1;
50+
51+
// Optional. Boost for this context compared to other contexts:
52+
//
53+
// * If the boost is positive, Dialogflow will increase the probability that
54+
// the phrases in this context are recognized over similar sounding phrases.
55+
// * If the boost is unspecified or non-positive, Dialogflow will not apply
56+
// any boost.
57+
//
58+
// Dialogflow recommends that you use boosts in the range (0, 20] and that you
59+
// find a value that fits your use case with binary search.
60+
float boost = 2;
61+
}
62+
3363
// Audio encoding of the audio content sent in the conversational query request.
3464
// Refer to the
3565
// [Cloud Speech API
@@ -79,36 +109,6 @@ enum AudioEncoding {
79109
AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7;
80110
}
81111

82-
// Hints for the speech recognizer to help with recognition in a specific
83-
// conversation state.
84-
message SpeechContext {
85-
// Optional. A list of strings containing words and phrases that the speech
86-
// recognizer should recognize with higher likelihood.
87-
//
88-
// This list can be used to:
89-
//
90-
// * improve accuracy for words and phrases you expect the user to say,
91-
// e.g. typical commands for your Dialogflow agent
92-
// * add additional words to the speech recognizer vocabulary
93-
// * ...
94-
//
95-
// See the [Cloud Speech
96-
// documentation](https://cloud.google.com/speech-to-text/quotas) for usage
97-
// limits.
98-
repeated string phrases = 1;
99-
100-
// Optional. Boost for this context compared to other contexts:
101-
//
102-
// * If the boost is positive, Dialogflow will increase the probability that
103-
// the phrases in this context are recognized over similar sounding phrases.
104-
// * If the boost is unspecified or non-positive, Dialogflow will not apply
105-
// any boost.
106-
//
107-
// Dialogflow recommends that you use boosts in the range (0, 20] and that you
108-
// find a value that fits your use case with binary search.
109-
float boost = 2;
110-
}
111-
112112
// Information for a word recognized by the speech recognizer.
113113
message SpeechWordInfo {
114114
// The word this info is for.

packages/google-cloud-dialogflow/protos/protos.d.ts

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-dialogflow/protos/protos.js

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-dialogflow/protos/protos.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)