This repository contains an example React NextJS application that leverage Clickhouse vector Search capability to implement image similarity search.
- Clickhouse server
- NodeJS LTS
- Python 3.10+
This application has two parts:
- Python embedding model
- ReactJS frontend
The Python application is used to generate embeddings for the images.
Install the dependencies:
cd py-embed
pip install -r requirements.txt
Run the application:
uvicorn app:app --reload
The ReactJS application is used to stream images from Clickhouse and also perform image similarity search.
Install the dependencies:
yarn install
Run the application:
yarn dev
Build the application:
yarn build