Просмотр исходного кода

server : better default prompt (#2646)

Georgi Gerganov 2 лет назад
Родитель
Сommit
1f0bccb279
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      examples/server/public/index.html

+ 2 - 2
examples/server/public/index.html

@@ -144,12 +144,12 @@
     import { SchemaConverter } from '/json-schema-to-grammar.mjs';
     import { SchemaConverter } from '/json-schema-to-grammar.mjs';
 
 
     const session = signal({
     const session = signal({
-      prompt: "This is a conversation between user and llama, a friendly chatbot. respond in simple markdown.",
+      prompt: "This is a conversation between User and Llama, a friendly chatbot. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.",
       template: "{{prompt}}\n\n{{history}}\n{{char}}:",
       template: "{{prompt}}\n\n{{history}}\n{{char}}:",
       historyTemplate: "{{name}}: {{message}}",
       historyTemplate: "{{name}}: {{message}}",
       transcript: [],
       transcript: [],
       type: "chat",
       type: "chat",
-      char: "llama",
+      char: "Llama",
       user: "User",
       user: "User",
     })
     })