Introduction to AI

📘Introduction

Before we explore prompt engineering, let’s get to know Artificial Intelligence (AI) and Machine Learning (ML) first. This is a starter guide to AI and ML.

📘What is AI?

Artificial Intelligence (AI) is the science of making machines to mimic human cognitive functions such as learning and problem-solving. This includes:

  • Understanding natural language.
  • Recognizing patterns.
  • Solving problems.
  • Making decisions.

📘What is Machine Learning?

Machine Learning (ML) is a subset of AI. A machine learns from data rather than being programmed explicitly to perform a task. Think of it like teaching a child: you don’t hard-code knowledge into them; they learn from experiences and examples.

📘Difference Between AI and ML

Artificial intelligence (AI) is a broad term that refers to machines’ ability to perform tasks typically associated with human intelligence, such as learning, reasoning, and problem-solving. Machine learning (ML) is a subset of AI that allows machines to learn from data without being explicitly programmed.

In other words, AI is the goal, and machine learning is one of the many ways to achieve that goal.

Artificial Intelligence (AI) Machine Learning (ML)
Making machines mimic human cognitive functions. A subset of AI where machines learn from data.
Perform tasks associated with human intelligence. Learn from data without explicit programming.

📘What are Large Language Models?

Large Language Models (LLMs) are AI models trained on extensive datasets. For instance, ChatGPT is trained on billions of parameters, allowing it to generate coherent and contextually relevant text based on input prompts.

🚀Key Points

  • AI is making machines to mimic human cognitive functions such as learning and problem-solving.
  • ML is a subset of AI that allows computers to learn from data.