ModelFox.LogPredictionArgs (modelfox v0.8.0) View Source

This is the type of the argument to ModelFox.log_prediction and ModelFox.enqueue_log_prediction which specifies the details of the prediction to log.

identifier

This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.

input

This is the same ModelFox.predict_input value that you passed to ModelFox.predict.

options

This is the same ModelFox.PredictOptions value that you passed to ModelFox.predict.

output

This is the output returned by ModelFox.predict.

Link to this section Summary

Link to this section Types

Specs

t() :: %ModelFox.LogPredictionArgs{
  identifier: String.t(),
  input: ModelFox.predict_input(),
  options: ModelFox.PredictOptions.t() | nil,
  output: ModelFox.predict_output()
}