Extract
Command Prototype
arrEntity = NLP.Extract(strText)
Command Description
Extracts entities from an input string and returns an array of dictionaries, each containing information corresponding to each entity's content, entity name, standard entity value, and index in the input string. Only supports default entity types in our Chatbot platform. Internet access is needed for this command. To learn more about entities, .... Each machine is limited to 60 calls per minute, and exceeding the limit will result in a 10-minute ban
Parameter Description
- Required Parameter
- strText--Input string to extract entities form
- return
- arrEntity--Returns an array of dictionaries {idx_start:"index of the entity's beginning in original string", standard_value: "entity standard value", name: "entity name", text: "entity text"}