mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-15 21:43:45 +08:00
Update cn.ts
This commit is contained in:
@@ -1,6 +1,65 @@
|
||||
import { BuiltinMask } from "./typing";
|
||||
|
||||
export const CN_MASKS: BuiltinMask[] = [
|
||||
{
|
||||
avatar: "1f468-200d-1f4bb",
|
||||
name: "代码解释",
|
||||
context: [
|
||||
{
|
||||
id: "xEmmKgTS6NdMc7Bjjdi82",
|
||||
date: "",
|
||||
role: "user",
|
||||
content: "你将作为一名开发工程师帮我完成代码解释工作",
|
||||
}
|
||||
],
|
||||
modelConfig: {
|
||||
model: "gpt-4o-mini",
|
||||
temperature: 0.5,
|
||||
max_tokens: 4000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
template: "解释这段代码{{input}}",
|
||||
},
|
||||
lang: "cn",
|
||||
builtin: true,
|
||||
createdAt: 1742119246449,
|
||||
},
|
||||
{
|
||||
avatar: "1f1e8-1f1f3",
|
||||
name: "翻译官",
|
||||
context: [
|
||||
{
|
||||
id: "-3TXDkhfTIGCjJpGavBw_",
|
||||
date: "",
|
||||
role: "assistant",
|
||||
content: "输入格式为第一行要翻译的语言,第二行为内容。也可以在面具设置里预输入文字的“文字翻译为”后面预先加入要翻译的语言,后续可以直接输入内容翻译不需要在第一行设置语言"
|
||||
},
|
||||
{
|
||||
id: "-3TXDkhfTIGCjJpGavBw_",
|
||||
date: "",
|
||||
role: "user",
|
||||
content: "你将作为一名合格的翻译官将我的文字翻译成各种语言",
|
||||
}
|
||||
],
|
||||
modelConfig: {
|
||||
model: "gpt-4o-mini",
|
||||
temperature: 0.5,
|
||||
max_tokens: 4000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
template: "结果返回代码格式,将后面的文字翻译为{{input}}",
|
||||
},
|
||||
lang: "cn",
|
||||
builtin: true,
|
||||
createdAt: 1742114808271,
|
||||
hideContext: false,
|
||||
},
|
||||
{
|
||||
avatar: "1f5bc-fe0f",
|
||||
name: "AI文生图",
|
||||
|
||||
@@ -1,6 +1,65 @@
|
||||
import { BuiltinMask } from "./typing";
|
||||
|
||||
export const EN_MASKS: BuiltinMask[] = [
|
||||
{
|
||||
avatar: "1f468-200d-1f4bb",
|
||||
name: "Code Explanation",
|
||||
context: [
|
||||
{
|
||||
id: "xEmmKgTS6NdMc7Bjjdi82",
|
||||
date: "",
|
||||
role: "user",
|
||||
content: "You will act as a development engineer to help me complete the code explanation work.",
|
||||
}
|
||||
],
|
||||
modelConfig: {
|
||||
model: "gpt-4o-mini",
|
||||
temperature: 0.5,
|
||||
max_tokens: 4000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
template: "Explain this piece of code.{{input}}",
|
||||
},
|
||||
lang: "en",
|
||||
builtin: true,
|
||||
createdAt: 1742119246449,
|
||||
},
|
||||
{
|
||||
avatar: "1f1e8-1f1f3",
|
||||
name: "Translator",
|
||||
context: [
|
||||
{
|
||||
id: "-3TXDkhfTIGCjJpGavBw_",
|
||||
date: "",
|
||||
role: "assistant",
|
||||
content: "You can also pre-enter the text 'Translate to' in the mask settings, followed by the language you want to translate to. Afterwards, you can directly input content for translation without needing to set the language in the first line."
|
||||
},
|
||||
{
|
||||
id: "-3TXDkhfTIGCjJpGavBw_",
|
||||
date: "",
|
||||
role: "user",
|
||||
content: "You will act as a qualified translator to translate my text into various languages.",
|
||||
}
|
||||
],
|
||||
modelConfig: {
|
||||
model: "gpt-4o-mini",
|
||||
temperature: 0.5,
|
||||
max_tokens: 4000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
template: "Return the result in code format, translating the following text to{{input}}",
|
||||
},
|
||||
lang: "en",
|
||||
builtin: true,
|
||||
createdAt: 1742114808271,
|
||||
hideContext: false,
|
||||
},
|
||||
{
|
||||
avatar: "1f47e",
|
||||
name: "GitHub Copilot",
|
||||
|
||||
@@ -1,6 +1,65 @@
|
||||
import { BuiltinMask } from "./typing";
|
||||
|
||||
export const TW_MASKS: BuiltinMask[] = [
|
||||
{
|
||||
avatar: "1f468-200d-1f4bb",
|
||||
name: "程式碼解釋",
|
||||
context: [
|
||||
{
|
||||
id: "xEmmKgTS6NdMc7Bjjdi82",
|
||||
date: "",
|
||||
role: "user",
|
||||
content: "你將作為一名開發工程師幫我完成程式碼解釋工作",
|
||||
}
|
||||
],
|
||||
modelConfig: {
|
||||
model: "gpt-4o-mini",
|
||||
temperature: 0.5,
|
||||
max_tokens: 4000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
template: "解釋這段程式碼{{input}}",
|
||||
},
|
||||
lang: "cn",
|
||||
builtin: true,
|
||||
createdAt: 1742119246449,
|
||||
},
|
||||
{
|
||||
avatar: "1f1e8-1f1f3",
|
||||
name: "翻譯官",
|
||||
context: [
|
||||
{
|
||||
id: "-3TXDkhfTIGCjJpGavBw_",
|
||||
date: "",
|
||||
role: "assistant",
|
||||
content: "輸入格式為第一行要翻譯的語言,第二行為內容。也可以在面具設定裡預輸入文字的“文字翻譯為”後面預先加入要翻譯的語言,後續可以直接輸入內容翻譯不需要在第一行設定語言。"
|
||||
},
|
||||
{
|
||||
id: "-3TXDkhfTIGCjJpGavBw_",
|
||||
date: "",
|
||||
role: "user",
|
||||
content: "你將作為一名合格的翻譯官將我的文字翻譯成各種語言",
|
||||
}
|
||||
],
|
||||
modelConfig: {
|
||||
model: "gpt-4o-mini",
|
||||
temperature: 0.5,
|
||||
max_tokens: 4000,
|
||||
presence_penalty: 0,
|
||||
frequency_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
template: "結果返回程式碼格式,將後面的文字翻譯為{{input}}",
|
||||
},
|
||||
lang: "cn",
|
||||
builtin: true,
|
||||
createdAt: 1742114808271,
|
||||
hideContext: false,
|
||||
},
|
||||
{
|
||||
avatar: "1f5bc-fe0f",
|
||||
name: "以文搜圖",
|
||||
|
||||
Reference in New Issue
Block a user