#234 High Performance Generative AI Applications with Ram Sriharsha, CTO at Pinecone

12 Aug 2024 · 47 min
46:31

In this interview, Pinecone CTO Ram Sriharsha walks through the practical engineering of production‑grade generative AI systems, focusing on the role of vector databases in Retrieval‑Augmented Generation (RAG). He explains the three primary use‑cases for vector stores—RAG, semantic search, and classification/labeling—then details how a chatbot built on a private knowledge base works: collect and chunk data, embed passages, store vectors, retrieve relevant chunks, and feed them as context to a large language model (LLM). He distinguishes static versus dynamic data, discusses strategies for updating embeddings efficiently, and highlights the importance of metadata and structured fields for filtering and relevance. Metrics for evaluating a chatbot’s success (groundedness, factual relevance, search relevance) and practical ways to collect feedback (thumbs‑up/down, synthetic Q&A generation) are covered. The conversation moves to preprocessing challenges (chunking, handling headers, multimodal content, sparse vs dense embeddings) and the emerging need for automated feature‑engineering pipelines. Sriharsha compares LLM choices, showing that a weaker model plus a strong vector store can outperform a larger model, and stresses cost‑driven model selection. Knowledge graphs are positioned as complementary, aiding entity resolution during ingestion and query rewriting. He outlines how vector databases fit into AI agents as the “knowledge store” while agents handle reasoning. Multimodal retrieval (image, video, audio) is treated as the same embedding‑search problem. Organizationally, the primary builders are application developers, with data‑engineering and production teams joining as scale grows. Required skill‑sets include understanding of embeddings, vector DBs, LLM prompting, cost‑quality trade‑offs, and pipeline orchestration. Current research directions include cheaper, scalable indexing, better data‑management (updates, deletes, joins), and tighter integration of LLMs with vector stores. Long‑context LLMs change economics but do not eliminate the need for vector retrieval. The final advice is to start simple, iterate quickly, and focus on measurable quality while the tooling matures.

Chapters

More from Richie

youtube.com

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

5mo ago
youtube.com

17.8% of the World Now Uses AI — And the Gap Is Widening | The Median #5

5mo ago
youtube.com

Create GPTs to Automate Go-To-Market Research

5mo ago
youtube.com

What Happened to Self-Driving Cars? #AI

5mo ago
youtube.com

Never Use AI For This #warning #AI #flights

5mo ago
youtube.com

Use AI Agents to Analyze Power Grid Optimization

5mo ago
youtube.com

This is how modern AI actually solves problems #AITrends #AI

5mo ago
youtube.com

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

Build an AI‑driven Dashboard

5mo ago
youtube.com

What’s Broken in Labor Markets Today #datascience

5mo ago
See all content