This project demonstrates how to use Convex's vector search capabilities in a simple web application. It provides a practical example of semantic search using vector embeddings.
- Add words/phrases to a collection that will be vectorized
- View all added words/phrases in a list
- Remove words/phrases from the collection
- Perform semantic searches using vector similarity
- Real-time updates of search results
- Users can input words or phrases into a text area
- Each entry is stored in Convex and converted into a vector embedding
- Users can view and manage their collection of entries
- A separate search input allows users to find semantically similar entries
- Results are displayed in real-time, ordered by similarity
- Frontend: React + TypeScript
- Backend: Convex
- Vector Embeddings: Convex built-in embeddings
- Clone this repository
- Install dependencies with
bun install
- Start the development server with
bun run dev
- Open your browser to the displayed URL
/convex
- Backend Convex functions and schema/src
- Frontend React application/components
- React components