Working with Voyage AI in Pixeltable
Pixeltable's Voyage AI integration enables you to access state-of-the-art embedding and reranker models via the Voyage AI API.
This tutorial demonstrates how to use Pixeltable's built-in vLLM integration to run local LLMs with high-throughput inference.
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 vllm
vllm.chat_completions()vllm.generate()pxt.create_table()add_computed_column()insert()# Add a computed column that uses vLLM for chat completion# against the input.messages = [{'role': 'system', 'content': 'You are a helpful assistant.'},{'role': 'user', 'content': t.input},]t.add_computed_column(result=vllm.chat_completions(messages, model='Qwen/Qwen2.5-0.5B-Instruct'))# Extract the output content from the native vLLM response.t.add_computed_column(output=t.result.outputs[0].text)
One cell of the notebook, copied as it is. Open it in Colab for the rest.
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.
Pixeltable's Bedrock integration enables you to access AWS Bedrock foundation models directly from your tables.