Skip to content

Commit 2462f4b

Browse files
committed
chore: update appcast.json and info.json
1 parent c7c6c66 commit 2462f4b

File tree

2 files changed

+93
-86
lines changed

2 files changed

+93
-86
lines changed

appcast.json

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"identifier": "xyz.yetone.openai.polisher",
33
"versions": [
4+
{
5+
"version": "0.2.0",
6+
"desc": "fix(ci): add permissions",
7+
"sha256": "1138da2e03ab8209722cc8bb4c7ecddb7aedc3acd77e7b3ca573400ad801e1a8",
8+
"url": "https://github.com/yetone/bob-plugin-openai-polisher/releases/download/v0.2.0/openai-polisher-0.2.0.bobplugin",
9+
"minBobVersion": "0.5.0"
10+
},
411
{
512
"version": "0.1.0",
613
"desc": "Support custom prompt",

src/info.json

+86-86
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,102 @@
11
{
2-
"identifier": "xyz.yetone.openai.polisher",
3-
"version": "0.1.0",
4-
"category": "translate",
5-
"name": "OpenAI Polisher",
6-
"summary": "GPT powered polisher",
7-
"icon": "",
8-
"author": "yetone <[email protected]>",
9-
"homepage": "https://github.com/yetone/bob-plugin-openai-polisher",
10-
"appcast": "https://raw.githubusercontent.com/yetone/bob-plugin-openai-polisher/main/appcast.json",
11-
"minBobVersion": "0.5.0",
12-
"options": [
2+
"identifier": "xyz.yetone.openai.polisher",
3+
"version": "0.2.0",
4+
"category": "translate",
5+
"name": "OpenAI Polisher",
6+
"summary": "GPT powered polisher",
7+
"icon": "",
8+
"author": "yetone <[email protected]>",
9+
"homepage": "https://github.com/yetone/bob-plugin-openai-polisher",
10+
"appcast": "https://raw.githubusercontent.com/yetone/bob-plugin-openai-polisher/main/appcast.json",
11+
"minBobVersion": "0.5.0",
12+
"options": [
13+
{
14+
"identifier": "apiUrl",
15+
"type": "text",
16+
"title": "API URL",
17+
"defaultValue": "https://api.openai.com",
18+
"desc": "可选项。如果您的网络环境需要代理才能访问 OpenAI API, 可在这里修改为反代 API 的地址,默认为 https://api.openai.com"
19+
},
20+
{
21+
"identifier": "deploymentName",
22+
"type": "text",
23+
"title": "Dep. Name",
24+
"desc": "可选项。如果您使用的是 Azure OpenAI Service,需要填写对应的 deployment ID"
25+
},
26+
{
27+
"identifier": "apiKeys",
28+
"type": "text",
29+
"title": "API KEY",
30+
"desc": "必填项。可以用英文逗号分割多个 API KEY 以实现额度加倍及负载均衡"
31+
},
32+
{
33+
"identifier": "model",
34+
"type": "menu",
35+
"title": "模型",
36+
"defaultValue": "gpt-3.5-turbo",
37+
"menuValues": [
1338
{
14-
"identifier": "apiUrl",
15-
"type": "text",
16-
"title": "API URL",
17-
"defaultValue": "https://api.openai.com",
18-
"desc": "可选项。如果您的网络环境需要代理才能访问 OpenAI API, 可在这里修改为反代 API 的地址,默认为 https://api.openai.com"
39+
"title": "gpt-3.5-turbo-0301",
40+
"value": "gpt-3.5-turbo-0301"
1941
},
2042
{
21-
"identifier": "deploymentName",
22-
"type": "text",
23-
"title": "Dep. Name",
24-
"desc": "可选项。如果您使用的是 Azure OpenAI Service,需要填写对应的 deployment ID"
43+
"title": "gpt-3.5-turbo (recommended)",
44+
"value": "gpt-3.5-turbo"
2545
},
2646
{
27-
"identifier": "apiKeys",
28-
"type": "text",
29-
"title": "API KEY",
30-
"desc": "必填项。可以用英文逗号分割多个 API KEY 以实现额度加倍及负载均衡"
47+
"title": "gpt-4",
48+
"value": "gpt-4"
3149
},
3250
{
33-
"identifier": "model",
34-
"type": "menu",
35-
"title": "模型",
36-
"defaultValue": "gpt-3.5-turbo",
37-
"menuValues": [
38-
{
39-
"title": "gpt-3.5-turbo-0301",
40-
"value": "gpt-3.5-turbo-0301"
41-
},
42-
{
43-
"title": "gpt-3.5-turbo (recommended)",
44-
"value": "gpt-3.5-turbo"
45-
},
46-
{
47-
"title": "gpt-4",
48-
"value": "gpt-4"
49-
},
50-
{
51-
"title": "gpt-4-0314",
52-
"value": "gpt-4-0314"
53-
},
54-
{
55-
"title": "gpt-4-32k",
56-
"value": "gpt-4-32k"
57-
},
58-
{
59-
"title": "gpt-4-32k-0314",
60-
"value": "gpt-4-32k-0314"
61-
},
62-
{
63-
"title": "text-davinci-003",
64-
"value": "text-davinci-003"
65-
},
66-
{
67-
"title": "text-davinci-002",
68-
"value": "text-davinci-002"
69-
}
70-
]
51+
"title": "gpt-4-0314",
52+
"value": "gpt-4-0314"
7153
},
7254
{
73-
"identifier": "customSystemPrompt",
74-
"type": "text",
75-
"title": "Sys PPT",
76-
"defaultValue": "Revise the following sentences to make them more clear, concise, and coherent.",
77-
"desc": "可选项。自定义 System Prompt;必须开启明文显示才可输入中文"
55+
"title": "gpt-4-32k",
56+
"value": "gpt-4-32k"
7857
},
7958
{
80-
"identifier": "customUserPrompt",
81-
"type": "text",
82-
"title": "User PPT",
83-
"desc": "可选项。自定义 User Prompt,输入内容会自动拼接在句尾"
59+
"title": "gpt-4-32k-0314",
60+
"value": "gpt-4-32k-0314"
8461
},
8562
{
86-
"identifier": "polishingMode",
87-
"type": "menu",
88-
"title": "润色模式",
89-
"defaultValue": "simplicity",
90-
"menuValues": [
91-
{
92-
"title": "简洁(只输出润色后的文本)",
93-
"value": "simplicity"
94-
},
95-
{
96-
"title": "详尽(附加解释修改原因)",
97-
"value": "detailed"
98-
}
99-
]
63+
"title": "text-davinci-003",
64+
"value": "text-davinci-003"
65+
},
66+
{
67+
"title": "text-davinci-002",
68+
"value": "text-davinci-002"
69+
}
70+
]
71+
},
72+
{
73+
"identifier": "customSystemPrompt",
74+
"type": "text",
75+
"title": "Sys PPT",
76+
"defaultValue": "Revise the following sentences to make them more clear, concise, and coherent.",
77+
"desc": "可选项。自定义 System Prompt;必须开启明文显示才可输入中文"
78+
},
79+
{
80+
"identifier": "customUserPrompt",
81+
"type": "text",
82+
"title": "User PPT",
83+
"desc": "可选项。自定义 User Prompt,输入内容会自动拼接在句尾"
84+
},
85+
{
86+
"identifier": "polishingMode",
87+
"type": "menu",
88+
"title": "润色模式",
89+
"defaultValue": "simplicity",
90+
"menuValues": [
91+
{
92+
"title": "简洁(只输出润色后的文本)",
93+
"value": "simplicity"
94+
},
95+
{
96+
"title": "详尽(附加解释修改原因)",
97+
"value": "detailed"
10098
}
101-
]
99+
]
100+
}
101+
]
102102
}

0 commit comments

Comments
 (0)