The new release of ChatGPT last week was all over the News and Social Medias. I wondered if I could bring that power to Slack with minimal effort, and sure enough was able to get something up and running in only two days! Having been written relatively quickly by a single developer, the functionality is of course somewhat limited. But here is what it currently supports:<p><pre><code> - Getting a one-off response from GPTBot when mentioning the bot (@GPTBot) in a channel you are both a member of.
- Exchanging a full conversation with context carried over. To start a full conversation, run the command: `/gptbot start`. To end the conversation, run the command: `/gptbot stop`.
- Using the latest GPT-4 model. If you want to start a conversation with the new GPT-4 model, run the command `/gptbot start gpt-4`. In this mode, responses take a longer time. By default, the model used is gpt-3.5-turbo.
- Collaboration eg: add the Bot to a channel, start a conversation with it (`/gptbot start`): every channel members can reply to the Bot to help refine the answers it provides.
</code></pre>
Feel free to contribute, really keen to see how people use and extend it!