In T315994, we've demonstrated with a test stream that the outlink topic model is able to send predictions to EventGate when requested. To support task T328276, we need to add an official outlink stream for EventGate main.
There are some requirements that need to be fulfilled to add a new stream with Lift Wing, documented in https://wikitech.wikimedia.org/wiki/Machine_Learning/LiftWing#Streams
We've done them for the outlink topic model:
- A model server needs to be deployed to Lift Wing, and it must have passed basic sanity checks from the ML team
- Decide the source event stream
- mediawiki.page_change
- Decide if you need to filter or not the traffic in the topic
According to the model card #Users and uses, the model can be used for all projects within Wikipedia (all languages) and pages in the main namespace (namespace=0).
- Decide Schema for event created
- $ref: /fragment/common/2.0.0#
- $ref: /fragment/mediawiki/state/change/page/1.0.0
- predicted_topics
- rename the stream using stream versioning convention to mediawiki.page_outlink_topic_prediction_change.v1