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

Cloud Speech-to-Text API C++ (beta version) #10285

Closed
gauravG2021 opened this issue Nov 21, 2022 · 2 comments
Closed

Cloud Speech-to-Text API C++ (beta version) #10285

gauravG2021 opened this issue Nov 21, 2022 · 2 comments
Labels
type: question Request for information or clarification. Not an issue.

Comments

@gauravG2021
Copy link

Hi,
we want to replace the c++ STT libraries of previous vendor with google stt client library.
I have like below questions:-

  1. Are the Cloud Speech-to-Text API C++ libraries are comerciallly stable?
  2. Cloud Speech-to-Text API C++ i see at few places as being referd as experminetal or beta version?
  3. does it permorfm STT on AMR-WB codes?
@gauravG2021 gauravG2021 added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Nov 21, 2022
@dbolduc
Copy link
Member

dbolduc commented Nov 21, 2022

  1. Are the Cloud Speech-to-Text API C++ libraries commercially stable?

Yes, the C++ client library is commercially stable...

  1. Cloud Speech-to-Text API C++ I see at few places as being referred as experimental or beta version?

...but as you point out, the library contains some experimental APIs.

Experimental Speech-to-Text v2 client:
The library has a google::cloud::speech_v2::SpeechClient, which is experimental, because the service, Cloud Speech-to-Text v2, is pre-GA (not commercially stable).

I recommend using the v1 service, unless you need some feature that is only available in v2. The client for the v1 service is: google::cloud::speech::SpeechClient (which is used in the quickstart and samples).

Experimental AsyncStreamingRecognize (bidirectional streaming RPC):
The v1 client has an API that is marked as experimental.

std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
google::cloud::speech::v1::StreamingRecognizeRequest,
google::cloud::speech::v1::StreamingRecognizeResponse>>
AsyncStreamingRecognize(ExperimentalTag, Options opts = {});

It is marked as experimental, because the API is a little tricky to use. We do have samples that demonstrate how to use the API. (The streaming_transcribe*.cc programs show how to properly call AsyncStreamingRecognize): https://github.com/GoogleCloudPlatform/cpp-samples/tree/main/speech/api

  1. does it perform STT on AMR-WB codes?

According to these docs, yes. https://cloud.google.com/speech-to-text/docs/encoding#audio-encodings

@dbolduc dbolduc added type: question Request for information or clarification. Not an issue. and removed type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Nov 21, 2022
@coryan
Copy link
Contributor

coryan commented Dec 15, 2022

Seems like this is answered. If there is are follow up questions please reopen or create a discussion item.

@coryan coryan closed this as completed Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants