What Is Generative AI? How Tools Like ChatGPT Actually Work
Generative AI is a category of artificial intelligence that creates new content (text, images, audio, code) by predicting what should come next based on patterns learned from massive training datasets. It is powerful and useful, but it does not understand what it produces.
Generative AI is a category of artificial intelligence that creates new content (text, images, audio, code) by predicting what should come next based on patterns learned from massive training datasets. It is powerful and useful, but it does not understand what it produces.
How does a tool like ChatGPT actually work?
The simplest accurate description is: prediction machine. When ChatGPT writes a sentence, it predicts the most probable next word given everything that came before it, then repeats this process word by word until the response is complete.
The model was trained on enormous quantities of text from the internet, books, and other sources. During training, it analyzed patterns: which words tend to follow other words, how paragraphs are structured, how questions are typically answered. It compressed all of these patterns into a mathematical model with billions of parameters (think of parameters as adjustable settings that encode the patterns).
When you type a prompt, the model does not search a database for an answer. It generates the response from scratch, predicting one token (roughly one word) at a time. This is why it can produce fluent, coherent text on almost any topic, and also why it sometimes produces confident-sounding text that is factually wrong.
The model does not know what is true. It knows what sounds right based on its training data.
What kinds of content can generative AI produce?
Generative AI now spans multiple content types.
Text is the most widely used. ChatGPT, Claude, and Google Gemini generate essays, emails, summaries, translations, and code. For a Kenyan professional drafting a proposal in English, or a student summarizing lecture notes, these tools can save hours per week.
Images come from models like DALL-E, Midjourney, and Stable Diffusion. Describe what you want ("a watercolor painting of Nairobi skyline at sunset"), and the model generates it. These tools are increasingly used by Kenyan designers and content creators for mockups and social media visuals.
Audio and music generation is developing rapidly. Tools can clone voices, generate background music, and even produce podcast-style narration from text input.
Code generation is one of the most practical applications. Tools like GitHub Copilot and Claude can write functions, debug errors, and explain existing code. Developers in Nairobi's tech ecosystem are already using these daily.
Each of these works on the same principle: the model learned patterns from existing examples and generates new outputs by predicting what fits the given input.
What can generative AI reliably do?
It performs well on tasks where being approximately right is valuable and where a human reviews the output.
Drafting is where generative AI shines. First drafts of emails, reports, blog posts, product descriptions, and social media content. The model handles the blank-page problem. A human edits for accuracy and tone.
Summarization works well for condensing long documents into key points. Paste a lengthy county government report into Claude and ask for a five-point summary. Review the output against the original, and you have saved significant reading time.
Translation and language tasks are strong, though not perfect. Translating between English and Kiswahili produces usable results for informal communication. Critical documents still need a human translator.
Brainstorming and ideation is genuinely useful. Ask for ten marketing angles for a Kenyan agricultural product, and you will get a starting list that includes ideas you may not have considered. Not all will be good, but the volume helps.
Explaining concepts in simpler terms is another practical use. This is exactly what we do in our AI and Automation course, and it is also something these tools handle well on demand.
What are the honest limits?
This matters more than the capabilities, because the limits are where people get burned.
Hallucinations are the most significant problem. Generative AI confidently produces false information. It will cite academic papers that do not exist, invent statistics, and fabricate quotes attributed to real people. Any factual claim from a generative AI tool must be verified independently. Always.
No real-time knowledge unless the model has web access. A base model's knowledge has a training cutoff date. It does not know what happened yesterday unless it can search the web.
Bias from training data means the outputs reflect the biases present in the text and images the model was trained on. Representations of Kenyan culture, business norms, and local context may be filtered through a predominantly Western lens.
Inconsistency is inherent. Ask the same question twice, and you may get different answers. This is by design (the prediction process includes randomness), but it can be frustrating when you need reliable, repeatable outputs.
Context limits mean the model can lose track of details in very long conversations or documents. It may contradict something it said earlier or forget instructions you gave at the beginning.
These are not flaws that will be fixed next year. Some, like hallucination, are structural features of how prediction-based generation works. Improvement is ongoing, but expecting perfection is a mistake.
How is generative AI different from other AI?
All generative AI is artificial intelligence, but not all AI is generative. The M-Pesa fraud detection system is AI that classifies transactions (fraud or not fraud). It does not generate new content. A phone camera's portrait mode is AI that segments an image. It does not create a new image.
Generative AI specifically produces new outputs. It creates text, images, audio, or code that did not exist before. The distinction between AI and automation also applies here: generative AI can be part of an automated workflow (for example, automatically drafting a response to customer inquiries), but the generation itself is the AI component, and the routing and sending are the automation components.
How should we actually use these tools?
Treat generative AI as a capable but unreliable assistant. Give it clear instructions. Review everything it produces. Use it for drafts, not final outputs. Verify any factual claims.
Pair it with your own expertise. A Kenyan accountant using AI to draft financial summaries is combining the tool's speed with their professional knowledge. A teacher using AI to generate quiz questions is combining the tool's variety with their understanding of the curriculum.
The people getting the most value from generative AI are not the ones who trust it blindly. They are the ones who understand what it is (a prediction machine) and use it accordingly: for speed and volume, with human judgment as the quality filter.
For a hands-on introduction, explore how these tools work inside our course. The free welcome lesson covers the foundations, and later modules walk through practical applications with APIs and real workflows.
FAQ
Is ChatGPT the only generative AI tool?
No. ChatGPT (by OpenAI) is the most well-known, but Claude (by Anthropic), Google Gemini, and Meta's Llama are all generative AI models for text. For images, Midjourney, DALL-E, and Stable Diffusion are widely used. For code, GitHub Copilot is popular among developers. The market has many options, each with different strengths and pricing.
Can generative AI replace writers and designers?
It changes the work more than it replaces the worker. Writers who use generative AI for first drafts and then edit, fact-check, and add original insight are faster than before. Designers who use image generation for quick mockups still need design judgment for the final product. The roles are shifting toward editorial and creative direction rather than pure production.
Is generative AI safe to use with confidential information?
It depends on the tool and the plan. Free tiers of most tools may use your inputs for training, meaning your data could influence future outputs. Paid business plans from OpenAI, Anthropic, and Google typically include data privacy commitments. Always read the terms of service. For sensitive business information, use tools that explicitly guarantee your data will not be used for training, and consider on-premise or private deployment options where available.
Frequently Asked Questions
### Is ChatGPT the only generative AI tool?
No. ChatGPT (by OpenAI) is the most well-known, but Claude (by Anthropic), Google Gemini, and Meta's Llama are all generative AI models for text. For images, Midjourney, DALL-E, and Stable Diffusion are widely used. For code, GitHub Copilot is popular among developers. The market has many options, each with different strengths and pricing.
Can generative AI replace writers and designers?
It changes the work more than it replaces the worker. Writers who use generative AI for first drafts and then edit, fact-check, and add original insight are faster than before. Designers who use image generation for quick mockups still need design judgment for the final product. The roles are shifting toward editorial and creative direction rather than pure production.
Is generative AI safe to use with confidential information?
It depends on the tool and the plan. Free tiers of most tools may use your inputs for training, meaning your data could influence future outputs. Paid business plans from OpenAI, Anthropic, and Google typically include data privacy commitments. Always read the terms of service. For sensitive business information, use tools that explicitly guarantee your data will not be used for training, and consider on-premise or private deployment options where available.
7-minute Welcome lesson, no purchase required
Bonaventure Ogeto
Founder, Mctaba Labs
Software engineer building products for the African market. Teaching 10,000+ students across multiple platforms. BSc Mathematics & Computer Science from JKUAT.