Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The runtime runs inside a container. It is configured via a combination of a environment variables and an application.json file. Details on configuration can be found here: https://modelop.atlassian.net/wiki/spaces/DV21/pages/1770717669/ModelOp + Runtime +Details#ConfigurationDetails | Configuration-Options . Additionally, at least one control port must be exposed so that the rest of the MOC ecosystem can talk to the engine. By default, this is port 8003. Additionally, when running a deployed model, the engine can open a separate port that can be used exclusively for scoring against the model. This port is configurable and must be exposed independently of the control port.

...

When a model is deployed against a REST endpoint, a POST command can be used to score data. Details of the command are provided here: https: //modelop.atlassian.net/wiki/spaces/DV21/pages/1770717669/ModelOp + Runtime +Details#ScoreDetails | Score-data-via-the-REST-endpoint . Data received via the POST command is funneled into the model’s action function, and whatever data is yielded from that function is then funneled back and returned in the response to the REST call.

...