From GenAI Pilots to Production

Episode 4 63 min

Nikita Kozodoi Applied Scientist at AWS

Episode 4 · From GenAI Pilots to Production

63 min

What we talked about

Nikita Kozodoi is a senior applied data scientist at the AWS Generative AI Innovation Center, where he helps customers design and build custom GenAI and agentic solutions. He has a background in economics, and he holds a PhD in machine learning for credit scoring in Germany. He moved from classical tabular ML at Amazon's Machine Learning Solutions Lab to the GenAI team after ChatGPT appeared. Alexey invites him to talk about what it takes to move GenAI from pilots to production.

Nikita describes a common pattern. Teams often pair a classical model that makes forecasts or flags anomalies with a generative model that explains the result. A maritime analytics project uses an anomaly detector to find unusual ship movements, and an agent then searches news, weather and other sources to explain them. For production, he argues that a single guardrail in the system prompt is not enough, because attackers can bypass it with other languages, hidden instructions in files or code comments. He recommends a separate layer of small zero-shot classifiers that run in parallel, plus red teaming with human or LLM testers. Alexey notes that such classifiers are small enough to fine-tune.

The most detailed example is a localization pipeline for Zalando newsletters. It applied brand rules, such as which form of address to use in each market and how to shorten text for notification banners. The team built an evaluation score sheet, had native-speaking experts score a golden sample, and then used an LLM judge with the same criteria for fast iteration. Nikita says that few-shot examples, sometimes around 50, help align a judge with human experts, and that perfect alignment is never reached. He advises building an evaluation before the first implementation, and says fine-tuning usually needs a couple of thousand labeled examples, with a small model fine-tuned by LoRA on a single GPU at modest cost. He treats RAG and fine-tuning as complementary.

Nikita says that a project usually runs one to three months up to a first proof of concept, and that AI strategists on his team scope it starting from the customer's pain points. He prefers the simplest tool that works, such as a business heuristic or a logistic regression, before any multi-agent solution. He lists observability, retries with backoff and session memory as architecture requirements, and he says that every engagement needs customization on top of managed building blocks such as Amazon Bedrock.

Chapters

  1. 0:00 Shifting from traditional ML to generative AI 8 min
  2. 7:49 Hybrid pipelines blending classical ML and LLMs 4 min
  3. 11:25 Production guardrails and multi-layered system defense 5 min
  4. 16:15 Prompt bypasses, input attacks, and AI red teaming 5 min
  5. 20:49 Newsletter localization and translation with Zalando 7 min
  6. 27:24 Evaluation frameworks and human-in-the-loop metrics 6 min
  7. 33:07 Aligning LLM-as-a-judge with few-shot prompts 2 min
  8. 34:49 Fine-tuning small language models versus prompting 6 min
  9. 41:18 Complementary mechanics of RAG and fine-tuning 2 min
  10. 43:00 Agentic web search tools for anomaly explanation 4 min
  11. 47:01 Automated text generation from real-time sports sensors 3 min
  12. 49:58 AWS project scoping and proof of concept timelines 5 min
  13. 54:58 Interview requirements and career skills for AWS roles 3 min
  14. 57:59 Enterprise architecture patterns and system observability 3 min
  15. 1:00:42 Reusable infrastructure blocks on Amazon Bedrock 2 min

Nikita Kozodoi Applied Scientist at AWS

Nikita Kozodoi is an Applied Scientist at AWS, where he designs and builds custom generative AI solutions for customers across industries as part of the AWS Generative AI Innovation Center. He holds a PhD in Machine Learning from Humboldt University of Berlin and has earned 18 medals in Kaggle competitions. His work focuses on turning GenAI pilots into reliable, production-grade systems.

Topics in this episode

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

Generative AI

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

LLMs

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

Search

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

AI Red Teaming

AI red teaming for prompt injection, data exfiltration, unsafe outputs, and agent abuse.

Agent Engineering

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

Prompt Injection Risks

How chatbot teams manage prompt injection, retrieval abuse, data leaks, hallucinations, legal exposure, red-team tests, and layered defenses.

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.

Related events

Related books

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

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

Generative AI with Python and TensorFlow 2

9 questions answered

In this book, you’ll explore the evolution of generative models, from restricted Boltzmann machines and deep belief networks to VAEs and GANs. You’ll learn how to implement models yourself in TensorFlow and get to grips with the latest research on deep neural networks.

Joseph Babcock Raghav Bali

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