mlpeek: extract named entities from text
extract_entitiesExtract named entities like people, organizations, places, dates, and money from English text, returning labels, code-point offsets, and per-label counts. Optionally filter by entity type.
Instructions
mlpeek: Extract named entities: people, organisations, places, dates, money, ... For fields of your own schema use extract_json_with_schema. Returns named entities in English text with spaCy en_core_web_sm 3.8.0 (MIT): text, label (the 18 OntoNotes types: PERSON, ORG, GPE, LOC, DATE, MONEY, ...) and code-point offsets (end exclusive), plus counts per label; at most 2,000 entities (then entities_truncated). A statistical model: it can miss or mislabel entities. English only. Runs an open model pinned by hash on Tanod's own CPU (no LLM, no third-party API); an unavailable model is a 503 (not charged). Typically under 0.1 s for 2,000 characters, under 0.5 s at 20,000. Price: USD 0.001. Free: 5 mlpeek calls per IP per UTC day. The submitted text is never logged or stored. Docs: https://tanod.dev/learn/named-entity-recognition-zero-shot-classification-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | English text, at most 20,000 characters. | |
| labels | No | Only these entity types (default: all 18 OntoNotes types). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| model | No | ||
| chunks | No | ||
| counts | No | ||
| entities | No | ||
| chars_analyzed | No | ||
| entities_truncated | No |