Control when relevancy is checked

You can configure when the chatbot should check if a passage matched by NLP questions is a helpful response to the chatbot user's question, and what content it should use to determine if the passage is helpful. Relevancy checks can be configured to run:

You need an administrator or publisher role in your team to change a task configuration.

Configure when relevancy is checked

To edit the relevancy check configuration:

  1. Click Manage in the left navigation, then click LLM Usages
  2. Click the TrueIntent usage with the relevancy check task you want to edit.
  3. Click the Relevancy Check tab.
  4. If you want to include the chat history when checking the relevancy, select Populate ${chatHistory} variable with user transcript.
  5. Select whether you want the relevancy check to run:
  6. If you want to only check relevancy for passages from certain conversations, select When the passage returned is part of the following Conversations, and configure the conversations.
    See Control relevancy checks by conversation.
  7. Select the content you want the LLM model to use when deciding if the passage was helpful. You can include:
    • Passage Content
    • Training Phrases for any inbound questions to the passage.
    • Annotations you have added to the passage or conversation.
      If you include annotations, make sure you have also included passage content, training phrases, or both. If you select only annotations, then any passage or conversation that does not have an annotation will be marked as unhelpful.
  8. Click Save.

Control relevancy checks by conversation

You can configure relevancy checks to only run when the matched passage belongs to one of the conversations you specify. You can also control how the chatbot behaves when a matched passage is marked unhelpful.

By default, if a passage is marked unhelpful, the chatbot behaves as if no passage was matched:

  • The conversation context does not switch to the unhelpful passage's conversation.
  • The chatbot triggers a fallback passage using the fallback and intellimem settings from the conversation the chatbot user was previously in. 

If you want the conversation context to switch to the unhelpful passage's conversation, you can select a passage from that conversation to start as a custom fallback. When a matched passage from that conversation is marked unhelpful:

  • The conversation context switches to the unhelpful passage's conversation.
  • The chatbot starts the custom fallback passage.

This fallback passage is only started when a passage is matched but marked unhelpful: if the chatbot triggers a fallback in that conversation for another reason, such as chatbot user utterance that matches no NLP questions, the fallback passages in your chatbot's fallback settings apply.

Was this article helpful?
0 out of 0 found this helpful