Save the content of the model in two files:
the RcppAnnoy model
the dictionary (character containing texts)
1 | save_annoy_model(annoy_model, path_annoy, path_dictionary)
|
annoy_model |
RcppAnnoy model |
path_annoy |
path for the RcppAnnoy model |
path_dictionary |
path for the dictionary (character containing texts) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.