Finally Chat-GPT maintains conversational context so it remembers what you asked before.Given WhatsApp limited screen size, be prudent with your questions.I have limited that the whatsapp message to be a minimum of 10 characters so don't just say 'hello' to chat-gpt.you can follow the docker log file to see if things are working ![]() # use Dockerfile.ubuntu if on linux or cloudÄocker run -d -p 5000:5000 -name bs-chat bs-chat env fileÄocker build -t bs-chat -f Dockerfile.pi. (lightbulb) my Raspberry Pi that runs all my home automation docker containers. I have an old 2011 iMac running HighSierra OS so I was unable install Node 18 which is required for the package to work and I refused to go to my windows laptop. They have also published an npm package for convenience which is what I eventually used. I quickly settled with a NodeJS implementation from the folks at transitive-bullshit. I started looking for any open source API for chat-gpt and surely the amazing developers out there never disappoint. So what I have done here is absolutely not production worthy, just a usable solution for my family. So this 2-3 day hackathon idea was conceived and launched. ![]() ![]() So I figured why not give them this chance to actually interact with the NLP AI using WhatsApp. Even an ipad was a stretch except for Facetime. My parents are not techically inclined at all and the only thing they really know how to use is WhatsApp on their mobile. I wanted to find a way to allow my aging parents use WhatsApp too communicate with OpenAI's chat-gpt. Raspberry Pi, Docker, ngrok, NodeJS(typescript), Twilio, WhatsApp Objective
0 Comments
Leave a Reply. |