Pinecone
Once an application retrieves by meaning rather than by keyword, it needs somewhere to keep millions of embedding vectors and find the closest ones in milliseconds. Pinecone is that store, sold as a service so nobody on the team has to operate it.
A managed vector indexYou create an index, declare the vector dimension and the distance metric, then upsert records of id, vector and metadata. A query sends one vector and gets back the top-k nearest neighbours with their similarity scores. Behind the API is an approximate nearest neighbour index — approximate because exact search over millions of vectors is too slow, so a small, tunable amount of recall is traded for speed. The serverless tier separates storage from compute and bills per read and write instead of per running node.
Where it sits in a RAG system- Metadata filters are applied inside the search, so a query can be restricted to one tenant, document set or date range without wrecking recall — the usual way a multi-tenant RAG system keeps customers apart.
- Namespaces partition a single index per customer or per corpus.
- Sparse-dense vectors let one query combine keyword matching with semantic similarity, which rescues the queries pure embeddings handle badly, such as part numbers.
The trade-off is the familiar managed-service one: no sharding, replication or index tuning to maintain, against per-query cost and a dependency you cannot run offline. Teams who want the opposite reach for Faiss inside their own process, or a self-hosted Milvus or Weaviate.
Pinecone is a managed vector database: a hosted service that stores embeddings alongside metadata and returns the top-k nearest neighbours for a query vector in milliseconds, using an approximate nearest neighbour index. It supports metadata filtering, namespaces and hybrid sparse-dense search. In a RAG system it is the retrieval layer, chosen when a team wants vector search at scale without operating the index themselves.
Think of a library where books are shelved by what they are about rather than by title, so a request for a story about a dog who saves a child lands you in the right aisle straight away. Pinecone is a service that keeps a collection like that for a company's own documents — a searchable map of meaning. When an assistant is asked a question, Pinecone finds the handful of passages closest in meaning and hands them over, so the answer comes from real documents instead of the model's memory. It is rented rather than installed: somebody else keeps the shelves in order.