You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2022. It is now read-only.
Jasmine Anteunis edited this page Jan 15, 2019
·
2 revisions
An instance of the Entity class is instantiated either by the Conversation or the Response constructors.
Attributes
Each of the following methods corresponds to a Entity attribute
Attributes
Description
name
String: the name of the entity
raw
String: the raw value extracted from the input
confidence
Float: the detection score between 0 and 1 excluded
In addition to those methods, more attributes are generated depending of the nature of the entity.
The full list can be found there: cai.tool.sap/docs/
// With the textRequest method
Response reponse = client.textRequest(YOUR_TEXT)
Entity entity = reponse.getEntity(ENTITY_NAME)