Guides
Engineering reference for AI concepts, patterns, and production systems. Each guide covers architecture, tradeoffs, and real-world implementation.
AI Fundamentals
Core concepts behind modern artificial intelligence.
- Generative AI
Understand how AI systems create new text, images, code, and more from learned patterns.
- Large Language Models
Learn how LLMs like GPT, Claude, and Llama process and generate human language at scale.
- Embeddings
Discover how AI converts text, images, and data into numerical vectors that capture meaning.
- Tokens
Understand the basic units that LLMs read and write - and why they matter for cost and performance.
- Fine-tuning
Learn how to adapt a pre-trained model to your specific domain or task with custom training data.
- Transformers
Understand the transformer architecture that powers every modern LLM - self-attention, encoder-decoder stacks, and why it replaced RNNs.
- Attention Mechanism
Learn how attention lets models focus on relevant parts of input - the core mechanism behind GPT, Claude, and every modern LLM.
- LoRA
Low-Rank Adaptation - the most popular parameter-efficient fine-tuning method for adapting LLMs without full retraining.
- QLoRA
Quantized LoRA - fine-tune large models on consumer GPUs by combining 4-bit quantization with low-rank adapters.
- PEFT
Parameter-Efficient Fine-Tuning - techniques to adapt large models by training only a small subset of parameters.
- RLHF
Reinforcement Learning from Human Feedback - how ChatGPT and Claude learn to be helpful, harmless, and honest.
- DPO
Direct Preference Optimization - a simpler alternative to RLHF that aligns models using preference pairs without a separate reward model.
AI Agents
Autonomous systems that reason, plan, and act.
- AI Agents
Explore how AI agents autonomously reason, plan, and take actions to accomplish goals.
- Agentic AI
Understand the paradigm shift from prompt-response AI to systems that act autonomously.
- Multi-Agent Systems
Learn how multiple AI agents collaborate, delegate, and coordinate to solve complex problems.
- Agent Architectures
ReAct, Plan-and-Execute, reflexion, and other architectural patterns for building reliable AI agents.
- Planning
How AI agents decompose goals into steps, create plans, and adapt when things go wrong.
- Memory
Short-term, long-term, and episodic memory patterns for AI agents that need to remember across sessions.
- Agentic RAG
RAG systems where agents decide what to retrieve, when to search, and how to synthesize multi-step answers.
- Workflows vs Agents
When to use deterministic LLM workflows vs autonomous agents - and why most production systems are hybrids.
LLM Concepts
How large language models work and how to use them effectively.
- Prompt Engineering
Master the art of crafting effective prompts to get better, more reliable results from LLMs.
- Model Context Protocol (MCP)
Learn about MCP - the open standard for connecting LLMs to external tools and data sources.
- Tool Calling
Understand how LLMs invoke external tools and APIs to extend their capabilities beyond text generation.
- Function Calling
Learn how LLMs generate structured function calls that your application can execute.
- Context Windows
Understand the input size limits of LLMs and strategies for working within them.
- Structured Outputs
Learn how to get LLMs to return data in reliable formats like JSON, XML, or typed schemas.
- GPT Models
OpenAI GPT family - architecture evolution, model tiers, API capabilities, and production considerations.
- Claude Models
Anthropic Claude family - extended context, constitutional AI, tool use, and when to choose Claude over GPT.
- Gemini
Google Gemini models - multimodal capabilities, long context, and integration with the Google ecosystem.
- Llama
Meta Llama open-weight models - self-hosting, fine-tuning, quantization, and building on open foundations.
- Mistral
Mistral AI models - efficient architectures, Mixtral MoE, and strong open-weight alternatives.
- DeepSeek
DeepSeek models - reasoning-focused architectures, open weights, and cost-efficient inference.
Retrieval
Techniques for finding and using relevant information with AI.
- RAG
A comprehensive guide to RAG - the dominant pattern for building AI applications that answer questions using your own data.
- Hybrid Search
Combine keyword and semantic search for more accurate and comprehensive information retrieval.
- Semantic Search
Learn how AI understands the meaning behind queries to find relevant results beyond keyword matching.
- Vector Search
Understand how vector databases find similar items using high-dimensional embedding comparisons.
- Vector Databases
Purpose-built databases for storing, indexing, and querying embedding vectors at scale.
- Chunking Strategies
How to split documents for RAG - fixed-size, recursive, semantic, and document-aware chunking with production trade-offs.
- Embedding Models
Choosing and evaluating embedding models - OpenAI, Cohere, BGE, E5, and open-source alternatives for production RAG.
- Re-ranking
Cross-encoder rerankers that re-score retrieved documents for precision - the highest-ROI improvement in most RAG pipelines.
- Metadata Filtering
Pre-filter documents by metadata before vector search - tenant isolation, date ranges, document types, and access control.
- Retrieval Evaluation
Measuring retrieval quality - recall@k, MRR, nDCG, and building golden test sets for RAG pipelines.
Knowledge Graphs
Structured representations of knowledge and relationships.
- Knowledge Graphs
Structured representations of entities and relationships - the foundation for GraphRAG, enterprise search, and neuro-symbolic AI.
- What is a Knowledge Graph?
Understand what knowledge graphs are, how they represent real-world entities and relationships, and why they matter for AI.
- Property Graphs
Labeled property graph model - nodes and edges with key-value properties, used by Neo4j and most graph databases.
- Cypher
The declarative query language for property graphs - pattern matching, traversals, and Neo4j queries.
- Graph Databases
Neo4j, Amazon Neptune, TigerGraph, and RDF stores - choosing and operating graph databases in production.
- RDF vs Property Graph
Compare the two dominant knowledge graph models - RDF (W3C standard) and property graphs (Neo4j-style) - and when to use each.
- RDF
Learn about the Resource Description Framework - the standard for representing knowledge as linked data.
- SPARQL
Master the query language for RDF knowledge graphs and linked data endpoints.
- Ontologies
Understand how ontologies define the vocabulary, relationships, and rules for a domain of knowledge.
- SHACL
Learn how SHACL (Shapes Constraint Language) validates and constrains RDF data against defined shapes.
- OWL
Explore the Web Ontology Language for defining rich, machine-interpretable ontologies with reasoning capabilities.
- Enterprise Knowledge Graphs
Learn how organizations use knowledge graphs to connect data silos and power intelligent applications.
- GraphRAG
Explore how knowledge graphs enhance RAG pipelines with structured relationships and reasoning.
- Knowledge Graph + LLM
Discover how knowledge graphs and large language models complement each other - grounding LLMs with structured knowledge.
- Knowledge Graph Best Practices
Practical guidelines for designing, building, and maintaining knowledge graphs in production.
Data Engineering
Building and managing data infrastructure at scale.
- ETL
Learn about Extract, Transform, Load - the foundational pattern for moving and preparing data.
- Data Lakes
Understand centralized repositories that store raw data at any scale for analytics and AI.
- Data Warehouses
Learn how data warehouses organize and optimize structured data for analytics and reporting.
- Lakehouse
Explore the lakehouse architecture that combines the best of data lakes and data warehouses.
AI Engineering
Production practices for reliable AI systems.
- LLM Evaluation
Measuring LLM output quality - automated metrics, human eval, LLM-as-judge, and building eval pipelines.
- RAG Evaluation
Evaluating RAG systems - faithfulness, answer relevance, context precision, and frameworks like RAGAS.
- Benchmarks
MMLU, HumanEval, MTEB, and domain benchmarks - what they measure and how to use them without gaming metrics.
- Hallucination Detection
Detecting when LLMs fabricate facts - grounding checks, NLI verification, citation validation, and production guardrails.
- Prompt Evaluation
Systematically testing and comparing prompts - A/B testing, prompt versioning, and regression detection.
- Evaluation
Learn how to measure and improve the quality, accuracy, and reliability of AI systems.
- Observability
Understand how to monitor, trace, and debug AI systems in production.
- Guardrails
Learn how to add safety constraints and validation to AI outputs to prevent harmful or incorrect results.
- Hallucinations
Understand why LLMs sometimes generate confident but incorrect information, and how to mitigate it.
- AI Security
Learn about threats to AI systems - prompt injection, data poisoning, and model attacks - and how to defend against them.
- AI System Architecture
Designing production AI systems - orchestration layers, model routing, retrieval pipelines, and failure domains.
- Cost Optimization
Reducing LLM API costs - model routing, prompt compression, caching, batching, and smart token management.
- Latency Optimization
Making AI systems fast - streaming, parallel retrieval, model selection, edge caching, and speculative decoding.
- Caching
Caching LLM responses and embeddings - exact match, TTL strategies, and when caching helps vs hurts.
- Semantic Caching
Cache LLM responses by semantic similarity - serving cached answers for paraphrased queries without exact string matches.