2min chapter

The MaML Podcast - Medicine & Machine Learning cover image

Jerry Liu - Building LlamaIndex, the Data Framework for LLMs

The MaML Podcast - Medicine & Machine Learning

CHAPTER

How to Get an Embedding for a Natural Language Question

The idea is that if you have like a question, just like a natural language question, and then you have a set of like relevant documents within your collection that are semantically similar to this question, you can get an embedding for the question. So that's just step one, right? That's like being able to retrieve the relevant documents to the question. And at this point, like you might you haven't even used the language model yet. You send this entire thing to the language model. Hopefully it fits within,. you know, the 4000 token limit. If it doesn't, there's like strategies for dealing with this too. But, you know, assuming it does, then

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