Even though i have set
"input_audio_transcription": {
"model": "whisper-1"
},
in session.update
, am not getting any events back from openai like: conversation.item.input_audio_transcription.completed
and conversation.item.input_audio_transcription.failed
Getting this error
Received event: {
"type": "response.done",
"event_id": "event_AJjdTfvjtCvTmv1IqUANH",
"response": {
"object": "realtime.response",
"id": "resp_AJjdT63D2ZLvew6yqq16W",
"status": "failed",
"status_details": {
"type": "failed",
"error": {
"type": "server_error",
"code": null,
"message": "The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the session ID sess_AJjdMwqXnwRohafrM9VPo in your message.)"
}
},
"output": [],
"usage": {
"total_tokens": 0,
"input_tokens": 0,
"output_tokens": 0,
"input_token_details": {
"cached_tokens": 0,
"text_tokens": 0,
"audio_tokens": 0
},
"output_token_details": {
"text_tokens": 0,
"audio_tokens": 0
}
}
}
}
Response completed: resp_AJjdT63D2ZLvew6yqq16W
Update: I am getting conversation.item.input_audio_transcription.failed
error
User transcription failed from OpenAI: {
type: 'server_error',
code: null,
message: "Input transcription failed for item 'item_AKRNyONV1jVsyUpi3I05E'.",
param: null
}