Quick start
Here’s a simple example using a custom BERT model:Production best practices
The quick start example works but isn’t production-ready. Below we’ll cover how to optimize your custom embedding UDFs.
Model caching
Always cache your model instances to avoid reloading on every call:Batch processing
Use Pixeltable’s batching capabilities for better performance:Error handling
Always implement proper error handling in production UDFs:Additional resources
UDF Guide
Complete UDF documentation
Embedding Examples
More embedding examples
Model Hub
Find embedding models