mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-20 12:10:50 +08:00
add jinja templates for all current tasks
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Please provide a reply to the assistant.
|
||||
Here is the conversation so far:
|
||||
{% for message in task.conversation.messages %}{% if message.is_assistant %}
|
||||
:robot: Assistant:
|
||||
{{ message.text }}
|
||||
{% else %}
|
||||
:person_red_hair: User:
|
||||
**{{ message.text }}**"
|
||||
{% endif %}{% endfor %}
|
||||
{% if task.hint %}
|
||||
Hint: {{ task.hint }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user