Member-only story
Build ChatGPT-like Chatbots With Customized Knowledge for Your Websites, Using Simple Programming
Like ChatGPT but in a form that you can plug into your website and expand with any kind of tailored information by combining basic “old-school” NLP with cutting-edge GPT-3.
DO CONTACT ME FOR JOBS BASED ON THIS!

Introduction
Being the end of 2022, it’s quite likely that you’ve heard about ChatGPT and even witnessed its power by using it. ChatGPT is a revolutionary artificial intelligence technology that allows users to have natural conversations with a very smart chatbot. Its unique ability to understand and respond to human language has made it a popular choice for businesses looking to improve customer service, as well as for individuals seeking a more personalized chat experience.
As impressive as ChatGPT is, it would be even cooler if there was a way to integrate it into your own website and train it with customized information. Imagine being able to create a chatbot that is tailored to your business or one that can hold intelligent conversations with your friends and family.
This is all possible with technologies that are just an API call away and that you can integrate seamlessly into web pages, web apps, and websites.
In this article, I will show you how to create a good-looking chatbot powered by GPT3, using HTML, CSS, and JavaScript on the client and PHP on the server. Through old-style string natural language processing, the chatbot searches for relevant sources of information in your custom-prepared sources. Then, it uses the retrieved information for few-shot learning with GPT-3 as it adds on the user’s input. The produced answer is then displayed, all in a nice GUI like that expected for a fully-fledged chatbot. The overall result is a quite smart chatbot, like ChatGPT, further able to respond about things that regular GPT-3 or ChatGPT don’t know about, in a nice, easy-to-use graphical format.
Here you can see it in action, replying to questions that regular GPT-3 doesn’t know about (for example, about myself) but are here retrieved from some customized…