Skip to content

feat: add model and language_codes fields in RecognitionConfig message + enable default _ recognizer#4395

Merged
ddelgrosso1 merged 3 commits intomainfrom
owl-bot-copy-packages-google-cloud-speech
Jul 6, 2023
Merged

feat: add model and language_codes fields in RecognitionConfig message + enable default _ recognizer#4395
ddelgrosso1 merged 3 commits intomainfrom
owl-bot-copy-packages-google-cloud-speech

Conversation

@gcf-owl-bot
Copy link
Contributor

@gcf-owl-bot gcf-owl-bot bot commented Jul 5, 2023

  • Regenerate this pull request now.

Enables specifying model and language_codes in requests without having to specify them in the Recognizer (they can still be specified in the Recognizer in the default_recognition_config field).

Also enables using the recognizer ID _ to perform recognition without explicitly creating a Recognizer resource.

The top-level model and language_codes fields are deprecated in favor of the new fields added in the RecognitionConfig message. The old fields continue to work.

PiperOrigin-RevId: 545698919

Source-Link: googleapis/googleapis@e73fc8f

Source-Link: https://github.com/googleapis/googleapis-gen/commit/b77dfdfe3927e409875b2d8913f2574fa00a05a5
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiYjc3ZGZkZmUzOTI3ZTQwOTg3NWIyZDg5MTNmMjU3NGZhMDBhMDVhNSJ9

…message + enable default `_` recognizer

Enables specifying `model` and `language_codes` in requests without having to specify them in the Recognizer (they can still be specified in the Recognizer in the `default_recognition_config` field).

Also enables using the recognizer ID `_` to perform recognition without explicitly creating a Recognizer resource.

The top-level `model` and `language_codes` fields are deprecated in favor of the new fields added in the `RecognitionConfig` message. The old fields continue to work.

PiperOrigin-RevId: 545698919

Source-Link: googleapis/googleapis@e73fc8f

Source-Link: googleapis/googleapis-gen@b77dfdf
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNwZWVjaC8uT3dsQm90LnlhbWwiLCJoIjoiYjc3ZGZkZmUzOTI3ZTQwOTg3NWIyZDg5MTNmMjU3NGZhMDBhMDVhNSJ9
@gcf-owl-bot gcf-owl-bot bot requested review from a team and yoshi-approver as code owners July 5, 2023 19:04
@snippet-bot
Copy link

snippet-bot bot commented Jul 5, 2023

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@dpebot
Copy link
Collaborator

dpebot commented Jul 5, 2023

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jul 5, 2023

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jul 6, 2023

/gcbrun

@ddelgrosso1 ddelgrosso1 merged commit 99d5324 into main Jul 6, 2023
@ddelgrosso1 ddelgrosso1 deleted the owl-bot-copy-packages-google-cloud-speech branch July 6, 2023 19:54
@release-please release-please bot mentioned this pull request Jul 6, 2023
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.

2 participants