-
Notifications
You must be signed in to change notification settings - Fork 140
feat(dialogflow): add MediaContent
, BrowseCarouselCard
, ColumnProperties
in v2; add SpeechContext
, SpeechWordInfo
in v2; add enable_word_info
, speech_contexts
,model
to InputAudioConfig in v2; add subtitles
to Intent.Message.ListSelect
in v2beta1
; add language_code
to ListKnowledgeBase
in v2beta1; add webhook_headers
to QueryParameters
in v2beta1
#175
Conversation
_descriptor.FieldDescriptor( | ||
name="language_code", | ||
full_name="google.cloud.dialogflow.v2beta1.KnowledgeBase.language_code", | ||
index=2, | ||
number=4, | ||
type=9, | ||
cpp_type=9, | ||
label=1, | ||
has_default_value=False, | ||
default_value=_b("").decode("utf-8"), | ||
message_type=None, | ||
enum_type=None, | ||
containing_type=None, | ||
is_extension=False, | ||
extension_scope=None, | ||
serialized_options=None, | ||
file=DESCRIPTOR, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add to the confusion, this isn't the problematic language_code
field, but if this has no default value, won't this also be a required field and since it is new that would be a breaking change or am I reading this wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you allowed to pass an empty language_code to the API? If that's true it might be alright that there's no default value here.
MediaContent
, BrowseCarouselCard
, ColumnProperties
in v2; add SpeechContext
, SpeechWordInfo
in v2; add enable_word_info
, speech_contexts
,model
to InputAudioConfig in v2; add subtitles
to Intent.Message.ListSelect
in v2beta1
; add language_code
to ListKnowledgeBase
in v2beta1
; add webhook_headers
to QueryParameters
in `v2beta1
MediaContent
, BrowseCarouselCard
, ColumnProperties
in v2; add SpeechContext
, SpeechWordInfo
in v2; add enable_word_info
, speech_contexts
,model
to InputAudioConfig in v2; add subtitles
to Intent.Message.ListSelect
in v2beta1
; add language_code
to ListKnowledgeBase
in v2beta1
; add webhook_headers
to QueryParameters
in `v2beta1MediaContent
, BrowseCarouselCard
, ColumnProperties
in v2; add SpeechContext
, SpeechWordInfo
in v2; add enable_word_info
, speech_contexts
,model
to InputAudioConfig in v2; add subtitles
to Intent.Message.ListSelect
in v2beta1
; add language_code
to ListKnowledgeBase
in v2beta1; add webhook_headers
to QueryParameters
in v2beta1
@nnegrey Could you take another look? The next synth PR will make |
Looking today |
recognizer vocabulary \* ... See the `Cloud Speech | ||
documentation <https://cloud.google.com/speech-to- | ||
text/quotas>`__ for usage limits. | ||
boost: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to check, but Speech v1 removed boost
from the beta and I think Dialogflow relies on that.
@busunkim96, if looking at this PR: #176 The change in that commit doesn't have the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regenerated the library one more time.
intent_batch_uri=intent_batch_uri, | ||
intent_batch_inline=intent_batch_inline, | ||
language_code=language_code, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
language_code
is now optional as expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WOO!
Docs build is failing
|
@busunkim96, is that the reference docs that are failing? |
@nnegrey Yep the reference docs. I'll tinker with it a bit today, but otherwise the generated changes look good. |
What's involved in the tinkering (in case I ever should do it)? |
Mostly trial and error. 😄 When the docs build fails it emits a warning or error. At that point I edit the problematic docstring in the
in
I think this PR is good now (hopefully CI passes 🤞 ). Would you mind approving this PR? |
🤖 I have created a release \*beep\* \*boop\* --- ## [0.8.0](https://www.github.com/googleapis/dialogflow-python-client-v2/compare/v0.7.2...v0.8.0) (2020-03-26) ### Features * **dialogflow:** add `MediaContent`, `BrowseCarouselCard`, `ColumnProperties`in v2; add `SpeechContext`, `SpeechWordInfo`in v2; add `enable_word_info`, `speech_contexts`,`model` to InputAudioConfig in v2; add `subtitles` to `Intent.Message.ListSelect` in `v2beta1`; add `language_code` to `ListKnowledgeBase` in v2beta1; add `webhook_headers` to `QueryParameters` in v2beta1 ([#175](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/175)) ([713846b](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/713846b7ed99eaf78cdf383aa9d39b43731b9a0d)) * add validation support to v2; add `output_audio_config_mask` to `detect_intent` method in v2beta1 and v2; add sub agent to v2beta1 (via synth) ([#179](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/179)) ([5a6f18e](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/5a6f18e362b5dd87affbe75e0d0bfc0c21ab87a9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Add
MediaContent
,BrowseCarouselCard
,ColumnProperties
in v2Add
SpeechContext
,SpeechWordInfo
in v2Add
enable_word_info
,speech_contexts
,model
to InputAudioConfig in v2Add subtitles to Intent.Message.ListSelect in
v2beta1
Add language_code to ListKnowledgeBase in
v2beta1
Add webhook_headers to QueryParameters in `v2beta1