Consume a deployed model within a webapp

rafael_rosado97
Level 4
Consume a deployed model within a webapp

Hi, everyone

Is it possible to send, for example, to a classification model (a model already created in Dataiku, not customized) a row to predict it within a Dataiku webapp? Imagine that I have I frontend where the user can see the fields to write variables values and he can send it to the model to predict a class.

 

And in the another hand, if I want to use a customized model, do I have to serialized it into a Dataiku folder first?

 

Thank you very much!!


Operating system used: Centos

0 Kudos
1 Reply
AlexT
Dataiker

Hi @rafael_rosado97,
One approach here would be to deploy your model to Prediction endpoint and use that prediction endpoint within your webapp via REST API instead of trying to use the model directly.

https://knowledge.dataiku.com/latest/mlops-o16n/real-time-apis/tutorial-create-api-endpoint-test-que...

Hope that helps!

0 Kudos