Report from: https://github.com/SWViewer/swviewer-service/issues/1
Related tasks: T330131
Need a machine-readable list of available languages (agnostic / multilingual) and available model names (ORES). Check every day manually from four location -- no way. :)
The above report is related to Revert Risk, the owner of SWViewer was rightfully saying that we should provide a way to return the list of supported wikis for any given Revert Risk model.
There may be multiple things/roads to check:
- Should we add an extra POST parameter to :predict to return the list of supported wikis? Easy solution since every Revert Risk model contains the list of supported wikis, but we may pollute the :predict's output.
- Override the :explain function in our model servers, and return the metadata from it.
- Use the v2 API like indicated in this spec