openai-kotlin icon indicating copy to clipboard operation
openai-kotlin copied to clipboard

[Documentation clarification: Audio]

Open AndraxDev opened this issue 1 year ago • 1 comments

Feature Description

I noticed that openAI.speech(...) returns ByteArray but I'm unable to determine format of audio and play it.

Problem it Solves

Missing docs

Proposed Solution

Create a detailed docs for Android how to use returned data from API functions.

AndraxDev avatar Nov 29 '23 11:11 AndraxDev

The ByteArray returned contains audio data in the format you've requested, it defaults to mp3. A guide would indeed be beneficial. Thanks for the suggestion!

aallam avatar Dec 15 '23 11:12 aallam