INDEPENDENT COMMUNITY @ MCMASTER

Shannon Hub Authors

Ideas, experiments, project notes, and practical work in AI & Data.

SHANNON HUB

Shannon Hub Authors

Writing about building with AI, analyzing data, and the practical lessons behind technical projects. Every article remains connected to the forum for questions and discussion.

Shannon Hub

AI Memory vs. Knowledge Bases: How AI Applications Remember Information

A knowledge base allows an AI application to access external information. But what happens when the application needs to remember something about a user? For example, imagine an AI shoppi…

Evan · Oct 19, 2026 · 5:28 PM EDT · 0 replies
Shannon Hub

Building and Using a Knowledge Base in Coze

Understanding what a knowledge base does is useful, but how do we actually build one? Platforms such as Coze simplify the process by providing tools for importing documents, organizing co…

Evan · Oct 16, 2026 · 9:55 PM EDT · 0 replies
Shannon Hub

What Is MCP? A Standard Way to Connect AI Applications and Tools

Function Calling allows AI applications to use external tools. But as an application grows, managing tool integrations can become complicated. Imagine building an AI assistant that needs …

Evan · Oct 14, 2026 · 12:07 PM EDT · 0 replies
Shannon Hub

Function Calling: How AI Models Use External Tools

Large Language Models are good at understanding language and generating responses. However, they cannot automatically access every external system or perform every action a user requests.…

Evan · Oct 13, 2026 · 3:19 PM EDT · 0 replies
Shannon Hub

From Prompts to AI Agents: How LLM Applications Work

When people first start using Large Language Models (LLMs), they usually begin with a simple prompt. They ask a question, provide some instructions, and wait for an answer. But modern AI …

Evan · Oct 8, 2026 · 12:11 PM EDT · 0 replies
Shannon Hub

Prompt Engineering, RAG, or Fine-Tuning? Start With the Problem

When an LLM gives you a bad answer, it is easy to assume that the model is simply not good enough. But that is not always the case. Before changing the model, we should first understand w…

Evan · Oct 6, 2026 · 2:12 PM EDT · 0 replies
Shannon Hub

Why GPU Cost Should Not Be Your First Concern in LLM Fine-Tuning

When people first think about fine-tuning a Large Language Model, one question often comes up immediately: How many GPUs do I need? It sounds like an important question. Large models requ…

Evan · Oct 5, 2026 · 9:05 PM EDT · 0 replies
Shannon Hub

RAG or Fine-Tuning? Three Practical AI Examples

The difference between RAG and fine-tuning becomes much clearer when we look at real applications. Instead of asking which technology is "better," we can break an AI product into individu…

Evan · Oct 4, 2026 · 1:37 PM EDT · 0 replies
Shannon Hub

RAG vs. Fine-Tuning: How Do You Choose?

When building an LLM application, one common question is: Should I use RAG or fine-tuning? They can both improve an AI system, but they solve different types of problems. A simple way to …

Evan · Oct 3, 2026 · 1:38 PM EDT · 0 replies
Shannon Hub

Vector RAG vs. GraphRAG: When Similarity Search Is Not Enough

Traditional RAG usually relies on vector search. A user asks a question, the system converts it into an embedding, searches a vector database, retrieves several similar chunks, and gives …

Evan · Oct 2, 2026 · 11:48 AM EDT · 0 replies
Shannon Hub

How RAG Works: From Documents to Better LLM Answers

Large Language Models know a lot, but they do not automatically know everything inside your private documents, company files, or newly updated data. For example, imagine that your company…

Evan · Oct 1, 2026 · 2:28 PM EDT · 0 replies
Shannon Hub

ReAct vs. Plan-and-Solve: Two Ways AI Agents Handle Tasks

Once an Agent has access to tools, it still needs a strategy for using them. Should it plan the entire task first? Or should it think, take one action, observe the result, and then decide…

Evan · Sep 29, 2026 · 2:21 PM EDT · 0 replies
Shannon Hub

How AI Agents Work: Memory, Planning, Tools, and Actions

Large Language Models are good at understanding questions, generating text, and reasoning about information. But an AI Agent needs to do more than simply generate an answer. An Agent may …

Evan · Sep 28, 2026 · 5:02 PM EDT · 0 replies
Shannon Hub

Catastrophic Forgetting: What Happens When LLMs Become Specialized

## The Problem of Catastrophic Forgetting Fine-tuning a model on specialized data may improve its performance in a specific domain while reducing some of its original general capabilities…

Evan · Sep 26, 2026 · 12:53 PM EDT · 0 replies
Shannon Hub

Fine-Tuning LLMs: How Models Learn Specialized Behavior

Large Language Models are trained on enormous amounts of general-purpose data. This gives them broad knowledge and allows them to handle many different tasks. But a general-purpose model …

Evan · Sep 25, 2026 · 1:08 PM EDT · 0 replies
Shannon Hub

AI Agents: From Answering Questions to Getting Things Done

Large Language Models are good at answering questions, generating text, and reasoning about information. But many real-world tasks require more than generating an answer. An AI system may…

Evan · Sep 24, 2026 · 1:40 PM EDT · 0 replies
Shannon Hub

When Should You Use RAG, Fine-Tuning, or Both?

RAG and fine-tuning are sometimes treated as competing approaches. But in practice, they can solve different parts of the same problem. The real question is not which one is better. Inste…

Evan · Sep 23, 2026 · 10:33 AM EDT · 0 replies
Shannon Hub

RAG vs Fine-Tuning: What Is the Difference?

When building an LLM application, there is usually a point where prompt engineering is no longer enough. You may need the model to know information it has never seen before. Or you may wa…

Evan · Sep 22, 2026 · 11:01 AM EDT · 0 replies
Shannon Hub

RAG in Practice: Ranking, Context, and Why RAG Is an Engineering Problem

A real RAG system also needs to decide which information should actually be sent to the LLM. This is where RAG becomes an engineering problem rather than simply an LLM problem. ## From Re…

Evan · Sep 21, 2026 · 11:18 AM EDT · 0 replies
Shannon Hub

RAG: From Documents to Better LLM Answers

## How RAG Works: From Documents to Better LLM Answers Large Language Models are powerful, but they have an important limitation that they do not automatically know your private or up-to-…

Evan · Sep 20, 2026 · 2:41 PM EDT · 0 replies
Shannon Hub

From LLM Applications to AI Agents

So far, we have built an LLM application with several parts. RAG gives the model external knowledge. Tools allow it to interact with external systems. But what happens when the LLM can de…

Evan · Sep 19, 2026 · 11:54 AM EDT · 0 replies
Shannon Hub

What Is RAG? A Simple Explanation

Imagine your company has 10,000 documents. They might include product manuals, company policies, research reports, customer support documents and other internal knowledge. Now a user asks…

Evan · Sep 18, 2026 · 10:56 AM EDT · 0 replies
Shannon Hub

What Is Tool Calling and Why Do LLMs Need It?

An LLM is very good at understanding and generating language. But what if we want it to do something outside the model? For example: What is the current price of Product A? The LLM should…

Evan · Sep 17, 2026 · 3:00 PM EDT · 0 replies
Shannon Hub

How Does an LLM Application Actually Work?

When people first start working with Large Language Models (LLMs), it is easy to think that an AI application is simply: User → LLM → Answer. For a basic chatbot, this may be enough. But …

Evan · Sep 17, 2026 · 2:17 PM EDT · 0 replies