πŸŒ‡ Text To Image Search QuickStart#

Open In Colab

Try the image search live in Relevance AI Dashboard.

In this notebook we will show you how to create and experiment with a powerful text to image search engine using OpenAI’s CLIP and Relevance AI.

What I Need#

  • Project & API Key (The SDK will link you to the corresponding page or you can grab your API key from https://cloud.tryrelevance.com/ in the settings area)

  • Python 3

  • Relevance AI Installed as shown below. For more information visit Installation guide

Installation Requirements#

# Relevance AI installation
# remove `!` if running the line in a terminal
!pip install -U RelevanceAI[notebook]==2.0.0
!pip install ftfy regex tqdm
!pip install git+https://github.com/openai/CLIP.git

Client Setup#

You can sign up/login and find your credentials here: https://cloud.tryrelevance.com/sdk/api Once you have signed up, click on the value under Activation token and paste it here

from relevanceai import Client

client = Client()