Task Adherence

Ensure conversations stay on topic.

The Task Adherence detector uses an LLM to check if assistant responses stay within the bounds of the task defined in your system prompt. It flags responses that deviate from the intended behavior.

Recommended for Output

Use cases

  • Keep customer support bots focused on support topics
  • Prevent users from using your bot for unintended purposes
  • Enforce boundaries on what the assistant can discuss

Labels

TASK-ADHERENCE-VIOLATION

The message is off-topic or outside the defined task scope.

Configuration

Threshold default: 3

Minimum adherence score (0-5). Responses scoring below this are flagged.

The task is defined by your system prompt in the conversation.