It requires zero coding, but it does require some understanding of how Aista Magic works. I go through most of the points in the following video, but please continue reading after having watched it, since I didn't go through everything you need to know.
In addition to following the recipe in the above video, you also have to turn off roles authentication and authorisation. By default, our prompt API will require users to be authenticated as "root" users. If you want everybody to be able to access your ChatGPT chatbot, you'll have to turn this off. In the screenshot below you can see it says "Roles". Expand this thing, remove "root", and click save - This ensures everybody visiting your website can use ChatGPT.
Preventing bots from accessing your bot (PUN!)
In addition we would encourage you to register a Google reCAPTCHA account. This prevents bots from accessing your bot (pun!). If you do, change the reCAPTCHA value shown in the above screenshot to 0.3 or 0.5 to prevent bots from using your account. This ensures only human beings visiting your website can actually use your chatbot.
If you turn on bot protection by using reCAPTCHA (which we highly recommend you do), you will need to add your
secret to your server's configuration. You can find this in the "Misc/Configuration" parts, inside your
auth section. Make sure you copy and paste your
secret exactly as given you by Google.
By default, our API will also log all questions and answers. You might want to turn this off, and if not you might want to periodically purge your cache, to avoid having your cloudlet crash due to having exhausted its storage space. You can do this with the above "Supervised" checkbox. If it's on you will find all requests (anonymised) in the "Cache" tab control. And you can in fact turn on caching such that the same questions given multiple times returns instantly the same answer it returned previously. The last parts preserves some bandwidth, and also makes your thing more responsive and fast.
Purchasing a professional account
Notice, the demo cloudlet only comes with some 20GB of bandwidth. Once you see your website starts getting a lot of visitors due to this thing, you might want to immediately purchase a professional cloudlet, to ensure your bot continues working. For security reasons, all requests to OpenAI has to go through your cloudlet. Hence, every byte going towards OpenAI also becomes a byte consuming bandwidth from your cloudlet. You can update your cloudlet to a professional cloudlet from hub.
You are also responsible for your own OpenAI API account, and you need an API account with OpenAI. However, in the beta period OpenAI gives access to "text-davinci_003" for free, so this shouldn't cost you anything, at least not for the moment. However, this might cost you additional money later if OpenAI decides to charge for access to their ChatGPT3 model.
We have fixed the blink bug, but we're not scheduled for another release for another week or two. At which point the blinking will simply disappear, since we automatically upgrade all cloudlets when we create a release. However, for now, you can follow the above steps to fix the blinking bug yourself. You have to turn on the "System files" checkbox to find this file though.
Notice, this works with any CMS system out there that allows you to include custom HTML tags, and not only WordPress of course. Anyways, that was it for today. If you want to include ChatGPT on your own WordPress website, you can register below.