breanna52_40520
06/21/2024, 9:46 AM> [
> {
> "role": "system",
> "content": {{ system_message | dump }}
> },
> {% for message in messages %}
> {% for role, content in message %}
> {
> "role": "{{ role }}",
> "content": {{ content | dump }}
> },
> {% endfor %}
> {% endfor %}
> {
> "role": "user",
> "content": {{ question | dump }}
> }
> ]
This and this doesn't work:
defaultTest:
> vars:
> system_message: Answer concisely
> - messages:
> - user: Who founded Facebook?
> - assistant: Mark Zuckerberg
> - user: What's his favorite food?
> - assistant: Pizza
> - messages:
> - user: Who was the first person to walk on the moon?
> - assistant: Neil Armstrong
> - user: In what year did this happen?
> - assistant: 1969
> - user: Which mission was it?
> - assistant: Apollo 11
--------------------------
defaultTest:
> vars:
> system_message: Answer concisely
> messages:
> - - user: Who founded Facebook?
> - assistant: Mark Zuckerberg
> - user: What's his favorite food?
> - assistant: Pizza
> - - user: Who was the first person to walk on the moon?
> - assistant: Neil Armstrong
> - user: In what year did this happen?
> - assistant: 1969
> - user: Which mission was it?
> - assistant: Apollo 11`ian
06/21/2024, 9:48 AMassistant should be at the same level as user
this could be a discord format issue, please wrap your message in a markdown code block to be sure \`\`\`breanna52_40520
06/21/2024, 9:51 AMbreanna52_40520
06/21/2024, 9:54 AMian
06/22/2024, 6:34 AMmessages as a list, as indicated by the - before it. Have a look at the example at the chat conversation docs you linked 🙂