Skip to content

🔍 Image similarity search with Weaviate AI database

Notifications You must be signed in to change notification settings

rejth/weaviate-image-search

Repository files navigation

Image Similarity Search

This is an Image Search demo built with Weaviate, Next.js and OpenAI

Getting Started

Create a Weaviate database

Create a Weaviate cloud sandbox instance as described in this guide. Collect the API key and URL from the Details tab in Weaviate Cloud (WCD).

Create a .env file and add the following API keys

Running Weaviate

To start the Weaviate instance, run the following command using the docker-compose.yml file.

docker compose up -d

Importing Data

Before you can import data, add any images in the public/images folder.

To install all project dependencies, run:

npm i

To import your data into Weaviate and initialize a collection, run the following:

npm run import

Running your web app

Ensure your Weaviate instance runs with imported data before starting your web app.

To run the web app:

npm run dev

Open http://localhost:3000 with your browser to see the result.

About

🔍 Image similarity search with Weaviate AI database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published