2min snip

Latent Space: The AI Engineer Podcast cover image

RAG Is A Hack - with Jerry Liu from LlamaIndex

Latent Space: The AI Engineer Podcast

NOTE

Optimizing retrieval and bias in embedding models

There are many parameters to consider in retrieval, such as the chunking algorithm, metadata definition, embedding model, and retrieval method. Open AI's embedding model is commonly used, but sentence transformers are popular due to being open source. Fine-tuning the embedding model can improve performance, but it may require re-indexing documents. An alternative is training a transform on the query side. While it may not result in significant gains, it is worth trying. Open AI also provides a cookbook on adding bias to embeddings.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode