-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed as not planned
Description
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
- This is a feature request for the Python library
Describe the feature or improvement you're requesting
When using the the realtime api and a function call has been recognized and processed you are unable to send the result down the audio stream. This is a current limitation highlighted in the api documentation:
| Add a new Item to the Conversation's context, including messages, function |
When sending the response it gets detected in the history, but not send down the audio stream.
await connection.conversation.item.create(
item={
"type": "function_call_output",
"call_id": callid,
"output": json.dumps(func_call_response)
}
)It would be great to have this put on the audio message. One workaround atm is to ask the assistant to repeat itself once it's finished processing, are there any better alternatives?
Thanks
Additional context
No response
andrwca
Metadata
Metadata
Assignees
Labels
No labels