olrea / openai-cpp

OpenAI C++ is a community-maintained library for the Open AI API
https://openai.com/api/
MIT License
183 stars 65 forks source link

Add the Speech-to-text API #5

Closed walking-octopus closed 1 year ago

walking-octopus commented 1 year ago

OpenAI have recently added a new endpoint for their hosted Whisper API. For anyone interested in implementing it, the API reference is attached below.

References

coin-au-carre commented 1 year ago

Thanks for letting me know. If anyone willing to implement this you are welcome.

coin-au-carre commented 1 year ago

Thanks to the work of @U-K-L chat completions example has been added https://github.com/olrea/openai-cpp/pull/3 Note that the API is still in beta so things might change.

coin-au-carre commented 1 year ago

I am currently working on adding audio WIP :)

EDIT: Implemented

coin-au-carre commented 1 year ago

@walking-octopus audio is implemented it works fine for me, feel free to ask questions if needed in another issue

walking-octopus commented 1 year ago

Thanks!