Glossary · AI/ML

LLM

Large Language Model

Also known as: language model, foundation model

A neural network trained on huge amounts of text to predict the next token, which lets it answer questions, write code, and follow instructions.

How it works

An LLM is a transformer model trained in two broad phases:

  1. Pre-training: read a large text corpus and learn to predict the next token.
  2. Post-training: fine-tune on instructions and human feedback so it follows requests and stays helpful.

At inference time, the model reads your prompt, predicts one token, appends it, and repeats until it stops.

Things to remember

  • An LLM only knows what was in its training data up to a cut-off date. Use RAG for private or recent facts.
  • Output is probabilistic. The same prompt can give different answers unless you lower the temperature.
  • Cost and speed scale with tokens in and out.

See also

Related technologies

Used in these posts

AI/ML • 13 min read Reader level: Intermediate

What you'll learn

  • How to set up OpenCode with a free premium model through OpenRouter
  • How to find models that are really free and avoid the common API-key mistake
  • How to beat free-tier rate limits with fallbacks and a small Cloudflare Worker
  • How to add Supabase storage and deploy to Cloudflare for $0
Stop Paying for Tokens: Ship a Real AI Tool on a $0 Stack

Ship a local ticket-triage CLI on Ollama and SQLite. Schema-checked JSON, one stored decision per ticket, and no API token bill.

#ollama#llm#python#ai
Projects • 9 min read Reader level: Intermediate

What you'll learn

  • The difference between typed Java decisions and LLM-generated decisions
  • How to model decisions as typed, first-class domain objects
  • How a hybrid routing service cascades from fast typed rules to an LLM
  • A framework for choosing each approach, backed by benchmarks
Jev: Type-Safe vs LLM in Spring Boot

A practical comparison of type-safe Java design and LLM-assisted code generation in Spring Boot, with guidance on where each approach adds the most value.

#spring-boot#java#llm#type-safety
AI/ML • 6 min read Reader level: Advanced

What you'll learn

  • How to scope an agent to a narrow job and break it into steps
  • How to design tools and guardrails around trust
  • How to keep agents observable, with intentional memory and fail-safe defaults
  • A practical blueprint and checklist for your next agent
Designing Reliable AI Agents

A practical blueprint for building AI agents that stay useful, observable, and safe when real users push them beyond the happy path.

#ai-agents#llm#agent-design#reliability
AI/ML • 11 min read Reader level: Intermediate

What you'll learn

  • How tokens, embeddings, and attention turn text into predictions
  • What the transformer and context window really do
  • How models are trained: pretraining, fine-tuning, and preference tuning
  • Why fluent answers are sometimes false, and grounding patterns that help
LLM Concepts: A Developer Overview

A practical map of how large language models work: tokens, transformers, training, sampling, and the patterns that keep answers grounded.

#llm#transformers#ai-basics
AI/ML • 7 min read Reader level: Beginner

What you'll learn

  • Why RAG beats asking a model from memory, and when to use it
  • How 10 RAG variants work, from Simple RAG to Graph RAG and Agentic RAG
  • Which variant fits which problem, using a side-by-side summary matrix
  • How to build an adaptive router that picks a RAG strategy per query
10 Types of RAG

Think of RAG like an open-book exam. Instead of guessing from memory, the AI looks at a library of books (your data) to find the right facts before it answers you.

#rag#ai#ml
Java • 9 min read Reader level: Intermediate

What you'll learn

  • How a RAG system that chats with local documents is designed
  • How data ingestion and retrieval work with Spring AI
  • How to set up, build, and run the project
  • How to ingest documents, ask questions, and test the results
RAG-Nomic LLM using Java and Spring AI

A Retrieval-Augmented Generation (RAG) system built with Spring AI, designed to chat with local documents.

#project#java#spring-ai#rag
AI/ML • 17 min read Reader level: Beginner

What you'll learn

  • The difference between Claude Opus and Claude Sonnet, in plain terms
  • When to pick each model, for technical and non-technical work
  • Simple prompting rules that get better answers
  • How to get started, including the Projects feature
What Are Claude Opus and Claude Sonnet? (Simple Explanation)

Think of Anthropic (the company that makes Claude) as a car manufacturer. They make different models for different needs

#ai-ml#llm-architecture
AI/ML • 8 min read Reader level: Beginner

What you'll learn

  • How AI changes, and does not change, a traditional developer's job
  • A side-by-side view of traditional versus AI-enhanced development
  • How to bring AI into existing Java, .NET, PHP, Ruby, or Node.js stacks
  • A beginner-to-advanced AI learning roadmap
From Traditional Developer to AI Engineer: A Simple Guide to Staying Relevant

A practical guide for traditional software developers to transition into AI engineering by layering AI capabilities onto existing skills and systems.

#ai-engineering#developer-career#llm#rag