Leaf decoration

Introduction to AI

Unit: 1
Book Icon

Generative AI & Prompt Engineering

This foundational chapter introduces Artificial Intelligence as the core building block for Generative AI and Prompt Engineering. It explains what AI...

AI-Powered
TL;DR — Quick Summary
Click Generate Summary to get a quick AI-powered overview of this chapter.
Gemini is reading the chapter...
    Could not generate summary. Please try again.
    Explain This
    AI Explanation
    Explaining...

    Could not explain. Try again.
    MCQ Practice

    Lesson 1.1: What is AI?

    Artificial Intelligence (AI) refers to the capability of computational systems to perform tasks that typically require human intelligence, such as learning, reasoning, problem-solving, perception, decision-making, and creativity.

    In simpler terms, AI enables machines and computers to simulate human-like cognitive functions. It allows systems to:

    • Learn from data and experience.
    • Identify patterns and make predictions.
    • Understand and respond to natural language.
    • Make decisions or recommendations.
    • Act autonomously in certain environments (e.g., self-driving cars).

    Key Characteristics of AI

    • Learning from Data: AI systems improve through exposure to large datasets, often using techniques like machine learning.
    • Pattern Recognition: Identifying structures in data that humans might miss.
    • Adaptability: Some AI can generalize from examples rather than following rigid, pre-programmed rules.
    • Simulation of Intelligence: Not "true" consciousness (in most current systems), but effective performance on intelligent tasks.

    Core Subfields

    • Machine Learning (ML): Algorithms that learn from data without explicit programming for every scenario.
    • Deep Learning: A subset of ML using neural networks inspired by the human brain.
    • Natural Language Processing (NLP): Enabling machines to understand and generate human language (foundational for Generative AI).
    • Computer Vision: Interpreting visual information.

    AI is not magic—it's built on mathematics, statistics, data, and massive computational power. Today’s Generative AI (like models that create text, images, or code from prompts) builds directly on these foundations.

    Real-World Examples:

    • Virtual assistants (Siri, Alexa).
    • Recommendation systems (Netflix, Amazon).
    • Generative tools (ChatGPT, DALL-E).

    AI raises important considerations around ethics, bias, transparency, and responsible use, which we’ll touch on throughout the course.

     

    Lesson 1.2: History of AI

    The history of AI is marked by periods of optimism ("AI summers") and disillusionment ("AI winters"), driven by technological breakthroughs, hype, and limitations in computing power or data.

    Key Milestones (Timeline)

    Pre-1950s: Foundations

    • Ancient myths and automata (e.g., mechanical devices simulating life).
    • 19th–early 20th century: Logical foundations (e.g., Boolean algebra, Turing machines).
    • 1943: McCulloch and Pitts propose early neural network models.
    • 1950: Alan Turing publishes "Computing Machinery and Intelligence" and proposes the Turing Test (a machine is intelligent if it can fool a human in conversation).

    1950s: Birth of AI

    • 1956: Dartmouth Conference — John McCarthy, Marvin Minsky, and others coin the term "Artificial Intelligence" and organize the first dedicated workshop. This is widely seen as the birth of AI as a field.
    • Early programs: Logic Theorist (1955–56), General Problem Solver.
    • 1958: John McCarthy develops LISP, a key programming language for AI.

    1960s–1970s: Early Progress and First AI Winter

    • 1966: ELIZA, one of the first chatbots, simulates a psychotherapist.
    • Optimism leads to overpromising. Limitations in computing power and inability to handle real-world complexity cause funding cuts.
    • First AI Winter (mid-1970s–1980): Reports like the UK Lighthill Report criticize progress; governments (e.g., DARPA) reduce funding.

    1980s: Revival and Second Winter

    • Expert systems and knowledge-based AI gain traction in industry.
    • Japan’s Fifth Generation Computer Project boosts investment.
    • Second AI Winter (late 1980s–1990s): Collapse of specialized AI hardware markets and unmet expectations lead to another downturn.

    1990s–2010s: Rise of Machine Learning and Big Data

    • 1997: IBM’s Deep Blue defeats chess champion Garry Kasparov.
    • 2011: IBM Watson wins Jeopardy!
    • Advances in neural networks, increased computing power (GPUs), and availability of big data fuel progress.
    • 2012: AlexNet wins ImageNet competition, sparking the deep learning revolution.

    2010s–Present: Generative AI Boom

    • 2010s: Breakthroughs in deep learning, transformers (2017 paper "Attention Is All You Need"), and large language models.
    • 2022–2023 onward: Widespread adoption of tools like ChatGPT, marking the Generative AI era. Models can now create novel content, code, and more.

    AI has cycled through hype and reality, but each winter led to more focused, practical advancements. Today’s success stems from better algorithms, enormous datasets, and scalable cloud computing.

     

    Lesson 1.3: Types of AI

    AI is commonly classified in two main ways: by capability and by functionality. We’ll focus primarily on capability for this introductory chapter.

    By Capability

    Artificial Narrow Intelligence (ANI) or Weak AI

    • Designed for specific tasks.
    • Current state of all deployed AI (including Generative AI tools like GPT models).
    • Examples: Voice assistants, image recognition, spam filters, recommendation engines, ChatGPT (great at language tasks but not general reasoning across unrelated domains).
    • Strengths: Highly efficient at narrow problems; superhuman performance in specific areas.
    • Limitations: Cannot transfer learning easily to entirely new tasks without retraining.

    Artificial General Intelligence (AGI) or Strong AI

    • Hypothetical AI that matches or exceeds human-level intelligence across a wide range of tasks, including reasoning, learning new skills autonomously, and adapting to novel situations.
    • Could understand context like a human and perform any intellectual task a person can.
    • Not yet achieved, though some frontier models show early sparks of broader capabilities.
    • Major focus of ongoing research and debate (safety, timelines, ethics).

    Artificial Superintelligence (ASI)

    • Theoretical AI that surpasses human intelligence in every domain — creativity, scientific discovery, strategic thinking, etc.
    • Could lead to rapid self-improvement (intelligence explosion).
    • Often discussed in the context of existential risks and transformative benefits.

    By Functionality (Additional Framework)

    • Reactive Machines: Respond to current inputs (e.g., Deep Blue chess AI) — no memory.
    • Limited Memory: Learn from past data (most modern AI, including Generative models).
    • Theory of Mind: Understand emotions/beliefs (emerging research).
    • Self-Aware: Conscious AI (purely speculative).

    Relevance to Generative AI: Most Generative AI today is advanced ANI powered by large language models (LLMs) and diffusion models. Prompt Engineering is the skill of effectively directing these narrow but powerful systems to produce desired outputs.

    Chapter Summary & Key Takeaways

    • AI simulates human intelligence through data-driven computation.
    • Its history shows boom-bust cycles leading to today’s powerful tools.
    • We live in the era of Narrow/Generative AI, with AGI/ASI as future frontiers.
    • Understanding these basics is essential before diving into Prompt Engineering and Generative techniques.

    Next Steps: In subsequent chapters, we’ll explore Large Language Models, prompt techniques, and practical applications.

    This content provides a solid, self-contained introduction suitable for a course module. For deeper dives, consider hands-on experiments with AI tools or further reading on ethical AI practices.

    Share Now

    Share to help more learners!

    Resources
    Lesson Contents