Prompt
{% set alice = (evaluation|selectattr("userId", "equalto", "Alice")|first)["engagement"] %} {% set bob = (evaluation|selectattr("userId", "equalto", "Bob")|first)["engagement"] %} {% if (0 < (thread | selectattr("userId", "equalto", "Bob") | list | length)) and (0 < (thread | selectattr("userId", "equalto", "Alice") | list | length)) %} {{context}} Given the previous context, who do you think is more engaged in this conversation ({{ answer_choices[0] }}, {{ answer_choices[1] }}, or {{ answer_choices[2] }}): {% for utterance in thread %} - {{ utterance["userId"] }}: {{ utterance["text"] }} {% endfor %}
