Demonstrated how to use assistants and threads with the OpenAI SDK and how to stream the response with Server-Sent Events.
⚠️ Note: Requires your own OpenAI API key to get this to run in a fork
https://stevekrouse-chatgpt.web.val.run
https://esm.town/v/stevekrouse/chatGPT
<script type="module" src="https://esm.town/v/stevekrouse/chatGPT"></script>