Working with Jina AI in Pixeltable
Pixeltable's Jina AI integration enables you to access state-of-the-art embedding and reranker models via the Jina AI API.
Pixeltable provides seamless integration with Hugging Face datasets and models.
Providers · 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 datasets torch transformers sentence-transformers
pxt.create_table()group_by()insert()add_embedding_index()similarity()from pixeltable.functions.huggingface import clip# Add CLIP embedding index for cross-modal image searchimages.add_embedding_index('Image', embedding=clip.using(model_id='openai/clip-vit-base-patch32'))# Search images using textsim = images.Image.similarity(string='anime character with red clothes')images.order_by(sim, asc=False).limit(3).select(images.Image, images.Name, sim=sim).collect()
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Pixeltable's Jina AI integration enables you to access state-of-the-art embedding and reranker models via the Jina AI API.
This tutorial demonstrates how to use Pixeltable's built-in llama.cpp integration to run local LLMs efficiently.
Pixeltable's Mistral AI integration enables you to access Mistral's LLM and other models via the Mistral AI API.
Pixeltable's Nebius Token Factory integration enables you to access Nebius language and embedding models via an OpenAI-compatible API.