perf: 默认 systemMessage
This commit is contained in:
parent
40fa028408
commit
b241240fc6
|
@ -7,9 +7,8 @@ export interface SettingsState {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function defaultSetting(): SettingsState {
|
export function defaultSetting(): SettingsState {
|
||||||
const currentDate = new Date().toISOString().split('T')[0]
|
|
||||||
return {
|
return {
|
||||||
systemMessage: `You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible.\nKnowledge cutoff: 2021-09-01\nCurrent date: ${currentDate}`,
|
systemMessage: 'You are ChatGPT, a large language model trained by OpenAI. Follow the user\'s instructions carefully. Respond using markdown.',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue