-
Notifications
You must be signed in to change notification settings - Fork 102
/
lorebook.json
283 lines (283 loc) · 6.27 KB
/
lorebook.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
{
"last_node_id": 25,
"last_link_id": 38,
"nodes": [
{
"id": 11,
"type": "show_text_party",
"pos": [
1385,
280
],
"size": {
"0": 454.6876220703125,
"1": 290.2985534667969
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 37,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "show_text_party"
},
"widgets_values": [
"",
"LLM Party 是一个基于 ComfyUI 的工具集,旨在帮助用户快速构建和集成大语言模型(LLM)工作流。ComfyUI 是一个用户友好的界面,允许用户以可视化的方式创建和管理复杂的机器学习和人工智能项目。\n\nLLM Party 的主要特点包括:\n\n1. **易于使用**:通过可视化界面,用户可以轻松地设计和调整大语言模型的工作流程,而无需深入编程。\n\n2. **灵活性**:支持多种大语言模型,用户可以根据自己的需求选择合适的模型进行集成。\n\n3. **高效性**:提供了一系列预设的组件和工具,帮助用户快速搭建工作流,减少开发时间。\n\n4. **社区支持**:通常具有活跃的用户社区,用户可以共享经验、组件和最佳实践,从而进一步提高工作效率。\n\n总之,LLM Party 是一个旨在简化大语言模型开发和集成过程的工具,适合各种水平的用户,从初学者到经验丰富的开发者都能从中受益。"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 23,
"type": "LLM_api_loader",
"pos": [
462,
236
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "model",
"type": "CUSTOM",
"links": [
36
],
"slot_index": 0,
"shape": 3,
"label": "model"
}
],
"properties": {
"Node name for S&R": "LLM_api_loader"
},
"widgets_values": [
"gpt-4o-mini",
"",
"",
false
]
},
{
"id": 24,
"type": "LLM",
"pos": [
896,
276
],
"size": {
"0": 444.24951171875,
"1": 548.9947509765625
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "CUSTOM",
"link": 36,
"label": "model"
},
{
"name": "images",
"type": "IMAGE",
"link": null,
"label": "images"
},
{
"name": "extra_parameters",
"type": "DICT",
"link": null,
"label": "extra_parameters"
},
{
"name": "system_prompt_input",
"type": "STRING",
"link": null,
"widget": {
"name": "system_prompt_input"
},
"label": "system_prompt_input"
},
{
"name": "user_prompt_input",
"type": "STRING",
"link": 38,
"widget": {
"name": "user_prompt_input"
},
"label": "user_prompt_input"
},
{
"name": "tools",
"type": "STRING",
"link": null,
"widget": {
"name": "tools"
},
"label": "tools"
},
{
"name": "file_content",
"type": "STRING",
"link": null,
"widget": {
"name": "file_content"
},
"label": "file_content"
}
],
"outputs": [
{
"name": "assistant_response",
"type": "STRING",
"links": [
37
],
"slot_index": 0,
"shape": 3,
"label": "assistant_response"
},
{
"name": "history",
"type": "STRING",
"links": null,
"shape": 3,
"label": "history"
},
{
"name": "tool",
"type": "STRING",
"links": null,
"shape": 3,
"label": "tool"
},
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3,
"label": "image"
}
],
"properties": {
"Node name for S&R": "LLM"
},
"widgets_values": [
"你一个强大的人工智能助手。",
"",
0.7,
"enable",
"disable",
"disable",
"enable",
1920,
"",
"",
"",
"",
"",
100,
"",
true
]
},
{
"id": 25,
"type": "Lorebook",
"pos": [
444,
451
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "user_prompt",
"type": "STRING",
"links": [
38
],
"shape": 3,
"label": "user_prompt",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Lorebook"
},
"widgets_values": [
"什么是LLM party?",
"lorebook:Lorebook(也称为世界信息或Memory Books)是一种工具,用于增强AI对世界细节的理解。\nLLM party:ComfyUI LLM Party 是一个基于 ComfyUI 的工具集,旨在帮助用户快速构建和集成大语言模型(LLM)工作流。"
]
}
],
"links": [
[
36,
23,
0,
24,
0,
"CUSTOM"
],
[
37,
24,
0,
11,
0,
"STRING"
],
[
38,
25,
0,
24,
4,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-425.3878523950058,
-170.14520042527022
]
}
},
"version": 0.4
}