Definition
A database optimized for finding the most semantically similar pieces of text to a given query.
In practice
Pinecone, Weaviate, and Postgres's pgvector extension are the common picks. You convert text to embeddings (vectors of numbers) once, store them, and at query time convert the question to a vector and find the closest matches. The 'closest' matches are the ones the model should read before answering.