BookbagBookbag
Glossary

Embeddings

Embeddings are dense numerical vector representations of text produced by a neural network, where pieces of text with similar meaning are encoded as vectors that are close together in mathematical space — enabling similarity search by meaning rather than keyword overlap.

What it means

Key insight

Embeddings are what allow an AI to match "where\'s my package" with your "order tracking FAQ" even though those four words don\'t appear anywhere in the FAQ.

When an AI needs to find the most relevant knowledge base article for a customer\'s question, it can\'t just search for matching words — customers phrase things too unpredictably for keyword search to work reliably. Embeddings solve this by converting text into high-dimensional numerical vectors where semantic similarity is expressed as geometric closeness. A sentence about refund requests and a sentence about "getting my money back" will have similar embeddings even if they share no keywords, because the embedding model has learned that they express similar meaning. In a customer support system, both customer queries and knowledge base documents are embedded at processing time, and retrieval is performed by finding the document embeddings closest to the query embedding. This is the technical foundation of semantic search and RAG.

Why it matters

Embeddings directly determine whether your AI finds the right answer for a given customer question. Poor embedding quality means retrieving irrelevant documents, which means generating wrong or unhelpful responses. For Shopify merchants, this manifests as the AI citing the wrong policy for an edge-case return question, or failing to surface the right shipping FAQ for an unusual delivery situation. The choice of embedding model — and how documents are chunked and indexed — has a measurable impact on retrieval accuracy and therefore overall AI support quality.

How Bookbag helps

State-of-the-Art Embedding Models

Bookbag uses high-quality embedding models optimized for retrieval tasks, ensuring that customer questions are matched to the most semantically relevant knowledge base content even when phrasing varies widely.

Automatic Document Chunking

Bookbag intelligently splits long policy documents into appropriately sized chunks before embedding them, preserving context while maximizing retrieval precision.

Re-Embedding on Update

When you update a knowledge base document, Bookbag automatically re-embeds the changed content so the retrieval index stays current without manual re-indexing.

Frequently Asked Questions

See Bookbag in action

Join the ecommerce teams resolving more tickets, answering 24/7, and turning support into a revenue channel with Bookbag.