Configuring Traits

Traits are characteristics that can be identified and extracted from the search user’s input. They provide insight into the search user’s intent. In natural conversations, it is common for a user to provide background or relevant information when describing a specific scenario.

You can also identify traits in jargon (i.e. usage in a trade or profession). For example, pax in the travel industry, checkout in the hospitality industry, and discharge summary in health care.

Traits are specific entities, attributes, or details that users express in their conversations. The utterance may not directly convey any specific intent, but a trait in an utterance can lead to intent detection and drive bot conversation flow.

You can extract traits from documents. SearchAssist can then map those traits to user queries and use the information to help to increase the relevance score. Use the traits added to the SearchAssist app to fine-tune an index workbench and configure business rules.

For example, instead of a simple query, “How do I pay my bill”, the user might say, “I was wondering if it would be possible to make payments.”  To ensure the SearchAssist app generates the same result for either query, manually define a common trait for these two utterances. Tag the corresponding content source or answer with that trait so that future queries generate the most effective search result.

Adding Traits

Follow these steps:

  1. Click the Indices menu tab.
  2. In the left pane, click Traits.
  3. Click the Add Traits button.
  4. In the Create New dialog box, enter a name in the Trait Group field.
  5. Enter a word or phrase in the Traits field.
  6. Hit Enter on your keyboard.
  7. Repeat steps to add multiple traits.

Adding Utterances

After creating a list of traits, open a trait file and add utterances. An utterance is a word or phrase that is likely to be used in a conversation about the trait by the end-user.

  1. Locate a trait and click + Add Utterances.
  2. On the next page, enter an utterance.
  3. Hit Enter.
  4. Repeat steps.
  5. Click Add.
  6. Click Save.

After creating traits, you must extract these traits from the source content so that the traits are identified in the user utterance and are mapped to the source document.

Include these traits in the business rules as required and assign the appropriate action.

Managing Traits

You can perform the following actions on traits:

  1. Search for a specific trait.
  2. On the Traits page, hover over the corresponding row on the far right to see the edit and delete options.

Note: Make sure you click the Train your App icon each time you make changes to any index configuration. This builds the index based on the updated configurations.

Configuring Traits

Introduction

Traits are characteristics or specific attributes that can be identified and extracted from the search user’s input. They give you deeper insights into the search user’s intent. In natural conversations, it is very common that a user provides background/relevant information while describing a specific scenario.

You can also identify traits in jargons i.e., usages popular in a particular trade or profession. Example: pax in the travel industry, checkout in hospitality, discharge summary in health care etc.

Traits are specific entities, attributes, or details that the users express in their conversations. The utterance may not directly convey any specific intent, but the traits present in the utterance lead to the intent detection and drive bot conversation flows.

You can extract traits from given documents and the SearchAssist can map those traits to user queries that help to increase the relevance score. You can use the traits added to the Search Assistant in fine tuning index workbench and business rules configurations.

For example, instead of a simple query “How do I pay my bill”, the user might say something like “I was wondering if it would be possible to make payments.”  For the Search Assistant to result in the same response for both the preceding queries or utterances, manuallydefineacommon trait for these two utterances. Tag the corresponding content source or answer with that trait to respond with when the trait is identified.

Adding Traits

To add and configure Traits, take the following steps:

  1. Click the Indices tab on the top.
  2. On the left pane, under the Index Configuration section, click Traits.
  3. Click Create New.
  4. In the Create New dialog box, enter a name in the Trait Group field.
    • In the Traits field, enter a trait. Press Enter to add multiple traits.
    • For each Trait, you must add the associated utterance(s) that lead to the trait.
    • Click Save.
  5. Add Multiple Trait Groups as per business requirements.
  6. After creating traits, you must extract these traits from the source content so that the traits are identified in the user utterance and are mapped to the source document. Refer Extracting Traits.

Include these traits in the business rules as required and assign the appropriate action. Refer Adding Business Rules.

Manage Traits

You can perform the following actions on the added traits:

  1. Search for a specific trait.
  2. On the Traits page, hover over the corresponding trait row in the far right  to see the edit/delete options.
  3. Edit a trait group to change the name, add, modify, delete traits.
  4. Delete a trait group as required.

Ensure to click Train your App each time you make changes to any index configuration. This builds the index based on the updated configurations.

Configuring Traits

Introduction

Traits are characteristics or specific attributes that can be identified and extracted from the search user’s input. They give you deeper insights into the search user’s intent. In natural conversations, it is very common that a user provides background/relevant information while describing a specific scenario.

You can also identify traits in jargons i.e., usages popular in a particular trade or profession. Example: pax in the travel industry, checkout in hospitality, discharge summary in health care etc.

Traits are specific entities, attributes, or details that the users express in their conversations. The utterance may not directly convey any specific intent, but the traits present in the utterance lead to the intent detection and drive bot conversation flows.

You can extract traits from given documents and the SearchAssist can map those traits to user queries that help to increase the relevance score. You can use the traits added to the Search Assistant in fine tuning index workbench and business rules configurations.

For example, instead of a simple query “How do I pay my bill”, the user might say something like “I was wondering if it would be possible to make payments.”  For the Search Assistant to result in the same response for both the preceding queries or utterances, manuallydefineacommon trait for these two utterances. Tag the corresponding content source or answer with that trait to respond with when the trait is identified.

Adding Traits

To add and configure Traits, take the following steps:

  1. Click the Indices tab on the top.
  2. On the left pane, under the Index Configuration section, click Traits.
  3. Click Create New.
  4. In the Create New dialog box, enter a name in the Trait Group field.
    • In the Traits field, enter a trait. Press Enter to add multiple traits.
    • For each Trait, you must add the associated utterance(s) that lead to the trait.
    • Click Save.
  5. Add Multiple Trait Groups as per business requirements.
  6. After creating traits, you must extract these traits from the source content so that the traits are identified in the user utterance and are mapped to the source document. Refer Extracting Traits.

Include these traits in the business rules as required and assign the appropriate action. Refer Adding Business Rules.

Manage Traits

You can perform the following actions on the added traits:

  1. Search for a specific trait.
  2. On the Traits page, hover over the corresponding trait row in the far right  to see the edit/delete options.
  3. Edit a trait group to change the name, add, modify, delete traits.
  4. Delete a trait group as required.

Ensure to click Train your App each time you make changes to any index configuration. This builds the index based on the updated configurations.