Serialized Model APIManaged Fusion Machine Learning Model APIs
Table of Contents
Use these endpoints to deploy and manage models via Seldon Core. To fetch predictions, see the ML Model API.
For more information, view the API specification.
Examples
Deploy a model
curl -u USERNAME:PASSWORD -L -X POST 'https://EXAMPLE_COMPANY.b.lucidworks.cloud/api/ai/ml-models?modelId=opennlp&type=seldon' \
-d '@/Users/me/opennlp.bin'
Check that the
opennlp
model existscurl -u USERNAME:PASSWORD https://EXAMPLE_COMPANY.b.lucidworks.cloud/api/ai/ml-models/opennlp
The response is 200 OK
if the model is deployed or 404 Not Found
if it is not.
Download the
opennlp
model from Fusioncurl -u USERNAME:PASSWORD https://EXAMPLE_COMPANY.b.lucidworks.cloud/api/ai/ml-models/opennlp
The response is a binary file.
Delete the
opennlp
model from Fusioncurl -u USERNAME:PASSWORD -X DELETE https://EXAMPLE_COMPANY.b.lucidworks.cloud/api/ai/ml-models/opennlp
The response is 204 No Content
when the deletion succeeds.
Additional resources
Lucidworks offers free training to help you get started with Fusion. Check out the Machine Learning Demystified course, which focuses on key concepts in machine learning, plus the available Fusion machine learning jobs you can use to train and deploy models to create a sophisticated search experience: Visit the LucidAcademy to see the full training catalog. |