espositoandrea / Dementia-Detection

http://mementoai.software
GNU General Public License v3.0
2 stars 2 forks source link

Definition of APIs #7

Closed espositoandrea closed 2 years ago

espositoandrea commented 2 years ago

We should propose a set of APIs to allow to use our AI model.

espositoandrea commented 2 years ago

We've settled to an API consisting of two methods:

I'll be defining the APIs in Python using FastAPI.

espositoandrea commented 2 years ago

Although it is still in a pretty embryonic stage, the APIs have been defined and implemented, although the prediction does not use the model but rather a simple random function.

To provide the actual functionality using the AI model, I need the scripts and the model file that will be generated as part of #9, but I'll complete the work using the random functions and providing a simple way to execute a drop-in replacement of the classify function.