dylanshine / openai-kit

A community Swift package used to interact with the OpenAI API
https://platform.openai.com/docs/api-reference
MIT License
703 stars 109 forks source link

Implement Transcription and Translation types. #52

Closed joshgalvan closed 1 year ago

joshgalvan commented 1 year ago

Removes Audio type in favor of Transcription and Translation types to better reflect what the API requests are returning.

Solves issue #50

joshgalvan commented 1 year ago

Sorry for recreating this PR. I didn't realize I commited those other commits in the other PR straight to my forked main and introduced commits that shouldn't be here and I wasn't sure the best way to fix it. This adds the public scope to the types you requested.