Lesson 1: What's Really Behind a Chatbot?
Lesson No: 1 What Is Really Running Behind the Chatbot?
By Tanzeel-ur-Rahman (CodeHubb & MindCrafts_AI) Farooka (Sargodha)
Assalamu Alaikum wa Rahmatullahi wa Barakatuh!
Nowadays, everyone on social media is using ChatGPT. One person is getting an application written, another is listening to poetry, and many friends have come to believe that behind the screen sits a human-like brain that knows everything. This is exactly the difference between an ordinary user and a developer. We have to look beyond this screen and see what is actually running behind the system.
The simple fact is that AI has no mind or human consciousness of its own. It is a probabilistic system (Probabilistic System) trained on data from trillions of books, code and articles, which only estimates which next word or token would be the most suitable one after what you have said. What we call a chatbot is only a simple interface at the front; the real power lies in the foundation model sitting behind it.
There are a few big names in the market right now, and each of them works in a different way: 1. Google Gemini: Its great strength is that it can deeply examine text, images, audio and videos at the same time (Native Multimodal), and it has the ability to hold the content of very large books in front of it all at once and analyse it. 2. OpenAI GPT (OpenAI's GPT): It is a tried-and-tested corporate cloud engine for plain everyday conversation, everyday logic and fast question-and-answer, but its reins are locked entirely on the company's own servers. 3. Anthropic Claude (Claude): For long articles, scholarly research and the analysis of well-organised coding structures, its style remains quite balanced and serious. 4. Open Weights Models (Llama etc.): These are the models that we can run on our own computer or a client's private server so that the data does not go outside. However, they do require good graphics card hardware (Dedicated GPU and VRAM).
The job of a good craftsman is not to run the same tool everywhere; rather, he chooses the right model by looking at the nature of the work.
Practical exercise and experiment: Open any AI tool and, instead of asking it a traditional question, test its logical connection. Write this prompt in the chat: "On the bank of a river there are a wolf, a goat and some grass. Suppose that here the wolf eats grass and the goat eats meat. The boatman can take only one thing across at a time. If he first takes the grass across, what harm will be left behind?"
Read the model's answer carefully. If the model has repeated the old story from the internet without understanding your condition, it will say that the wolf will eat the goat. But if it paid attention to the new condition you gave, it will tell you that the wolf and the grass were left alone, and since the wolf eats grass, it will eat the grass.
Today's takeaway and task: From this exercise you will get an idea that AI does not work by rote, but prepares its answer according to the principles and context (Context) that you give it. Today's task is this: put some other reversed condition in this question and see whether the model stays true to your principles or goes astray.
Write just this one thing in your notebook: "AI is not magic; rather, it is a pattern engine that runs on the context and rules we give it."
Do tell us in the comments whether the model lived up to your changed condition or got tangled up in the old tale.
@[100002633121644:2048:Tanzeel-ur-Rahman] @[61594968852417:2048:CodeHubb & MindCrafts AI] #Lesson1 #AIWebDev #SkillFirst #MindCraftsAI #CodeHubb