March 5, 2024, 4:02 p.m. | Megan Lee

DEV Community dev.to

Written by Peter Ekene Eze✏️


In this post, we'll build vector search functionality into a Next.js-powered site using a Supabase vector database for storage and the OpenAI Embeddings API. We’ll also explore the difference between regular and vector search vs. semantic search patterns.


The full code for the project we’ll build is available on GitHub. Before we dive in, let’s talk more about vector search and why it’s important today.





Vector search vs. semantic search


Vector search uses …

api build code database difference embeddings explore next next.js openai patterns project search semantic storage supabase vector vector database vector search webdev

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Associate Data Engineer

@ Nominet | Oxford/ Hybrid, GB

Data Science Senior Associate

@ JPMorgan Chase & Co. | Bengaluru, Karnataka, India