I used the new OpenAI Assistants API to create a discord bot! This code uses the new APIs so state is handled entirely by OpenAI and it has capabilities like knowledge retrieval and code interpreter. Feel free to check it out and copy or use as inspiration. I made a video tutorial building this out and explaining the concepts. <a href="https://youtu.be/5TU_wOC0dmw" rel="nofollow noreferrer">https://youtu.be/5TU_wOC0dmw</a>
Excellent. Thanks for sharing!<p>Am looking for a python example - possibly using Slack/Whatsapp instead of discord. If anyone knows of a good working example -- please point me to it so I might save a few hours. Thanks!