Magika.Application (Magika v0.1.0-rc.0)

Copy Markdown View Source

Starts the default Magika.Server under a supervisor when the :magika application boots.

The model is loaded once and hosted for the lifetime of the application; the API in Magika resolves this server automatically.

The only configurable knob is the prediction mode (see Magika for what the modes mean), set in your application config:

config :magika, prediction_mode: :best_guess

It defaults to :high_confidence.