Hi everyone.. I recently gained access to GPT-3 API. GPT-3, which is the world’s most powerful language generator AI is nothing short of a miracle. It can write poems, stories and even computer code. However, I found it is a bit difficult for laymen like me to play with it.
So, with the help of Node Red which is running 24*7 on my Linux server, I built a telegram bot from which I can use all the applications of GPT-3 (I mean all of these https://beta.openai.com/examples) by simple on and off commands for each function. Here is the Node Red flow for two of the applications – chat bot and Q&A bot. I can add all the applications to this flow, but I didn’t do that for the sake of simplicity. Moreover, adding any GPT-3 application to this flow will be just be repititions of what is given here.
First of all, install Node Red on you computer or server.
Then you have to add these nodes to your Node Red palette.
Go to Manage Palette>Install and search for these modules namely node-red-contrib-telegrambot and node-red-contrib-simple-gate
After that, just copy the below code and import it in Node Red.