Skip to content

Vector database

A storage system that indexes embeddings to find very quickly the items closest to a query. It is the central infrastructure of assistants built on internal documentation, and a new exposure surface for data.

Definition

Johnson, Douze and Jégou at Facebook AI Research published FAISS in 2017: a GPU nearest-neighbor search that scales to a billion vectors. A vector database stores embeddings along with the texts or documents they represent. Among millions of items, it finds within milliseconds those whose vector is closest to a query vector. It relies on approximate nearest neighbor search algorithms, which trade a little accuracy for considerable speed. It has become the central infrastructure of retrieval-augmented generation systems. A staff member asks an assistant about underwriting policy or a contract; the question is turned into a vector, the database retrieves the relevant passages of documentation, and the language model writes its answer from them. The insurer has two things to watch. The quality of answers depends on what the database contains: outdated documents, conflicting versions and unverified content end up in the answers. And the database concentrates a copy of often sensitive documents, contracts, customer data, adjusters' reports. Access rights to them are managed less maturely there than in conventional systems. That makes the database a new target, and a new data protection compliance issue.

Example

An insurer indexes all its claims files in a vector database for its internal assistant. An audit reveals that the assistant quotes excerpts from medical records to staff who have no access to them in the claims system. Permissions had not been replicated in the index. The tool is suspended until results are filtered by authorization.

Read next
Related terms
Also known as

vector database, vector store, vector index

Stay informed

Follow the research

One letter a week. First, the week's underwriting note when one is published, with its dated, reasoned decision. Then what the observatory published on cyber, artificial intelligence, insurance and reinsurance. No account, no tracking.

No spam, one-click unsubscribe, no data ever sold.