What a vector database is

A project team building an AI search or chat tool may say it needs a vector database, or vector store. It is the place that holds the organisation's documents in a form the tool can search.

A manager signing off the project can ask what goes into it, what it does for the answers, and which rules come with it.

What goes into it

The government's AI Playbook explains that a model works with text once it has been turned into numerical representations. The model then considers things like the order and context of words to understand the overall meaning.

Two of the steps the Playbook names along the way are vectorisation and embeddings. Their results, long lists of numbers, are what a vector store keeps.

What it does for the answers

The Playbook includes a case study of GOV.UK Chat, a pilot that answers questions from GOV.UK pages. The team used a vector store "to facilitate efficient data retrieval and management to support the RAG approach". RAG is short for retrieval augmented generation, where a search runs before the AI writes its reply.

Their first version returned whole pages. That sometimes failed, because a niche search could return long pages "that would exceed the LLM's token limit".

The team's response included "nuanced chunking", which means splitting pages into smaller pieces, and trying "alternative embedding models". Those are choices about what goes into the store and how.

Questions to ask the project team

How many documents will the tool search, and how often do they change? Who keeps the store up to date when a document is replaced? And where will it run?

The answers help a manager judge whether the project needs a vector store at all, and what it will take to look after one.

Personal data inside the store

A store built from staff records, emails or case notes carries the personal data in them. The government's 2025 code on the cyber security of AI reminds everyone involved that where an AI system's data is personal, "they may have data protection obligations".

Data protection in the UK is now regulated by the Information Commission. It took on the ICO's work on 30 September 2026. Its AI and data protection guidance is marked as under review, because of Data (Use and Access) Act changes.

When someone asks to be erased

Under the UK GDPR, people can ask an organisation to erase their personal data, in certain circumstances. The Information Commission says a request can be made verbally or in writing, and the organisation has one month to respond.

Where a request is valid and no exemption applies, its guidance says erasure reaches backup systems as well as live systems. A vector store holding copies of the same documents is one more place to check.

Knowing what you hold

That code, published in January 2025, asks the people building and running AI systems to keep a full list of their assets, including how they connect. A vector store belongs on that list.

When a system is retired, the code expects the people running it to bring in the Data Custodians and to delete the relevant data and configuration details securely. Data Custodians are whoever controls the permissions and integrity of the data the system uses.

Useful links