HomeModule CreatorConversationEntities

Entities

List of Entities from ArrowAI

XRegExpIt is a powerful way to extract values from the sentences that follow some generic format. Using Regex type syntax, the variable definition can be defined.

Named Entities are defined using XRegExp format, where in the variable name is defined with the regular expression written, giving control to which matching pattern is saved in which variable.

Some sample example with use cases are as follows
(?<phone_number>[0-9]{10}) : This extracts the 10-digit phone number from the user sentence and save it as phone_number variable. User may enter as "My Phone number is 9900000000", the application will extract 9900000000 and save it as phone_number.
(?<enquiry_code>[a-zA-Z]{2,3}\-[0-9]{5}) : it extract the enquiry_code from the user sentence which are in format aa-12345 or aaa-12345. User may enter as "my enquiry code is aB-12345", the application will extract aB-12345 and save it as enquiry_code.
emailThis entity type will extract the email address from the user sentence
dateThis extracts the date from the user sentence and provide it in a JavaScript Date Format. The Date type takes input in natural language, for example today or last sunday and also could parse dates written in specific date format 23-march 1992
date-rangeDate Range takes the range of dates entered by the user.

In case the user only enters a single date, the application will generate the date range using the user entered date and the current date
textGeneral text entity extractor to save any input given by the user. This type is helpful when whole of the input by the user is to be recorded, for example, when taking reviews or suggestion.
User DefinedUsers can define the value based entities for extraction. These are helpful for the case when the user is required to answer from among a choice of possible values.

For Example, while creating a pizza ordering application, the possible toppings can only be jalapeno or tomato, then a user defined entity topping with values jalapeno and tomato can be defined and used for extraction.

List of Standard Entity by Alchemy

AlchemyAPI Entity Types
Anatomy
Anniversary
Automobile
City
Company
Continent
Country
Crime
Degree
Drug
EntertainmentAward
Facility
FieldTerminology
FinancialMarketIndex
GeographicFeature
HealthCondition
Holiday
JobTitle
Movie
MusicGroup
NaturalDisaster
OperatingSystem
Organization
Person
PrintMedia
Product
ProfessionalDegree
RadioProgram
RadioStation
Region
Sport
SportingEvent
StateOrCounty
Technology
TelevisionShow
TelevisionStation
EmailAddress
TwitterHandle
Hashtag
IPAddress
Quantity
Money
Was this article helpful to you? Yes No