Running a trained model to get an output — as opposed to training, which is producing the model in the first place.
A database built to store embeddings and find the nearest ones fast, which is what makes semantic search practical at scale.
Also known as: Vector Store
A vector database stores embeddings and answers nearest-neighbour queries over them. Exact nearest-neighbour search is linear in the number of vectors, so these systems use approximate indexes — HNSW is the common one — that trade a small amount of recall for enormous speed.
The interesting engineering is rarely the similarity search itself. It is combining vector search with ordinary metadata filters, keeping the index fresh as documents change, and chunking documents sensibly in the first place — chunking is usually where a RAG system is won or lost.
Running a trained model to get an output — as opposed to training, which is producing the model in the first place.
Storing model weights at lower numerical precision to cut memory and speed up inference, trading a little accuracy for a lot of resource.
Training a small model to imitate a large one, keeping most of the capability at a fraction of the cost.
Definitions are reviewed by our editorial team. Spotted a problem? Tell us.