openai / openai-realtime-api-beta

Node.js + JavaScript reference client for the Realtime API (beta)
MIT License
699 stars 173 forks source link

Respond only with text and without audio ,when the conversation.item.create event sends assistant text messages to populate the conversation history. #72

Open hsycc opened 1 week ago

hsycc commented 1 week ago

like this

{
    "event_id": "event_345",
    "type": "conversation.item.create",
    "previous_item_id": null,
    "item": {
        "id": "msg_001",
        "type": "message",
        "role": "assistant",
        "content": [
            {
                "type": "text",
                "text": "Hello"
            }
        ]
    }
}
image
hsycc commented 1 week ago
Pasted Graphic

see the document, has the current limitation that it cannot populate assistant audio messages.

Is the lack of audio response at present a bug?