Working with vLLM
This tutorial demonstrates how to use Pixeltable's built-in vLLM integration to run local LLMs with high-throughput inference.
Twelve Labs provides multimodal embeddings that project text, images, audio, and video into the same semantic space. This enables true cross-modal search - the most powerful feature of this integration.
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 twelvelabs
TWELVELABS_API_KEYpxt.create_table()pxt.create_view()insert()add_embedding_index()similarity()add_computed_column()# Create a view that segments the video into searchable chunks# Twelve Labs requires minimum 4 second segmentsvideo_chunks = pxt.create_view('twelvelabs_demo/video_chunks',video_t,iterator=pxtf.video.video_splitter(video=video_t.video, duration=5.0, min_segment_duration=4.0),)# Add embedding index for cross-modal searchvideo_chunks.add_embedding_index('video_segment',embedding=pxtf.twelvelabs.embed.using(model_name='marengo3.0'),)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
This tutorial demonstrates how to use Pixeltable's built-in vLLM integration to run local LLMs with high-throughput inference.
Pixeltable's Voyage AI integration enables you to access state-of-the-art embedding and reranker models via the Voyage AI API.
Pixeltable can export data directly from tables and views to the popular Voxel51 frontend, providing a way to visualize and explore image and video datasets.
Pixeltable's Anthropic integration enables you to access Anthropic's Claude LLM via the Anthropic API.