GenAI for developers

Stu Eggerton - September 2025

๐Ÿค– What is AI?

  • Artificial Intelligence (AI) = Computers performing tasks that normally need human intelligence
  • Key abilities:
    • ๐Ÿ“š Learning & improving
    • ๐Ÿง  Reasoning & decision-making
    • ๐Ÿ—ฃ๏ธ Understanding language
    • ๐Ÿ‘€ Recognizing patterns/images/sounds
    • ๐Ÿš— Acting autonomously ๐Ÿ˜ฑ๐Ÿ˜ฑ๐Ÿ˜ฑ
Stu Eggerton - September 2025

๐Ÿค– What is AI NOT?

  • ๐Ÿ”ฎ Magic
  • ๐Ÿ”ช A crazy that will replace everything we do
Stu Eggerton - September 2025

๐Ÿค– How is it going?

  • People continue to overestimate AI
  • We don't have General Artificial Intelligence Yet
  • AI is helping us write documents, generate memes, use energy, generate code
  • Hallucinations - a bad word for
Stu Eggerton - September 2025

๐Ÿค” Why AI Wonโ€™t Replace Humans (Yet)

  • ๐ŸŽจ Creativity & Imagination โ†’ AI recombines patterns, humans invent
  • ๐Ÿง  Common Sense & Context โ†’ struggles with nuance & ambiguity
  • โค๏ธ Emotions & Empathy โ†’ simulates, but doesnโ€™t feel
  • โš–๏ธ Ethics & Values โ†’ no built-in sense of right/wrong
  • ๐ŸŒ Real-World Adaptability โ†’ good in narrow tasks, poor in messy situations

๐Ÿ‘‰ Bottom line:
AI = fast & scalable
Humans = creative, ethical, adaptable
Together, theyโ€™re stronger.

Stu Eggerton - September 2025

๐Ÿงฉ How Does an LLM Work?

  • ๐Ÿ“š Training: Learns patterns from massive text datasets
  • ๐Ÿ”ข Neural Networks: Billions of parameters adjust to capture language structure
  • ๐Ÿงฎ Tokenization: Breaks text into tokens (chunks of words/characters)
  • ๐ŸŽฒ Prediction: For each token, predicts the most likely next token
  • ๐Ÿ”„ Iteration: Repeats prediction โ†’ builds sentences, paragraphs, conversations
  • ๐Ÿš€ Fine-tuning & Alignment: Trained further to follow instructions, stay safe, and be useful

๐Ÿ‘‰ In short:
LLMs donโ€™t โ€œknowโ€ like humans โ€” they predict patterns of language based on data.

Stu Eggerton - September 2025

๐Ÿ“– What is RAG?

  • ๐Ÿ” Retrieval: Searches external knowledge (docs, databases, web)
  • ๐Ÿงฉ Augmentation: Injects retrieved info into the prompt
  • ๐Ÿค– Generation: LLM uses both context + knowledge to answer

๐Ÿ‘‰ Why it matters:

  • โœ… Reduces hallucinations
  • โœ… Keeps answers up-to-date
  • โœ… Combines AI reasoning with real data

In short:
RAG = Search + AI โ†’ More accurate, grounded answers

Stu Eggerton - September 2025

๐Ÿ—๏ธ Preparing RAG

  • ๐Ÿ“š Collect Knowledge โ†’ domain docs, PDFs, web pages, FAQs
  • โœ‚๏ธ Chunking โ†’ split into small, retrievable pieces
  • ๐Ÿ”ค Embedding โ†’ convert chunks into vector representations
  • ๐Ÿฆ Vector Database โ†’ store embeddings for fast semantic search
Stu Eggerton - September 2025

๐Ÿชœ Steps of a RAG query

๐Ÿ” Retrieval โ†’ find the most relevant chunks at query time
โ†“
๐Ÿงฉ Augmentation โ†’ inject retrieved context into the prompt
โ†“
๐Ÿค– ** LLM Generation** โ†’ LLM produces grounded Grounded Response โœ…




๐Ÿ‘‰ **Result:** AI that reasons with real data instead of just memory
Stu Eggerton - September 2025

Solution on a Page and demo

Stu Eggerton - September 2025

like giving a toddler the keys to your electric car or trusting your dog with your favourite food