WhoBuilt

RAG for VPs of AI

Dec 31, 2024· 27 min· 6.0K views·Watch on YouTube

Speaker

Jerry Liu, co-founder and CEO of LlamaIndex, discusses enterprise RAG and LlamaIndex’s products at an AI Engineer session, followed by audience questions.

Why RAG is hard to productionize

Liu describes RAG as a way to answer questions over enterprise data using an LLM, embeddings, and storage such as a document, graph, SQL, or vector database. He says a basic pipeline can be prototyped quickly, but production quality is harder as document volume, complexity, and data sources grow. Accuracy, tuning, and data silos become major challenges.

Data quality and developer tooling

Liu argues that poor data quality can lead to hallucinations, even when the underlying model is strong. He recommends giving developers tools to adapt as models and workflows change, rather than relying only on fixed out-of-the-box products. LlamaIndex’s open-source toolkit focuses on retrieval, prompting, agents, and tool use, while LlamaCloud manages data processing and pipelines.

Parsing documents for reliable answers

Liu presents LlamaParse as a tool for extracting usable structure from complex reports, PowerPoints, tables, and diagrams. He says faithful layout matters: a basic PDF parser can collapse table text and numbers, making answers less reliable. He reports half a million monthly client SDK downloads and tens of millions of pages processed.

Building retrieval pipelines requires evaluation

In response to a question about traditional ETL, Liu explains that RAG work involves parsing, semantically chunking, adding metadata, and choosing an index. Splitting every 1,024 tokens can break tables or sections across pages. He says teams need evaluation data and end-to-end testing to determine whether pipeline choices work.

How RAG may change

Liu expects longer context windows and multimodal models to change retrieval design. Larger chunks or even whole-document indexing may become practical, but retrieval will still matter for large collections because sending everything to a model is costly and limits transparency. He also sees value in storing both parsed text and page images, since text extraction loses some information.

Takeaways

  • Treat parsing and data quality as core parts of an AI application, since errors there can surface as hallucinations.
  • Evaluate RAG pipelines end to end before tuning chunk sizes, metadata, or indexes.
  • Use separate processing pipelines for diverse data sources, then combine and rerank their results.
  • Plan for retrieval to remain useful at enterprise scale, even as model context windows grow.
  • For natural conversations, tune the agent’s reasoning, prompts, and memory alongside retrieval.

Mentioned in this talk

Search inside this talk

What was claimed 10

  • founded
    Co-founder
    “I'm Jerry, co-founder and CEO of LlamaIndex”
    0:13inBuilding the Document Context Layer for AI AgentsYouTube
    Verified8 sources· Talk, Web· archived
  • ceo of
    CEO
    Verified5 sources· Talk
  • feature
    LlamaIndex: Open-source toolkit for building context-augmented LLM applications over data, with orchestration for retrieval, prompting, agentic reasoning, and tool use
    “The toolkit is primarily focused on orchestration around retrieval, prompting, agentic reasoning, and tool use.”
    YouTube
    Unverified1 source· Talk
  • feature
    LlamaCloud: Centralized knowledge interface that unifies data sources and helps process data and manage pipelines
    “It unifies your data sources, starting with unstructured data, and can process and enhance that data for good data quality.”
    YouTube
    Unverified1 source· Talk
  • feature
    LlamaParse: Advanced document parser for complex PDFs, PowerPoints, spreadsheets, tables, images, and diagrams
    “It’s our advanced document parser that helps solve this data quality problem.”
    YouTube
    Unverified1 source· Talk
  • metric
    LlamaParse: Tens of millions of pages processed
    “tens of millions of pages processed”
    YouTube
    Unverified1 source· Talk
  • metric
    LlamaParse: Half a million monthly downloads on the client SDK
    “half a million monthly downloads on the client SDK”
    YouTube
    Unverified1 source· Talk
  • feature
    LlamaCloud: Intentionally does not store customer data and integrates with existing storage systems
    “we intentionally don't store your data. We try to integrate with existing storage systems.”
    YouTube
    Unverified1 source· Talk
  • feature
    LlamaCloud: Offers cloud service and VPC deployment; deployments available in AWS and Azure, with GCP coming soon
    “we have both a cloud service and a VPC deployment option. We deploy in AWS and Azure, with GCP coming soon.”
    YouTube
    Unverified1 source· Talk
  • launched
    LlamaAgents: Open-source multi-agent framework for deploying agents as microservices; in alpha
    “we launched something called LlamaAgents, an open-source multi-agent framework for helping you deploy agents as microservices.”
    YouTube
    Unverified1 source· Talk

Related talks