Practical LLM Engineering and RAG: Prompting, Evaluation and Real-World Workflows

Episode 4 62 min

Hugo Bowne-Anderson Head of Developer Relations at Outerbounds

Episode 4 · Practical LLM Engineering and RAG: Prompting, Evaluation and Real-World Workflows

62 min

What we talked about

Hugo is an independent data and AI consultant who teaches and advises teams building AI-powered systems. He hosts the podcasts Vanishing Gradients for builders and High Signal for leaders. He started as a biology postdoc who taught himself Python, then joined DataCamp as its fifth employee to build the Python curriculum. He later worked in developer relations at Outerbounds, the company behind Metaflow, and now works freelance on consulting, advising, teaching and developer relations. Alexey invites him back to discuss LLMs and AI as used in everyday work and in building products.

Hugo describes how many teams struggle to get value from AI. He says that organizations which set aside half a day a week for experimentation tend to see gains, and that sharing prompts in a common channel helps teams move beyond individual use. He recommends giving the model a role, an objective and examples. For generated outputs such as YouTube chapters, he suggests an evaluator and optimizer pattern and a gold test set that is representative and cheap to run. Alexey adds that he iterates on prompts by hand, usually for 10 to 15 rounds. Hugo says prompt iteration can take weeks for production systems, and that LLM judges are only one option, since regular expressions and structured output checks work well too.

On retrieval, Hugo gives an example of an edtech company that wanted an all-purpose AI tutor. Its support tickets showed that about one in five questions asked where a lesson was, so a simple RAG bot with good chunking would solve a real problem sooner. He recommends starting with fixed-length chunks, studying the data first, and watching for context rot in long inputs. He says RAG struggles with broad questions about a whole video, which is where a summarization tool called by an agent helps. He advises adding agents only when a working system needs more power, and he recommends evaluating each tool call.

For newcomers, Hugo suggests four steps. Find a problem that matters to you, start small with an LLM and add tools or memory only when needed, look at the data closely, and build an evaluation set. He says many failures come from OCR or ingestion rather than from embeddings. He also distinguishes conversation memory within a session from memory across sessions. Alexey describes his own idea for an email assistant that suggests replies to unread messages. Hugo says he uses Cursor and expects background and multiplayer agents to become common.

Chapters

  1. 0:00 Episode Introduction & Guest Bio 1 min
  2. 1:12 Podcasts Overview: Vanishing Gradients and High Signal 1 min
  3. 2:04 Career Journey: Academia to Data science and DevRel 2 min
  4. 3:57 Freelance Consulting, Advising, and Teaching Focus 3 min
  5. 7:11 Consulting vs Advisory: Hands-on Work and Organizational Advice 1 min
  6. 8:24 Incentivizing AI Adoption: Loss Aversion and Dedicated Experimentation Time 3 min
  7. 11:11 Practical Prompting Use Cases: Summaries, CSVs, and Role-Based Prompts 1 min
  8. 12:22 Timestamp Generation Tools & Workflows (Gemini, Descript) 2 min
  9. 13:56 Quality Control Pattern: Evaluator–Optimizer for Generated Outputs 4 min
  10. 17:38 Scaling Transcript Work: Automation and GitHub Actions 5 min
  11. 23:00 Gold Test Sets: Size, Cost, and Representativeness for Evaluation 4 min
  12. 26:43 Failure Analysis: Categorizing Errors and Prioritizing Retrieval Fixes 1 min
  13. 27:38 Monitoring & Vibe Coding: Logging, Traces, and Debuggable MVPs 6 min
  14. 33:14 Embedded Agents and IDE Integrations: Cursor, Copilot, and Slack Workflows 7 min
  15. 40:12 Agentic Value Beyond Chat: Actions, Documents, and Automation 4 min
  16. 44:26 Prioritizing RAG for Business Impact: Quick Wins over Moonshots 5 min
  17. 49:21 Chunking Strategies and Context Rot: Sliding Windows and Summarizers 1 min
  18. 50:19 Adding Tooling vs. Simplicity: When to Move from RAG to Agents 3 min
  19. 53:09 Practical Project Example: Building an Email Assistant 3 min
  20. 56:21 Four-Step Framework for Building Agents (Problem, Start Small, Data, Evaluation) 1 min
  21. 57:41 Memory Design: Multi-Turn Conversation Memory vs. Retrieval-Based Memory 3 min
  22. 1:00:55 Episode Wrap-Up and Next Steps 1 min

Hugo Bowne-Anderson Head of Developer Relations at Outerbounds

Hugo Bowne-Anderson is Head of Developer Relations at Outerbounds and host of the industry podcast Vanishing Gradients. A data scientist, educator, and data strategy consultant, he has worked at Coiled and DataCamp, where he developed over 30 courses impacting more than 2 million learners, and created the DataFramed podcast. He is committed to spreading data skills, open source software, and practical machine learning and LLM engineering.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

LLMs

Large language models with links to retrieval, agents, evaluation, production, and security pages.

NLP

Natural language processing across language data, annotation, LLMs, speech, search, and production systems.

MLOps

Reference page for MLOps as the operating discipline for production machine learning systems.

Tools

How data and ML teams choose and sustain tools across data engineering, MLOps, search, RAG, open source, and developer experience.

AI Coding Tools

How Cursor, Copilot, Claude Code, notebook-to-agent workflows, and human review shape AI-generated code.

AI Engineering Roadmap

A roadmap for learning AI engineering through software foundations, LLM applications, RAG, evaluation, agents, LLMOps, and production ownership.

AI Product Feedback Loops

How AI product teams turn user input, behavior, monitoring, baselines, and staged releases into product and model improvement decisions.

AI Tooling

How teams choose and operate AI tooling for model APIs, open-source LLMs, RAG, prompts, agents, evaluation, and deployment.

AI Tools Workflow Guide

How data professionals integrate AI tools into daily work, keep reviews in place, and add evaluation and privacy habits around repeated tasks.

Agent Engineering

Agent engineering across workflow design, tools, retrieval, evaluation, guardrails, and production constraints.

Agent Ops

Agent Ops covers orchestration, guardrails, data lineage, deployment risks, and monitoring for AI agents in production.

Context Engineering

Designing effective LLM inputs with chunking strategies, metadata, wrappers, context windows, and context rot.

Developer Experience

How data, ML, and AI platforms reduce friction for the people who build with them.

Developer Relations

How guests frame DevRel as technical education, demos, docs, community feedback, open-source work, and adoption for data and ML tools.

Embeddings

Embeddings as representations for semantic search, RAG, recommendations, multimodal retrieval, and language systems.

Evaluation

How teams judge whether ML, LLM, RAG, product, and production systems are good enough to trust.

Freelance Data and ML Careers

Career-transition and practice-building paths into freelance data and ML work through paid learning, public proof, specialization, and client feedback.

Game AI to LLM Agents

How game AI, simulation, reinforcement learning, and evolutionary search route into modern LLM-agent work.

Generative AI

Generative AI as applied language, chatbot, agent, coding, and content-generation systems.

Information Retrieval

Information retrieval as the design of retrieval units, indexes, candidate generation, prefilters, and the handoff to ranking or generation.

LLM Cost Optimization

Token optimization, prompt compression, prompt caching, model size tradeoffs, and cost-aware engineering for production LLM systems.

LLM Production Patterns

Durable serving, reliability, context, cost, and guardrail patterns for production LLM systems.

LLM System Design Interview

Prepare for LLM system design interviews with production patterns for RAG, agents, evaluation, safety, latency, cost, and operations.

LLM Tools for Real Products

Choose LLM tools for real products across model APIs, open-source models, RAG, evaluation, agents, observability, cost, and review.

LLM and RAG Production Roadmap

A learning and rollout roadmap for teams moving from bounded LLM workflows to RAG, evaluation, agents, and production readiness.

LLMOps

LLMOps covers the lifecycle discipline for LLM applications: traces, evaluation sets, releases, guardrails, cost control, and feedback loops.

Metaflow

Metaflow as an ML workflow tool, developer-experience case study, and open-source platform boundary.

Multi-Agent Systems

Multi-agent systems through coordination patterns, tool boundaries, memory, evaluation, and governance.

Portfolio Projects

Guidance for choosing data, analytics, ML, AI, and open-source portfolio projects with reviewable evidence and role fit.

Prompt Engineering

Prompt engineering techniques: role prompts, examples, structured output, evaluation, RAG context, and injection risks.

RAG Evaluation Workflow

A practical workflow for RAG eval: user tasks, gold examples, retrieval checks, answer checks, citations, review, traces, and feedback.

RAG vs Fine-Tuning

A decision guide for choosing retrieval, model adaptation, or both in production LLM systems.

Search

Search as the product system that turns retrieval, ranking, answers, recommendations, constraints, and evaluation into a useful surface.

Search/RAG Project Checklist

Review checklist for one chosen search or RAG implementation: corpus, chunking, baselines, citations, evaluation artifacts, traces, and production constraints.

Testing

Testing data, ML, and AI systems through data checks, CI/CD, evaluation sets, monitoring, and production readiness practices.

Related events

Related books

Build a Large Language Model (From Scratch)

58 questions answered

In Build a Large Language Model (From Scratch), you'll learn and understand how large language models (LLMs) work from the inside out by coding them from the ground up, step by step. In this book, I'll guide you through creating your own LLM, explaining each stage with clear text, diagrams, and examples.

Sebastian Raschka

GPT-3

11 questions answered

GPT-3 has made creating AI apps simpler than ever. This book provides a comprehensive guide on how to utilize the OpenAI API with ease. It explores imaginative methods of utilizing this tool for your specific needs and showcases successful businesses that have been established through its use.

Sandra Kublik Shubham Saboo

Mastering spaCy

17 questions answered

Build end-to-end industrial-strength NLP models using advanced morphological and syntactic features in spaCy to create real-world applications with ease.

Duygu Altinok

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club