Set the default distance function for a descriptor type. This is the distance function that will be used if none is given for a particular function call.
The type of the descriptor to set a distance function for. Built-in values are "ap" and "fp". Additional values can be set as well.
A distance function taking two descriptor objects (as returned by toObject in a descriptor transform,
No return value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.