feat(dialogflow): add MediaContent, BrowseCarouselCard, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin 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
feat(dialogflow): add MediaContent, BrowseCarouselCard, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin 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#175busunkim96 merged 5 commits intomasterfrom
MediaContent, BrowseCarouselCard, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin 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#175Conversation
| _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.
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.
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, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin 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, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin 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, ColumnPropertiesin v2; add SpeechContext, SpeechWordInfoin 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.
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 |
busunkim96
left a comment
There was a problem hiding this comment.
Regenerated the library one more time.
| language_code=language_code, | ||
| intent_batch_uri=intent_batch_uri, | ||
| intent_batch_inline=intent_batch_inline, | ||
| language_code=language_code, |
There was a problem hiding this comment.
language_code is now optional as expected
|
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,ColumnPropertiesin v2Add
SpeechContext,SpeechWordInfoin v2Add
enable_word_info,speech_contexts,modelto InputAudioConfig in v2Add subtitles to Intent.Message.ListSelect in
v2beta1Add language_code to ListKnowledgeBase in
v2beta1Add webhook_headers to QueryParameters in `v2beta1