Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat(server): add default chat template (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
fardeon authored Apr 20, 2023
1 parent 22a2c1f commit 14b734c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions basaran/templates/default.chat.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% for message in messages -%}
{% if message.role == "system" -%}
{{ message.content }}
{% else -%}
<{{ message.role }}>: {{ message.content }}
{% endif %}
{% endfor -%}
<assistant>:

0 comments on commit 14b734c

Please sign in to comment.