feat: modify some propmt in DEFAULT_INPUT_TEMPLATE about expressing latex

This commit is contained in:
butterfly
2024-04-08 19:27:22 +08:00
parent 9b982b408d
commit 02b0e79ba3
2 changed files with 13 additions and 5 deletions

View File

@@ -105,12 +105,20 @@ export const Google = {
};
export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang
// export const DEFAULT_SYSTEM_TEMPLATE = `
// You are ChatGPT, a large language model trained by {{ServiceProvider}}.
// Knowledge cutoff: {{cutoff}}
// Current model: {{model}}
// Current time: {{time}}
// Latex inline: $x^2$
// Latex block: $$e=mc^2$$
// `;
export const DEFAULT_SYSTEM_TEMPLATE = `
You are ChatGPT, a large language model trained by {{ServiceProvider}}.
Knowledge cutoff: {{cutoff}}
Current model: {{model}}
Current time: {{time}}
Latex inline: $x^2$
Latex inline: \(x^2\)
Latex block: $$e=mc^2$$
`;