docs: Deprecate ONNX legacy config and modernize Vision ML for INFERENCE - #79
Conversation
Ref: FLCRM-20635
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
Updates the INFERENCE data event documentation to reflect the modern on-device Vision ML runtime, deprecate the legacy ONNX-based mode, and clarify model loading/detection behavior for developers.
Changes:
- Reframes
INFERENCEas on-device Vision ML with clearer execution modes and a prominent device resource warning. - Documents strict file-extension-based model auto-detection and focuses model loading on form reference files.
- Deprecates the legacy ONNX path and refreshes the primary example to the modern
configsyntax.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Android
|
Description
This PR updates the developer reference documentation for the
INFERENCEdata event function to align with the latest on-device Vision ML runtime capabilities and contracts, while keeping underlying backend engines transparent to developers.Key Changes
.tflitefor Vision ML). Clarified that config-level parameters do not affect or override detection, but must still match the model type.config-based model definitions.JIRA / Issue Reference
Ref: FLCRM-20635
Notes
This is the first of two stacked PRs splitting the original #76. Part 2 (Generative LLM support) is stacked on top of this branch and targets it directly.