SaaStr AI Day: Building AI Products for the Enterprise with Contextual AI's CEO

28 Mar 2024 · 42 min
42:29

In this live SaaStr AI Day session, Dal, CEO of Contextual AI, presents a comprehensive view on building AI products for enterprises. He begins by outlining the fundamental challenges of using large language models (LLMs) in enterprise settings—hallucination, lack of attribution, data‑privacy concerns, staleness, compliance, and cost‑quality trade‑offs. He introduces Retrieval‑Augmented Generation (RAG) as a core solution, contrasting the prevalent "Frankenstein" RAG 1.0 pipelines (frozen retriever, vector store, and LLM) with a new "RAG 2.0" system‑first approach where the retriever and generator are jointly pre‑trained, fine‑tuned, and aligned (R‑L‑HF). Empirical results show RAG 2.0 surpassing GPT‑4 on open‑domain QA, freshness, finance‑specific benchmarks, and hallucination metrics. Dal argues that prompt engineering alone cannot meet production requirements; instead, end‑to‑end machine‑learning optimization is needed. He discusses the limits of long‑context models, showing RAG 2.0 scales more efficiently with token length. The talk then covers feedback‑loop alignment techniques—KTO (Kahneman‑Tversky Optimization) that removes the need for a separate reward model, building on DPO research—and open‑source contributions such as GRIT (a single model serving both representation and generation), multimodal extensions (Lens), and a 7‑B model aligned via KTO that outperforms larger baselines. Dal emphasizes enterprise deployment realities: security, compliance, robustness, latency, cost, auditability, and the importance of attribution to mitigate hallucinations. He advocates for specialization over generic AGI, positioning medium‑sized, domain‑tuned models as the sweet spot for cost‑quality. Practical guidance is offered on integrating RAG systems with existing ERP/CRM stacks, required hardware (single GPU‑rich server for modest scale, quantization/distillation for larger scale), and the need for opinionated, turnkey solutions. The session concludes with observations that data is the lasting moat for enterprises, that pragmatic system design beats hype, and that the industry is still in early stages of productionizing AI despite rapid model advances.

Chapters

More from Jason

youtube.com

Why Your Next Hire Should Report to an AI, Tragedy Apps, and Too Many AI SDRs? | The Agents #004

5mo ago
youtube.com

Our Agents Drove Our Salesforce Bill Up 80%, Marketo Hates Agents, and We Stealth-Churned Off Notion

5mo ago
youtube.com

Resend vs Marketo: Email API Battle! #shorts

5mo ago
youtube.com

Figma Fails: Why It Breaks for Print Graphics! #shorts

5mo ago
youtube.com

Build vs. Buy Apps: Avoid Salesforce & Workday Nightmares #shorts

5mo ago
youtube.com

Managing 20+ AI Agents: Lazy Agents, Our $500K AI Bill, Stealth Churn & the Death of 60% Solutions

5mo ago
youtube.com

AI App Building: From Zero to Production Success! #shorts

5mo ago
youtube.com

Unlock Salesforce: Custom Objects & AI Assistants #shorts

6mo ago
youtube.com

AI Agents Failing: Frustrating Customer Experiences Exposed! #shorts

6mo ago
youtube.com

AI Agents: The Secret to Never Leaving a Lead Behind #shorts

6mo ago
youtube.com

AI Agent Pricing Shock: Almost Rage Quitting! #shorts

6mo ago
See all content