npm.io
0.1.3 • Published 3d ago

@tailrace/recognizer-ner

Licence
MIT
Version
0.1.3
Deps
1
Size
10 kB
Vulns
0
Weekly
0
Stars
1

Tailrace - Agent data governance for TypeScript. Docs · All packages · @tailrace/core

@tailrace/recognizer-ner

Optional Tier 1 recognizer for Tailrace: a quantized GLiNER-class ONNX model emitting person, location, and organization spans. Node only. Install it explicitly and pass it into createTailrace({ recognizers: [nerRecognizer()] }); @tailrace/core never depends on it.

If the model is unavailable at runtime, the recognizer logs one warning and disables itself - detection degrades to Tier 0, the host app never crashes.

M0 skeleton. nerRecognizer throws NotImplementedError until Tier 1 lands (see docs/detection.md).

onnxruntime-node is an optional peer dependency.