This is an example that only communicates over websockets, it doesn't use a initial POST to get the threadId, but instead gets the thread id from a JSON encoded string which is sent after the main response.
Enter an Assistant ID (from Jobsolve/OpenAI) and chat using text or speech.