Open Clad3815 opened 3 days ago
Woah, that's great! Yes, definitely
I believe audio input should work. For audio output it looks like we need to support parsing out a new field -
"message": {
"role": "assistant",
"content": null,
"refusal": null,
"audio": {
"id": "audio_6711b7a624708190866a471c247be0b7",
"data": "UklGRmZLDQBXQVZFZm10IBAAAAABAAEAwF0AAIC7AAACABAATElTVBoAAABJTkZPSVNGVA4AAABMYXZmNTguMjkuMTAwAGRhdGEgSw0ADQAJAAUADgAEAAsACAALAAw
picking this up - updated ticket with sub tasks
We should also add (in order of priority):
audio_input
flow @ishaan-jaff
The Feature
Now we are able to send / receive audio data from OpenAI chat completions endpoint. Here is the test script:
It's not work as the chat completions not return the "audio.data" field. We need to check about sending audio also
Motivation, pitch
https://platform.openai.com/docs/guides/audio/quickstart?lang=javascript&audio-generation-quickstart-example=audio-out
Twitter / LinkedIn details
No response