Hiya!
Saw a post here about asking for a ChatGPT command and thought that was a fun and good idea!
I've put something quickly together, not very well tested, but aye, throw some questions at it and let me know if it breaks.
Everytime you call this api it's considered a new conversation. You will receive a hastag and a code and the end of every message. This is a reference to your personal conversation.
Use this hashtag and code as first part of a new message to continue the conversation.
See example below:
Automatic installation:
Visit xgpt.gerhard.dev/dashboard and sign in with Nightbot to install this command with just a click.
When you sign in to our dashboard you will be able to customize settings for your personal AI chatbot. Give the bot more and detailed instructions for just your stream. Provide attional information about you or your stream, so the bot can answer more specific questions. Want the bot to speak in a certain language, a certain way, include emojis, be more funny? Endless opportunities and alot of fun!
You'll also be able to use your own OpenAI API key to avoid monthly limits, which we highly recommend!
Manual installation:
$(urlfetch https://xgpt.gerhard.dev/api/command?q=$(querystring))
Example command you can add:
!commands add !ai -cd=5 $(urlfetch https://xgpt.gerhard.dev/api/command?q=$(querystring))
Questions? Just let me know, enjoy!
The code for this command is available on Github, want to improve or suggest anything, feel free to submit it there: https://github.com/xgerhard/XGPT

