Inventory Keyword Model

ONNX-backed NER for automotive inventory queries — extracts vehicle entities from natural language text

ONNX Runtime 13 Entity Types all-MiniLM-L6-v2 REST API

Entity Types

Try It

API Usage

// POST /api/extract fetch('/api/extract', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-api-key': 'your-key' }, body: JSON.stringify({ text: 'new 2024 Ford F-150 Lariat 4WD', caller: 'nexusDealer' }) }) .then(r => r.json()) .then(d => console.log(d.entities)); // → { CONDITION: 'new', YEAR: '2024', MAKE: 'Ford', MODEL: 'F-150', TRIM: 'Lariat', DRIVETRAIN: '4WD' }

Response Shape

{ "entities": { "MAKE": "Honda", "MODEL": "Accord", "TRIM": "Sport", … }, "latency_ms": 24, "text_length": 58 }