LLM From the Trenches: 10 Lessons Learned Operationalizing Models at GoDaddy

Richard Clayton1 Feb 2024

Problem

GoDaddy's Digital Care team handles over 60,000 customer contacts a day in chat, and many start with a bot. Their first LLM assistant sorted a conversation into one of twenty support topics, asked topic-specific questions and routed it to a queue. As topics and self-help flows were added, the single prompt passed 1,500 tokens, raised costs, sometimes hit token limits and began asking questions borrowed from other topics. Provider failures and unreliable JSON added more trouble.

Example from the article: in early experiments the model decided when to transfer to a human, and some users were stuck with a bot that refused to transfer.

Solution in brief

Split the single mega-prompt into a controller prompt that delegates to narrow task prompts. Keep handoff and sensitive actions in deterministic code. Retrieve documents only after the customer's intent is clear, and plan for testing, memory trimming and fallbacks.

Questions this case answers
  • How to keep a conversational LLM system accurate and cheap as the number of supported tasks and instructions grows
  • How to put hard safety limits around a probabilistic model that may take actions affecting customers
  • How to use retrieval in a multi-turn assistant when the user's real need becomes clear only after several messages
  • How to keep an LLM support assistant accurate when one growing prompt has to cover dozens of topics and flows?

Tools and methods

  • Controller-Delegate prompts — a mega-prompt routes to single-task prompts (after the BOLAA paper).
  • ChatGPT functions — structured JSON output, with validation of every response.
  • Guardrails — PII and offensive-content checks, stop phrases, turn caps, outside approvals.
  • RAG as an agent tool — the model writes its own search queries when it has enough information.
  • Sparse Priming Representations (SPR) — LLM-compressed help articles for the vector store.
  • LangChain memory — buffers, summaries, entities.
Continue reading — it's free

Google or a one-time email code. No password.