How S3 Vectors Work: A Friendly Guide to AWS’s New Vector Store
dev.to·13h·
Discuss: DEV
🗂️Vector Databases
Preview
Report Post

Why Vectors?

We all know what is AWS S3 right? Probably most well known AWS Service - amazing, cheap, durable object store that has been widely known and used for decades. Many questions arise when you first hear S3 Vectors: what are vectors, is it for mathematicians only? How is it related to AI? Why it has S3 prefix? I will answer all of that in a minute, keep reading!

What is vector store in general and why do we need it in AI? Let’s begin from how ChatGPT and similar LLMs work under the hood. When you write a query for example: "Tell me a joke?", message is divided and consumed as tokens. Token is semi-word or whole word like ["Tell", "me", "a", "joke"] and models have embedding layers that convert tokens into vectors, but the vector is context-dependent. "tell"…

Similar Posts

Loading similar posts...