Integration
- class haptik_helpers.Integrations(entities)[source]
Instantiate a Integration Class. Entities Provided in constructor will be used for further operations.
- Parameters
entities (dict) – List of Haptik Entities.
- get_entity(key, default='') str[source]
Searches for given key in entity and returns original_text for the same.
- Parameters
key (str) – key to serach in entity list.
default (str, optional) – if key is not found in entity list, this value will be send instead of None, defaults to ‘’.
- Returns
original_text of given entity.
- Return type
str