WhoBuilt

RAG at scale: production ready GenAI apps with Azure AI Search

Feb 13, 2025· 22 min· 2.1K views·Watch on YouTube

Speaker

Pablo, who works on Microsoft’s Azure team, discusses scaling RAG retrieval with Azure AI Search at an AI Engineer event; no co-speakers are identified.

Why RAG gets harder in production

Pablo describes the shift from 2023 prototypes to production applications with more users, data, and demand for fast answers. Workflows can involve several retrieval and language-model calls, while data sources and formats multiply.

Combine vectors, keywords, and reranking

Azure AI Search supports approximate and exhaustive vector search, filters, and hybrid retrieval that fuses vector and keyword results. Pablo describes a two-stage approach: retrieve a broad candidate set, then use a cross-encoder to rerank a smaller set. He says reranking adds about 100 milliseconds and improves results across the examples shown.

Fit more vectors with compression

Pablo says Azure AI Search increased vector density by 10 to 12 times on the same service scale, enabling multibillion-vector applications. He also describes quantization, including single-bit encoding, which can provide 32 times the vector density of float32 while retaining low-to-mid 90% performance for some models. Reranking can help recover precision after compression.

Keep indexes in sync with source data

Pablo presents integrated vectorization and ingestion for Azure sources such as Blob Storage, OneLake, and Cosmos DB. The pipeline handles file formats including PDFs, Office documents, and images, then chunks and vectorizes content. It tracks changes and processes updates incrementally rather than reprocessing the whole dataset.

Takeaways

  • Treat production scale as a combination of data volume, update rate, query load, workflow complexity, and source variety.
  • Use hybrid retrieval when both conceptual similarity and exact keyword matches can help find relevant content.
  • Rerank a smaller candidate set with a cross-encoder to improve relevance without running that model across the full index.
  • Consider quantization when vector storage is a constraint, and measure quality alongside density gains.
  • Automate incremental ingestion and indexing so source updates do not require full-dataset reprocessing.

Mentioned in this talk

Search inside this talk

What was claimed 13

  • works at
    Azure team
    “CVP and Distinguished Engineer at Microsoft”
    0:13inOn AI and KnowledgeYouTube
    Verified3 sources· Talk, Web· archived
  • feature
    Azure AI Search: Supports vector search, including approximate nearest neighbor and exhaustive search
    “we built a system with a complete feature set for vector search, including fast approximate nearest neighbor search as well as exhaustive search”
    YouTube
    Unverified1 source· Talk
  • feature
    Azure AI Search: Combines vector and keyword results through fusion and supports filtering
    “We fuse the results and rank them appropriately.”
    YouTube
    Unverified1 source· Talk
  • feature
    Azure AI Search: Uses a two-stage retrieval system with candidate generation and model-based reranking
    “we use a two-stage retrieval system”
    YouTube
    Unverified1 source· Talk
  • metric
    Azure AI Search: Cross-encoder reranking takes around 100 milliseconds
    “it's about 100 milliseconds, give or take”
    YouTube
    Unverified1 source· Talk
  • metric
    Azure AI Search: Most search services provide 10 to 12 times the vector density on the same scale
    “you'll get anywhere from 10 to 12 times the vector density on the same scale”
    YouTube
    Unverified1 source· Talk
  • metric
    OpenAI: Increased the limits it gives users by 500 times
    “increase the limits they give their users by 500 times”
    YouTube
    Unverified1 source· Talk
  • metric
    Cohere: Evaluation found almost 95% of original precision preserved with bit encoding
    “they also see that almost 95% of the original precision is preserved with bit encoding”
    YouTube
    Unverified1 source· Talk
Show all 13 facts

Related talks