External Files
In Pixeltable, all media data (videos, images, audio) resides in external files, and Pixeltable stores references to those.
Create an embedding index, query it with similarity search and keep it current as data changes. Covers several indexes on one column, custom embedding UDFs and precomputed embeddings.
Tutorials · 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.
pip install pixeltable transformers sentence-transformers tensorflow tensorflow-hub tensorflow-text 'setuptools<82'
pxt.create_table()@pxt.udfinsert()add_embedding_index()similarity()import PIL.Imagefrom pixeltable.functions.huggingface import clip# create embedding index on the 'img' columnimgs.add_embedding_index('img', embedding=clip.using(model_id='openai/clip-vit-base-patch32'))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
In Pixeltable, all media data (videos, images, audio) resides in external files, and Pixeltable stores references to those.
Welcome to Pixeltable! In this tutorial, we'll survey how to create tables, populate them with data, and enhance them with built-in and user-defined transformations and AI operations.
Create and manage tables, insert, update and delete data, and filter and select rows with where(), select() and order_by().
This guide introduces one of Pixeltable's most essential and powerful concepts: computed columns.