Skip to content

Commit bb99c35

Browse files
authored
Merge pull request #44 from AGIUI/dev0.3.5-i18n
Dev0.3.5 i18n
2 parents bf37190 + d5ff1d3 commit bb99c35

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3400
-2190
lines changed

README.md

Lines changed: 82 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -69,50 +69,100 @@ npm run build [browser]
6969

7070

7171
## Combo的一些示例
72+
[示例1:漫画生成](/examples/combo/%E6%BC%AB%E7%94%BB%E7%94%9F%E6%88%90_hxTElLdYiylK18tU5cPtf.json)
7273

73-
待更新
74+
[示例2:sd图像生成API](/examples/combo/sd%E5%9B%BE%E5%83%8F%E7%94%9F%E6%88%90API_4c35df6f7513b1ed1926b9b7b1415ab3.json)
7475

75-
<!-- [示例1:获取微博信息-创作科幻故事.json](/examples/example01.json)
76+
[示例3:提取邮件信息](/examples/combo/%E6%8F%90%E5%8F%96%E9%82%AE%E4%BB%B6%E4%BF%A1%E6%81%AF_2f77d6ca8eaec9534233812874e6f202.json)
7677

77-
[示例2:获取微博最新消息,写一个访谈提纲](/examples/example02.json)
78-
79-
[示例3:chirper上的shadowai行为解读](/examples/example03.json) -->
78+
[示例4:知识星球助手](/examples/combo/%E7%9F%A5%E8%AF%86%E6%98%9F%E7%90%83%E5%8A%A9%E6%89%8B_mFnsueSPO86CkHudr6sD2.json)
8079

8180

8281
## combo的数据示例
8382
```
84-
[{
85-
"interfaces": [],
86-
"combo": 3,
87-
"id": "1881e7d386e",
88-
"isInfinite": false,
89-
"owner": "user",
90-
"prompt": {
91-
"input":'default',
92-
"output": 'default',
93-
"agent":'default'
94-
"api": {},
95-
"queryObj": {
96-
"isQuery": false,
97-
"query": "",
98-
"url": ""
83+
[
84+
{
85+
"tag": "提取邮件信息",
86+
"role": {
87+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
88+
},
89+
"combo": 3,
90+
"interfaces": [
91+
"showInChat",
92+
"contextMenus",
93+
"home"
94+
],
95+
"isInfinite": false,
96+
"owner": "user",
97+
"prompt": {
98+
"id": "prompt22f77d6ca8eaec9534233812874e6f202",
99+
"nextId": "prompt32f77d6ca8eaec9534233812874e6f202",
100+
"nodeInputId": "",
101+
"role": {
102+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
103+
},
104+
"text": "",
105+
"url": "",
106+
"queryObj": {
107+
"action": "default",
108+
"content": "bindCurrentPage",
109+
},
110+
"temperature": 0.6,
111+
"model": "ChatGPT",
112+
"input": "nodeInput",
113+
"translate": "default",
114+
"output": "default",
115+
"type": "queryRead"
99116
},
100-
"text": "给我一个科幻故事,和植物、机器人、爱情有关",
101-
temperature: 0.6,
102-
model: 'ChatGPT',
103-
},
104-
"prompt3": {
105-
"text": "嗯",
106-
temperature: 0.6,
107-
model: 'ChatGPT',
108-
},
109-
"role": "",
110-
"tag": "科幻故事"
111-
}]
117+
"version": "0.1.0",
118+
"app": "brainwave",
119+
"id": "2f77d6ca8eaec9534233812874e6f202",
120+
"createDate": 1686640915993,
121+
"prompt2": {
122+
"id": "prompt32f77d6ca8eaec9534233812874e6f202",
123+
"nextId": "prompt42f77d6ca8eaec9534233812874e6f202",
124+
"nodeInputId": "prompt22f77d6ca8eaec9534233812874e6f202",
125+
"role": {
126+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
127+
},
128+
"text": "用中文回答,提取摘要,时间、地点、人物、事件、链接等信息。",
129+
"temperature": 0.3,
130+
"model": "ChatGPT",
131+
"input": "nodeInput",
132+
"userInput": "",
133+
"translate": "translate-zh",
134+
"output": "markdown",
135+
"type": "prompt"
136+
},
137+
"prompt3": {
138+
"id": "prompt42f77d6ca8eaec9534233812874e6f202",
139+
"nextId": "",
140+
"nodeInputId": "prompt32f77d6ca8eaec9534233812874e6f202",
141+
"role": {
142+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
143+
},
144+
"text": "提取AI相关的信息,给这些信息评分,满分是5分,并写一句推荐文案推荐给我这个内容。输出格式:\n分数、AI信息、推荐文案",
145+
"temperature": 0.24,
146+
"model": "ChatGPT",
147+
"input": "nodeInput",
148+
"translate": "translate-zh",
149+
"output": "default",
150+
"type": "prompt"
151+
}
152+
}
153+
]
112154
```
113155

114156
## 版本记录
115157

158+
#### v0.3.5
159+
- 多国语言支持 i18n
160+
161+
- 提供若干combo示例
162+
163+
- 支持创建PPT
164+
165+
116166
#### v0.3.4
117167
- 增加整体调试功能
118168

README_EN.md

Lines changed: 91 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -72,48 +72,108 @@ npm run build [browser]
7272

7373
## Examples of Combos
7474

75-
To be updated
75+
[Example 1: Comic Generation](/examples/combo/%E6%BC%AB%E7%94%BB%E7%94%9F%E6%88%90_hxTElLdYiylK18tU5cPtf.json)
7676

77-
<!-- [示例1:获取微博信息-创作科幻故事.json](/examples/example01.json)
77+
[Example 2: SD Image Generation API](/examples/combo/sd%E5%9B%BE%E5%83%8F%E7%94%9F%E6%88%90API_4c35df6f7513b1ed1926b9b7b1415ab3.json)
7878

79-
[示例2:获取微博最新消息,写一个访谈提纲](/examples/example02.json)
79+
[Example 3: Extracting Email Information](/examples/combo/%E6%8F%90%E5%8F%96%E9%82%AE%E4%BB%B6%E4%BF%A1%E6%81%AF_2f77d6ca8eaec9534233812874e6f202.json)
80+
81+
<!-- [Example 4: Knowledge Planet Assistant](/examples/combo/%E7%9F%A5%E8%AF%86%E6%98%9F%E7%90%83%E5%8A%A9%E6%89%8B_mFnsueSPO86CkHudr6sD2.json) -->
8082

81-
[示例3:chirper上的shadowai行为解读](/examples/example03.json) -->
8283

8384

8485
## Example of Combo Data
8586
```
86-
[{
87-
"interfaces": [],
88-
"combo": 3,
89-
"id": "1881e7d386e",
90-
"isInfinite": false,
91-
"owner": "user",
92-
"prompt": {
93-
"input":'default',
94-
"output": 'default',
95-
"agent":'default'
96-
"api": {},
97-
"queryObj": {
98-
"isQuery": false,
99-
"query": "",
100-
"url": ""
87+
[
88+
{
89+
"tag": "提取邮件信息",
90+
"role": {
91+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
92+
},
93+
"combo": 3,
94+
"interfaces": [
95+
"showInChat",
96+
"contextMenus",
97+
"home"
98+
],
99+
"isInfinite": false,
100+
"owner": "user",
101+
"prompt": {
102+
"id": "prompt22f77d6ca8eaec9534233812874e6f202",
103+
"nextId": "prompt32f77d6ca8eaec9534233812874e6f202",
104+
"nodeInputId": "",
105+
"role": {
106+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
107+
},
108+
"text": "",
109+
"url": "",
110+
"queryObj": {
111+
"action": "default",
112+
"content": "bindCurrentPage",
113+
},
114+
"temperature": 0.6,
115+
"model": "ChatGPT",
116+
"input": "nodeInput",
117+
"translate": "default",
118+
"output": "default",
119+
"type": "queryRead"
120+
},
121+
"version": "0.1.0",
122+
"app": "brainwave",
123+
"id": "2f77d6ca8eaec9534233812874e6f202",
124+
"createDate": 1686640915993,
125+
"prompt2": {
126+
"id": "prompt32f77d6ca8eaec9534233812874e6f202",
127+
"nextId": "prompt42f77d6ca8eaec9534233812874e6f202",
128+
"nodeInputId": "prompt22f77d6ca8eaec9534233812874e6f202",
129+
"role": {
130+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
131+
},
132+
"text": "用中文回答,提取摘要,时间、地点、人物、事件、链接等信息。",
133+
"temperature": 0.3,
134+
"model": "ChatGPT",
135+
"input": "nodeInput",
136+
"userInput": "",
137+
"translate": "translate-zh",
138+
"output": "markdown",
139+
"type": "prompt"
101140
},
102-
"text": "给我一个科幻故事,和植物、机器人、爱情有关",
103-
temperature: 0.6,
104-
model: 'ChatGPT',
105-
},
106-
"prompt3": {
107-
"text": "嗯",
108-
temperature: 0.6,
109-
model: 'ChatGPT',
110-
},
111-
"role": "",
112-
"tag": "科幻故事"
113-
}]
141+
"prompt3": {
142+
"id": "prompt42f77d6ca8eaec9534233812874e6f202",
143+
"nextId": "",
144+
"nodeInputId": "prompt32f77d6ca8eaec9534233812874e6f202",
145+
"role": {
146+
"text": "麦肯锡咨询专家,掌握了非常多的方法,擅长分析整理信息。"
147+
},
148+
"text": "提取AI相关的信息,给这些信息评分,满分是5分,并写一句推荐文案推荐给我这个内容。输出格式:\n分数、AI信息、推荐文案",
149+
"temperature": 0.24,
150+
"model": "ChatGPT",
151+
"input": "nodeInput",
152+
"translate": "translate-zh",
153+
"output": "default",
154+
"type": "prompt"
155+
}
156+
}
157+
]
114158
```
115159

116160
## Version History
161+
#### v0.3.5
162+
- Added i18n support for multiple languages.
163+
164+
- Provided several combo examples.
165+
166+
- Added support for creating PPT.
167+
168+
#### v0.3.4
169+
- Added overall debugging function.
170+
171+
- Debugging window can be collapsed and displayed.
172+
173+
- Allowed free connection.
174+
175+
- Implemented nodes.
176+
117177
#### v0.3.3
118178
- Removed newtab feature
119179

examples/40eb6df96edbe9fe1c5c5dfe07f07c66.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)