Tuesday, 1 December 2026

AI fundamentals & Concepts

 Hi friends,


This post is all about AI fundamentals & Concepts.


So, what is artificial intelligence?

Artificial intelligence is a term used for machines that can mimic human intelligence.


What is machine learning?

Machine learning is a subset of AI where systems learn patterns from data instead of being explicitly programmed.

Layers of AI:



In this image, I have already explained AI and Machine Learning above.

Deep Learning: It takes Machine learning (ML) further by using multi-layered neural networks inspired by the human brain.

Neural Networks: These are the core building blocks that process information  through interconnected layers.

Transformers: There are modern neural network architecture that uses attention mechanisms to understand context efficiently.


Generative AI:  It refers to models that can create new content - text, images, videos, code, audio etc.

Large Language Models: These are massive transformer-based models trained on vast amounts of text to understand and generate language.

GPT: It is a specific type of LLM, pre-trained on large datasets and fine-tuned for tasks.

ChatGPT: It is an application built on GPT that enables conversational interaction with AI.


Artificial Intelligence landscape:



What is generative AI:

Generative AI creates new contents based on user instructions.

Example:

  • ChatGPT generates text.
  • Image generation models create images.
  • Coding assistance generates java code.

What is Agentic AI:

Agentic AI focuses on achieving a goal by planning and taking actions using tools.

For example , if user asks:
Analyse my company's leave policy and prepare a leave summary report.

An AI agent might:

  • Search the HR policy documents.
  • Retrieve relevant information.
  • Analyse leave rules.
  • Calculate applicable leave balances using a tool.
  • Generate a report.
  • Save the report to a specified location.


Generative AI vs Agentic AI:


     Generative AI                                               Agentic AI

Generates Content                                        Works toward a goal

Usually responds to prompts                        Can plan multiple steps

Generates text, images, code                        Uses API's and tools

Often one-step interaction                            Often multi-step execution


How are Agentic AI and Generative AI related?

Agentic AI use Generative AI(LLMs) as its reasoning and language-generation engine.


Some important concepts in Generative AI:

  • LLM: Large Language Model
  • Token: A unit of text processed by LLM.
  • Tokenization: Breaking text into tokens.
  • Embedding: Numerical representation of data
  • Prompt: User instructions or input given to a model.
  • Hallucination: When a model produces unsupported or incorrect information.

How does an AI model learn?

An AI model learns by analysing large amounts of data and identifying patterns within it.
For example, if we train a model using thousands of labelled images of cats and dogs, it gradually learns the patterns that help distinguish between them.
Once training is complete , the model can analyse a new image and predict whether it contains a cat or dog.


Training vs. inference in AI:

Training and inference are two fundamental stages in an AI lifecycle. Training is the process in which a model learns patterns from historical data. Inference happens when the trained model receives new input and produces an output. 

For example, training an LLM involves learning from large text datasets, whereas asking ChatGPT to explain a java concept is an inference operation.

Most business applications consume already-trained models rather than training them from scratch.


Thanks!!