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: {{context}} Conversation: {% for utterance in thread %} {{ utterance["userId"] }}: {{ utterance["text"] }} {% endfor %} Given the previous context and conversation, who do you think is more engaged in this conversation ({{ answer_choices[0] }}, {{ answer_choices[1] }}, or {{ answer_choices[2] }}):
