
A primer on AI for developers with Swyx from Latent Space
Svelte Radio
00:00
How to Use Svelte to Create Quality Software
The best way that we know how to do it right now is that you embed all your documents. Embedding is extremely cheap. So everyone just embeds willy-nilly. There's tools that you can use like Lanchain, but you don't have to use them. And essentially what you do with every query then is you type in a query for what you're looking for. You embed that query into translating into a series of numbers again. Then you take those queries that you, the results, those top five results, put those as context into your prompts and then ask your question again. The rough process of retrieval augmented generation. It looks like Antonians ago.
Transcript
Play full episode