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

Question about STT v3 async stream recognize #107

Open
skinnynpale opened this issue Jun 2, 2024 · 4 comments
Open

Question about STT v3 async stream recognize #107

skinnynpale opened this issue Jun 2, 2024 · 4 comments

Comments

@skinnynpale
Copy link

Hello, I have a question about STT v3, I don’t understand how to implement asynchronous recognition in real time, I see there is an AsyncRecognizerStub, but I don’t see the RecognizeStreaming method, how is this done on v3? or should I switch to v2?

@opportunity356
Copy link
Contributor

Hi! According to proto specification, there is no such method https://github.com/yandex-cloud/cloudapi/blob/master/yandex/cloud/ai/stt/v3/stt_service.proto#L29

@Noxoomo
Copy link

Noxoomo commented Jun 18, 2024

For real-time recognition you should use Recognizer with RecognizeStreaming method rpc RecognizeStreaming (stream StreamingRequest) returns (stream StreamingResponse) {

@skinnynpale
Copy link
Author

For real-time recognition you should use Recognizer with RecognizeStreaming method rpc RecognizeStreaming (stream StreamingRequest) returns (stream StreamingResponse) {

i need an async

@opportunity356
Copy link
Contributor

i need an async

Unfortunately, current version of python-sdk does not support python's async. In future we will add this opportunity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants