Vector Database Retrieval
Type a query. Documents are embedded as bag-of-words vectors and ranked by cosine similarity.
Corpus
The documents stored in the vector database.
VectorStore
Each row is a document's bag-of-words vector over the vocabulary; cell color = term count.
Search process
The query as a vector (only its in-vocab terms), then cosine similarity scored per document.