How to upload custom embeddings
Custom embeddings improve data exploration by improving similarity search. You can upload up to ten (10) custom embedding types per workspace on any data type. Use this to experiment with different embeddings to improve data selection.Before you start
This example requires the following libraries:Replace API key
Select data rows
First, we need to fetch data rows from a Labelbox dataset. To improve similarity search, you need to upload custom embeddings to at least 1,000 data rows.Create custom embedding payload
To prepare the data:Choose an existing embedding type or create a new one A unique custom embedding name is required as an argument for this method.
Upload payload
Get the count of imported vectors for a custom embedding typeAn updated count can take a few minutes, depending on the number of data rows associated with the embedding type.