]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : better default prompt (#2646)
authorGeorgi Gerganov <redacted>
Fri, 18 Aug 2023 21:45:36 +0000 (00:45 +0300)
committerGitHub <redacted>
Fri, 18 Aug 2023 21:45:36 +0000 (05:45 +0800)
examples/server/public/index.html

index f204fff1890e09350b8766766c8affd7079ca245..5eedb0b287594268f4b3898da5f2657d3338ed61 100644 (file)
     import { SchemaConverter } from '/json-schema-to-grammar.mjs';
 
     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}}:",
       historyTemplate: "{{name}}: {{message}}",
       transcript: [],
       type: "chat",
-      char: "llama",
+      char: "Llama",
       user: "User",
     })