Traits refer to specific attributes that search users might express in their conversations and may be useful for intent detection. You can use this stage to extract traits from a source field and save the identified traits to a target field so that you can use them to detect user intentions better. Note that you should define trait groups before configuring this stage.
For example, in the following statement , “My flight is late, I might miss my connecting flight “ , the utterances do not directly convey any specific intent, but the traits present in the utterance like ‘Flight Delay’ can be used in driving the intent detection.
Trait Extraction Configuration
To configure this stage, use the following fields:
- Stage Type – Set this to Traits Extraction
- Stage Name – Provide a name with which you want to refer to the stage.
- Condition – The condition used to identify the documents or records which will be processed in the traits extraction stage.
- Stage Definition – The traits to be extracted from a given field and the target field for the traits.
Source Field | The field from which the traits need to be extracted or identified. |
Add Trait Group | The trait group which needs to be extracted from the source. All the traits from the traits group will be extracted from the source field. You can only select one of the configured trait groups. |
Target Field | The field where the extracted trait is saved. If this field does not already exist as an index field, it will be added to the list of index fields. |