Run OpenAI Text Completion as Whatsapp Bot in Node-RED, NO Whatsapp API required

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi welcome back to my channel in this video I will show you how to run text completion from openai as WhatsApp bot using node-red let's get started don't forget to like this video subscribe my channel and click the Bell icon to get notification my new video okay thank you the first step is to install the node red contrib WhatsApp link go to manage palette then find the node and install tab then click install [Music] okay now the node is installed you can view detail information about this node from the node redflow website flows.notter.org node slash node red contrib WhatsApp link you can find how to use this node and some nodes that we can use them [Music] next step is connect to Whatsapp web using Whatsapp admin node put the WhatsApp admin node and then put inject node before the node connect the nodes change message payload to test and inject node [Music] and then configure the WhatsApp admin node this is simple flow to connect to Whatsapp web then click deploy to start connecting to Whatsapp click inject node then QR code will be appeared add link device on WhatsApp application on smartphone then scan the QR code foreign [Music] connected to Whatsapp then add chats and node to receive WhatsApp message and use a debug message node to view the output payload foreign [Music] and status is connected test to send WhatsApp message to this number from another when receiving WhatsApp message we can view the message output payload on debug tab there are some message payloads such as payload for the message and from a sender number foreign this is simple flow to run text completion chat from openai as WhatsApp bot when node red receive a WhatsApp message send the message as a prompt to open AI using function node an HTTP request node don't forget to put the API key after getting the response from openai send the response using chat out node to view detail how to get open AI API and how to connect to open AI in node-red you can watch my previous video WhatsApp bot with chatgpt is ready to use now we can test to send a prompt and receive the response from chat GPT using Whatsapp foreign [Music] [Applause] [Music] [Music] foreign [Music] with this WhatsApp link note we can connect to Whatsapp web and we can send and receive WhatsApp messages no third-party API required many thanks to developer who created this awesome node next video I will use this node to connect an ESP device to control relay don't forget to like And subscribe see you on my next video
Info
Channel: Yaser Ali Husen
Views: 6,562
Rating: undefined out of 5
Keywords:
Id: TgIHegArbh0
Channel Id: undefined
Length: 5min 8sec (308 seconds)
Published: Tue Jan 10 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.