Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.69k stars 1.79k forks source link

Publish the batch Python API (swagger) client as a standard python package. #2439

Open superhindupur opened 1 week ago

superhindupur commented 1 week ago

Is your feature request related to a problem? Please describe. In order to use the Batch Speech API, the sample code instructs us to generate client code from the Swagger API definition and manually download it and install it via pip.

This introduces an extra manual step for the users, and causes us to either:

Another issue with this is that we cannot use standard dependency-upgrading tools like dependabot when a new version of the API client is released.

Describe the solution you'd like We would like the Batch Speech API client for Python to be published as a standard Python package to a repository like PyPi, so that we can use the client in a standard manner just like every other dependency.

Describe alternatives you've considered NA

Additional context NA

erann1987 commented 1 week ago

Thanks @superhindupur Just one comment, We would like to use the python library generated through Swagger for all steps in our Speech Experiment Accelerator (such as training, evaluation, and inference)