Demonstrated how to use assistants and threads with the OpenAI SDK and how to stream the response with Server-Sent Events.
https://simonw-valtownchatgpt.web.val.run
https://esm.town/v/simonw/valTownChatGPT
<script type="module" src="https://esm.town/v/simonw/valTownChatGPT" />