Extract Entities
extract_entitiesExtract named entities (NER) from text.
Identifies persons, organizations, locations, and miscellaneous entities with span offsets and confidence scores. BERT-NER based with sub-50ms latency.
Args: text: Text to extract named entities from.
Returns: dict with keys: - entities (list): Detected entities, each containing: - text (str): Entity text - label (str): Entity type (PER, ORG, LOC, MISC) - start (int): Character offset start - end (int): Character offset end - score (float 0-1): Confidence score - count (int): Total number of entities found
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to extract named entities from (persons, organizations, locations) |