...
In the example below we describe the implementation for the field email_coming_from
with the tag options no_reply
and info
, so they will match emails sent from no-reply@contract.fit
and info@contract.fit
respectively.
The field Fields and tags need to be added in a specified rule as a regex in the predictor settings. On the swagger page of your environment you can find the endpoint /predictor_settings/{scope}. The scope is the inbox/project for which you would want this predictor to run. Inside key_value_pairs::rule_config you can specify per tag_field which regexes you want to match for a given field_name. Note that the field_name and tag options have to match exactly (case sensitive). Otherwise the prediction will be empty.
...