nsarrazin HF staff commited on
Commit
ab234cf
1 Parent(s): e674cf2

hardcoded prompt template

Browse files
Files changed (1) hide show
  1. .env.local.template +1 -1
.env.local.template CHANGED
@@ -23,7 +23,7 @@ OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.go
23
  MODELS=`[
24
  {
25
  "name": "${MODEL_NAME}",
26
- "chatPromptTemplate": "${MODEL_PROMPT_TEMPLATE}",
27
  "preprompt": "",
28
  "promptExamples": [
29
  {
 
23
  MODELS=`[
24
  {
25
  "name": "${MODEL_NAME}",
26
+ "chatPromptTemplate": "<|system|>\n{{preprompt}}</s>\n{{#each messages}}{{#ifUser}}<|user|>\n{{content}}</s>\n{{/ifUser}}{{#ifAssistant}}<|assistant|>\n{{content}}</s>\n{{/ifAssistant}}{{/each}}",
27
  "preprompt": "",
28
  "promptExamples": [
29
  {