Find similar images with CLIP
Build visual similarity search to find images that look alike using OpenAI's CLIP model.
Updated Open in Colab
Create a searchable knowledge base that finds content by meaning, not just keywords.
Search & Embeddings · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
You add an embedding index to your text column. Pixeltable automatically generates embeddings for each row and enables similarity search.
pip install pixeltable sentence-transformers
pxt.create_table()insert()add_embedding_index()similarity()# Add embedding indexkb.add_embedding_index(column='content',string_embed=sentence_transformer.using(model_id='all-MiniLM-L6-v2'),)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Build visual similarity search to find images that look alike using OpenAI's CLIP model.
Generate vector embeddings for text data to enable semantic search and similarity matching.