Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(asl): document the confidence score and clean flag in the handler contract

nirholas99b6c628e60e
diff --git a/api/asl-recognition.js b/api/asl-recognition.js
index f51953c4e..9201b3645 100644
--- a/api/asl-recognition.js
+++ b/api/asl-recognition.js
@@ -6,8 +6,11 @@
* The feature schema the browser must assemble per video frame
* (MediaPipe Holistic landmark selection, served by the worker).
*
- * POST /api/asl-recognition { frames: [[390 numbers|null]…] }
- * → { text, frames, ms }
+ * POST /api/asl-recognition { frames: [[390 numbers|null]…], clean?: boolean }
+ * → { text, raw, cleaned, confidence, frames, ms }
+ * `text` is the LLM-cleaned decode (send clean:false to skip that pass
+ * and get the worker's raw output); `confidence` is the recognizer's
+ * mean per-character softmax, which the UI uses to warn on a bad read.
*
* Thin authenticated proxy to workers/model-asl-recognition (Kaggle-2023
* ASLFR 1st-place model, Apache-2.0 weights, FSboard CC BY 4.0 corpus).