Skip to main content

We're excited to be creating more content for you! Additional modules are being added regularly.

Module 2.2

Intro to the AI Landscape

Before we dive deeper into prompt engineering, it's essential to understand where generative AI fits within the broader landscape of artificial intelligence. This understanding will help you better grasp the capabilities and limitations of the tools you'll be working with.

The Heierarchy of AI

Artificial-Intelligence-Hierarchy-

Before diving into the specifics of prompt engineering, it's essential to understand where this technology fits in the broader artificial intelligence landscape. Think of AI like a set of nested Russian dolls, with each layer representing a more specialized form of artificial intelligence. At the outermost level, we have AI itself – the broad concept of machines that can mimic human intelligence. Within that, we find machine learning, where systems learn from data rather than following strict programming. Deep learning represents a more sophisticated approach using neural networks, and at the core, we have generative AI, which can create new content based on what it has learned. This progression from general to specific helps us understand exactly where and how prompt engineering fits into the bigger picture.

Artificial Intelligence: The Umbrella Term

Artificial Intelligence encompasses any technology that enables computers to mimic human intelligence. Think of AI as a broad category that includes everything from simple rule-based programs to sophisticated learning systems. You interact with AI daily through spam filters, voice assistants, and recommendation systems.

Machine Learning: Teaching Through Data

Machine learning marked a fundamental shift in how we approach AI. Instead of programming explicit rules, we let systems learn from data. These enhancements required significantly less human intervention while simultaneously improving overall performance. The concept is similar to the difference between giving someone a manual and letting them learn from experience versus hand-holding them along each step of the process you are trying to teach. ML powers many familiar technologies – from fraud detection in your credit card to predictive text on your phone.

Deep Learning: Finding Complex Patterns

Deep learning represents a breakthrough in machine learning, using layered neural networks inspired by the human brain. These systems excel at finding complex patterns in data, enabling advances in:

  • Image recognition
  • Speech processing
  • Language understanding
  • Complex decision-making

This technology forms the foundation for modern AI applications, including the language models you'll work with in prompt engineering.

Generative AI: Creating Something New

Generative AI is the most recent breakthrough in AI technology and, arguably, is the most exciting! Previous forms of AI were limited to only be able to interact with pre-existing data. However, generative AI, including large language models, have the remarkable ability to create new content rather than just analyzing existing data. This marks a significant shift from previous AI systems. Classification transformed into creation:

  • Traditional AI: "Is this email spam?" (Classification)
  • Generative AI: "Write me a professional email about..." (Creation)

This creative capability makes generative AI particularly powerful for tasks like creating content, developing code, or solving complex problems. This becomes especially powerful with language models, since you can have an ongoing conversation and expand the supplied context within any particular request.

Key Distinctions

Traditional AI vs. Machine Learning

  • Traditional AI uses predefined rules and logic
  • Machine Learning learns patterns from data

Machine Learning vs. Deep Learning

  • Machine Learning often requires feature engineering
  • Deep Learning automatically learns important features

Deep Learning vs. Generative AI

  • Deep Learning classifies or predicts
  • Generative AI creates new content

Putting It All Together

Understanding this hierarchy will help you set realistic expectations for what AI can and cannot do, allowing you to choose the right tool for the appropriate task. Our course will continue to focus on generative AI, but it is important to understand how each of these different models work together. As we continue, we'll focus specifically on language models and their unique characteristics. This foundation will help you understand why certain prompt engineering techniques work better than others.