Skip to content

Commit

Permalink
docs: Clarify boost usage in Reference (#486)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.8.2

PiperOrigin-RevId: 504289125

Source-Link: googleapis/googleapis@38a48a4

Source-Link: googleapis/googleapis-gen@b2dc226
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJkYzIyNjYzZGJlNDdhOTcyYzhkOGMyZjhhNGRmMDEzZGFmZGNiYyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: Clarify boost usage in Reference

PiperOrigin-RevId: 504332057

Source-Link: googleapis/googleapis@13dd16c

Source-Link: googleapis/googleapis-gen@75a668a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzVhNjY4YTA1ZjVlNDM4ZmJjMDEwNWM4NTQzM2FlMTgxZWYzN2VjMCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 25, 2023
1 parent 90e99b0 commit a545bbc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions google-cloud-speech/.coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ branch = True
show_missing = True
omit =
google/cloud/speech/__init__.py
google/cloud/speech/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class PhraseSet(proto.Message):
``boost`` can accept a wide range of positive values, most
use cases are best served with values between 0 (exclusive)
and 20. We recommend using a binary search approach to
finding the optimal value for your use case. Speech
recognition will skip PhraseSets with a boost value of 0.
finding the optimal value for your use case as well as
adding phrases both with and without boost to your requests.
"""

class Phrase(proto.Message):
Expand Down Expand Up @@ -139,9 +139,9 @@ class Phrase(proto.Message):
simply be ignored. Though ``boost`` can accept a wide range
of positive values, most use cases are best served with
values between 0 and 20. We recommend using a binary search
approach to finding the optimal value for your use case.
Speech recognition will skip PhraseSets with a boost value
of 0.
approach to finding the optimal value for your use case as
well as adding phrases both with and without boost to your
requests.
"""

value: str = proto.Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-speech",
"version": "2.17.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-speech",
"version": "2.17.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-speech",
"version": "2.17.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit a545bbc

Please sign in to comment.