Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dialogflow to 1.0.0 #1469

Merged
merged 6 commits into from Jul 31, 2020
Merged

Conversation

pyup-bot
Copy link
Collaborator

This PR updates dialogflow from 0.8.0 to 1.0.0.

Changelog

1.0.0

* release_status to production/stable ([189](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/189)) ([8b995dc](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/8b995dc0dd883e4980a492a67d9c76b7f2603f00))

[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))

[0.7.2](https://www.github.com/googleapis/dialogflow-python-client-v2/compare/v0.7.1...v0.7.2) (2019-10-18)


Bug Fixes

* define version once in setup.py ([158](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/158)) ([bf42fc4](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/bf42fc45607b97bc040cbdacbde8ff5a4b6ad29b))

[0.7.1](https://www.github.com/googleapis/dialogflow-python-client-v2/compare/v0.7.0...v0.7.1) (2019-10-17)


Bug Fixes

* pin google-api-core>=1.14.0, update format ([156](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/156)) ([69951d0](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/69951d013b7c99966848565e30d5ab1bad7229fb))

[0.7.0](https://www.github.com/googleapis/dialogflow-python-client-v2/compare/v0.6.0...v0.7.0) (2019-10-16)


Features

* regenerate ([151](https://www.github.com/googleapis/dialogflow-python-client-v2/issues/151)) ([6222277](https://www.github.com/googleapis/dialogflow-python-client-v2/commit/6222277a5332011e9cc2e80bb5b26692a12fad36))
v2 and v2beta1
* Add `set_agent` and `delete_agent` methods to  `AgentsClient`
* Add `api_version` and `tier` to `Agents`
* Add `session_entity_types` to `WebhookResponse`
* Add `model_variant` and `single_utterance` to `InputAudioConfig`
* Add `SpeechModelVariant` enum
* Add `enable_fuzzy_extraction` to `EntityType`
* Add `KIND_REGEXP` to `EntityType.Kind` enum
* Add `client_options` to clients
* Allow kwargs to be passed to transport `create_channel` methods
* Deprecate `single_utterance` attribute in `StreamingDetectIntentRequest`. Please use `InputAudioConfig.single_utterance`

v2
* Add Google Hangouts to `Message.Platform` enum

v2beta1 
* Add `get_validation_result` method to `AgentsClient`
* Add `gcs_source` and `source` to `reload_document` method in `DocumentsClient`
* Add Rich Business Messaging (RBM) support, `table_card`, and `media_content` to intent messages
* Add `enable_word_info`, `speech_contexts` to `InputAudioConfig`
* `update_document` returns `_OperationFuture` rather than `Operation`
* Deprecate `projects.agent.knowledgeBases`. Please use `projects.knowledgeBases`.
* Add `stability`, `speech_word_info` and `speech_end_offset` to `StreamingRecognitionResult`
Links

@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #1469 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1469   +/-   ##
=======================================
  Coverage   99.88%   99.88%           
=======================================
  Files          53       53           
  Lines        3385     3385           
=======================================
  Hits         3381     3381           
  Misses          4        4           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 850f6ee...881e5f1. Read the comment docs.

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a major version bump so we should probably do some manual testing before merging.

@stale
Copy link

stale bot commented May 30, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 30, 2020
@stale stale bot closed this Jun 6, 2020
@FabioRosado FabioRosado reopened this Jun 7, 2020
@stale stale bot removed the stale label Jun 7, 2020
@FabioRosado
Copy link
Member

It's also worth to mention that dialogflow deprecated V1 of the API on 31st of May 2020 and our const enpoint is using v1, I will try to test things up on my end either today or tomorrow but I'm assuming that we need to update the whole parser 🤔

@FabioRosado
Copy link
Member

I've raised #1554 due to some issues that I have found when testing this new version, but the good news is - we are using the dialogflow dependency which handles api version updates. We are not using the const var for dialogflow anymore and we can remove that.

Also, it seems that everything is working fine with the parser (other than those issues I've encountered), when sending a hi message dialogflow returns:

query_result {
  query_text: "hi"
  action: "smalltalk.greetings.hello"
  parameters {
  }
  all_required_params_present: true
  fulfillment_text: "Hi!"
  fulfillment_messages {
    text {
      text: "Hi!"
    }
  }
  intent {
  }
  intent_detection_confidence: 1.0
  language_code: "en"
}

which is what we expect to return and the parse_dialogflow function works as expected as well 👍

@stale
Copy link

stale bot commented Jul 18, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 18, 2020
@stale stale bot closed this Jul 25, 2020
@FabioRosado FabioRosado reopened this Jul 31, 2020
@stale stale bot removed the stale label Jul 31, 2020
@FabioRosado FabioRosado merged commit c7198dd into master Jul 31, 2020
@FabioRosado FabioRosado deleted the pyup-update-dialogflow-0.8.0-to-1.0.0 branch July 31, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants