LiftWing serves models using v1 endpoints, but KServe's out-of-the-box OpenAPI docs does not support v1 endpoints (check Kserve documentation). We've crafted custom specs for each model under docs/. We need to make them available in the model servers so they override KServe's defaults.
For each model:
- Copy the spec into the container image (blubber.yaml)
- Override openapi() and add a /docs endpoint (model.py)
- Reference patch: https://gerrit.wikimedia.org/r/c/machinelearning/liftwing/inference-services/+/1296565
- article-descriptions
- article_country
- articlequality
- edit_check
- editing_suggestions
- embeddings
- logo_detection
- outlink_topic_model
- readability_model
- reference_quality
- revert_risk_model
- revertrisk_wikidata
- revise_tone_task_generator