ContactBook a call

AI and agents

Vector database

A vector database stores embeddings, the numeric representations of text or images, and finds the stored items closest in meaning to a query.

How it works in practice

Ordinary databases find exact matches: this customer ID, that date range. A vector database finds near matches by meaning, so a search for "late delivery refund" can return a policy paragraph titled "Compensation for delayed orders". It does this by comparing vectors and returning the nearest ones, using indexes built for that kind of search.

You do not always need a separate product. Pinecone, Weaviate and Qdrant are dedicated vector databases, while pgvector adds vector search to Postgres, which is what Supabase uses. For a few hundred thousand passages, keeping vectors next to the rest of your data in Postgres is often simpler to run and to secure, because the same access rules apply to both.

A worked example

A recruitment firm stores embeddings of 20,000 CVs in Postgres with pgvector. A recruiter pastes a job description, and the system returns the 30 closest CVs, filtered by location and availability from ordinary columns in the same table.

Examples in this glossary describe typical builds for companies of 1 to 1,000 people. They are not named client results.

See which of these apply to your team

On a discovery call we map the manual work in your team and show you which of these would change it first.

Book a discovery call

Cookie preferences

Choose what this site may use on your device. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Keep the site working and remember the choices you make here. These cannot be switched off, and none of them track you.

Always on
What this includes (4)
NameProvider PurposeDuration
sbd-consentThis site Remembers your cookie choices12 months
Vercel Web AnalyticsVercel Inc. Counts page views in aggregate. Sets no cookie and stores nothing on your deviceNone
ticker-dismissed, sbd-note-offThis site Remembers that you closed a notice or language tipUntil the tab closes
sbd-voice-resume, sbd-voice-prefillThis site Carries a voice conversation across pages, only if you start oneUntil the tab closes

Analytics

Tell us which pages are read and where visitors leave, so we can improve them. IP addresses are anonymised and nothing is used for advertising.

What this includes (2)
NameProvider PurposeDuration
_gaGoogle Analytics (Google LLC) Distinguishes visitors with a random ID13 months
_ga_FPXDMQPRV1Google Analytics (Google LLC) Keeps the session state for this site13 months

Functional

Embedded services that set their own cookies. Without them the site still works; you get a link to open the service instead.

What this includes (1)
NameProvider PurposeDuration
Booking calendarCal.com Inc. Shows live availability and books the call on the booking pageSet by Cal.com

Advertising

Not used. This site has no advertising, retargeting or social media tracking, and we never sell data.

Not used

Questions about your data: hello@smallbaydigital.com