Skip to content

Glossary: Embeddings and Vector Search

mask

Also written: boolean mask

An array of True/False values, one per item, used to select or exclude items. A pre-filter is a mask that gives failing items a score of minus infinity.

Where the book teaches it

Related terms

post-filter / pre-filterNumPy array