microsoft / dstoolkit-mlops-base

Support ML teams to accelerate their model deployment to production leveraging Azure
MIT License
89 stars 39 forks source link

Add input/output schema definition for webservice #49

Closed mariamedp closed 2 years ago

mariamedp commented 2 years ago

Add input & output samples and decorators to generate Swagger schema in src/score.py. This will make it easier for teams using the prediction webservice to interact with it.

Use a simple dummy schema as the template doesn't contemplate any particular dataset. Currently, we are doing the smoke test with the input defined in this file.