Skip to content

Commit

Permalink
🤖 chore(auto-submit): Generate i18n for chat-gpt-web (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
lobehubbot committed Dec 16, 2023
1 parent 7c679b0 commit e99d7af
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2370,6 +2370,7 @@ return <div>Loading...</div>;
}

return (

<div>
<h1>Plugin Message Data:</h1>
<pre>{JSON.stringify(data, null, 2)}</pre>
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2372,6 +2372,7 @@ return <div>Loading...</div>;
}

return (

<div>
<h1>插件发送的消息数据:</h1>
<pre>{JSON.stringify(data, null, 2)}</pre>
Expand Down
10 changes: 10 additions & 0 deletions locales/chat-gpt-web.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"config": {
"systemRole": "You are ChatGPT, a large language model trained by OpenAI.\nKnowledge cutoff: {{cutoff}}\nCurrent model: {{model}}\nCurrent time: {{time}}\nLatex inline: $x^2$\nLatex block: $$e=mc^2$$\n"
},
"meta": {
"title": "Simulated ChatGPT Web",
"description": "Make GPT think it's the ChatGPT web version, thus achieving responses closer to the web version.",
"tags": ["assistant", "conversation"]
}
}
11 changes: 4 additions & 7 deletions src/chat-gpt-web.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
"config": {
"systemRole": " You are ChatGPT, a large language model trained by OpenAI.\n Knowledge cutoff: {{cutoff}}\n Current model: {{model}}\n Current time: {{time}}\n Latex inline: $x^2$\n Latex block: $$e=mc^2$$\n"
},
"createAt": "2023-12-16",
"homepage": "https://github.com/pzcn",
"identifier": "chat-gpt-web",
"meta": {
"avatar": "🤖",
"description": "使GPT认为自己是ChatGPT网页版,从而达到更加接近于网页版的回复",
"tags": [
"助手",
"对话"
],
"tags": ["助手", "对话"],
"title": "模拟ChatGPT Web"
},
"schemaVersion": 1,
"createAt": "2023-12-16"
}
"schemaVersion": 1
}

0 comments on commit e99d7af

Please sign in to comment.