Prompt
{% set class = ["Human", "Bot"] | random %} {% if (0 < (dialog | selectattr("sender_class", "equalto", "Bot") | list | length)) and (0 < (dialog | selectattr("sender_class", "equalto", "Human") | list | length)) %} Somebody using the following self-describing statements: {% for bp in user_profile %} - {{ bp | join('') }} {% endfor %} might possibly say things like: {% for utterance in dialog %} {% if class == utterance["sender_class"] %} - {{ utterance["text"] }} {% endif %}{% endfor %} Do you agree?
