What is a Vector Database?

Dev.to AI β€’
Generative AI

𝐌𝐨𝐬𝐭 ππšπ­πšπ›πšπ¬πžπ¬ 𝐬𝐞𝐚𝐫𝐜𝐑 𝐟𝐨𝐫 𝐞𝐱𝐚𝐜𝐭 𝐦𝐚𝐭𝐜𝐑𝐞𝐬. But AI doesn’t work like that. πŸ’‘ π“π‘πšπ­β€™π¬ 𝐰𝐑𝐞𝐫𝐞 π•πžπœπ­π¨π« πƒπšπ­πšπ›πšπ¬πžπ¬ 𝐜𝐨𝐦𝐞 𝐒𝐧. πŸ‘‰ In AI, text (like a sentence or document) is converted into numbers called πžπ¦π›πžπππ’π§π π¬. These embeddings capture the meaning of the text. So instead of searching for exact words… πŸ‘‰ π•πžπœπ­π¨π« ππšπ­πšπ›πšπ¬πžπ¬ 𝐬𝐞𝐚𝐫𝐜𝐑 𝐟𝐨𝐫 𝐬𝐒𝐦𝐒π₯𝐚𝐫 𝐦𝐞𝐚𝐧𝐒𝐧𝐠.