API Reference Magika v#0.1.0-rc.0

Copy Markdown View Source

Modules

Elixir binding of Magika, Google's deep-learning file content type detector.

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

Loads and holds Magika's model configuration and the content-types knowledge base.

Metadata about a single content type, loaded from Magika's content types knowledge base (content_types_kb.min.json).

Feature extraction (v2) from a file's content.

Runs the ONNX model on an extracted feature vector and decodes the result.

The outcome of identifying a single input.

The top-level result of an identification call.

A supervised process that owns a loaded Magika instance.