ベクトルデータベースは、埋め込み(embeddings)(ベクトル表現)を保存し、類似度によって効率的に検索します——セマンティック検索、RAG、レコメンデーションシステムを可能にします。これは埋め込みを扱う現代のAIアプリケーションにとって重要なインフラコンポーネントです。
ベクトルデータベースが行うこと
VECTOR DATABASE → stores EMBEDDINGS (vectors) and searches them by SIMILARITY:
→ store millions of vectors (representing documents, images, etc.)
→ given a query vector, efficiently find the most SIMILAR vectors (nearest neighbors)
→ optimized for high-dimensional vector similarity search at scale
→ enables fast semantic similarity search over large embedding collections
なぜ必要なのか
→ semantic search/RAG need to find the most relevant items by EMBEDDING SIMILARITY
→ comparing a query against millions of vectors naively is SLOW → vector DBs use
approximate nearest neighbor (ANN) algorithms for FAST similarity search
→ purpose-built for the vector similarity search that AI applications need at scale
