cryptocyberai commited on
Commit
23ca424
·
verified ·
1 Parent(s): df38468

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +3 -1
chat_template.jinja CHANGED
@@ -3,7 +3,9 @@
3
 
4
  {{- "<BEGIN CONVERSATION>\n\n" -}}
5
 
6
- {{ message.content_text }}
 
 
7
 
8
  {{- "\n\n<END CONVERSATION>\n\n" -}}
9
 
 
3
 
4
  {{- "<BEGIN CONVERSATION>\n\n" -}}
5
 
6
+ {%- for chunk in message.content | selectattr('type','equalto','text') -%}
7
+ {{- chunk.text | trim + " " -}}
8
+ {%- endfor -%}
9
 
10
  {{- "\n\n<END CONVERSATION>\n\n" -}}
11