ENTITY DETECTION

Identify real world objects within texts (dates, names, etc.)

Entity Detection icon image

// The Entity Detection Skill finds and labels such entities within texts. The results can help generate action items or analyze a large amount of data to determine which entities appear frequently.

SETUP

Request

Generate entity labels by performing a POST request to the following URL: api.oneai.com/api/v0/pipeline

{

"text": "your input text here",

"steps": [

{ "id": "1", "skill": "entities", "input": "0" }

]

}

Response

Outputs entity labels.
Supported labels:

  • PERSON

    People, including fictional characters.

  • NORP

    Nationalities or religious or political groups.

  • FAC

    Companies, agencies, institutions, etc.

  • GPE

    Countries, cities, states.

  • LOC

    Non-GPE locations, mountain ranges, lakes

  • PRODUCT

    Objects, vehicles, foods, etc. (Not services) DATE Absolute or relative dates or periods.

  • EVENT

    Hurricanes, battles, sports events, etc.

  • WORK_OF_ART

    Titles of books, songs, etc.

  • LAW

    Named documents made into laws.

  • LANGUAGE

    Any named language.

  • DATE

    Absolute or relative dates or periods.

  • TIME

    Times smaller than a day.

  • MONEY

    Monetary values, including unit.

  • QUANTITY

    Measurements, such as weight or distance.

  • ORDINAL

    Position in a list - “first”, “second”, etc.

  • CARDINAL

    Numerals that do not fall under another type.