feat: #2144 improve input template

This commit is contained in:
Yidadaa
2023-06-26 13:18:59 +08:00
parent 5f7c262759
commit 5f0cda829f
3 changed files with 36 additions and 5 deletions

View File

@@ -54,3 +54,8 @@ export const OpenaiPath = {
};
export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang
export const DEFAULT_SYSTEM_TEMPLATE = `
You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: 2021-09
Current model: {{model}}
Current time: {{time}}`;