Spaces:
Running
Running
Reformatting the Workspaces
Browse files
examples/LynxScribe Image Search.lynxkite.json
CHANGED
@@ -15,18 +15,18 @@
|
|
15 |
"targetHandle": "image_descriptions"
|
16 |
},
|
17 |
{
|
18 |
-
"id": "
|
19 |
-
"source": "
|
20 |
"sourceHandle": "output",
|
21 |
"target": "LynxScribe Image RAG Query 1",
|
22 |
-
"targetHandle": "
|
23 |
},
|
24 |
{
|
25 |
-
"id": "
|
26 |
-
"source": "
|
27 |
"sourceHandle": "output",
|
28 |
"target": "LynxScribe Image RAG Query 1",
|
29 |
-
"targetHandle": "
|
30 |
},
|
31 |
{
|
32 |
"id": "LynxScribe Image RAG Query 1 LynxScribe Image Result Viewer 1",
|
@@ -38,57 +38,13 @@
|
|
38 |
],
|
39 |
"env": "LynxScribe",
|
40 |
"nodes": [
|
41 |
-
{
|
42 |
-
"data": {
|
43 |
-
"__execution_delay": 0.0,
|
44 |
-
"collapsed": false,
|
45 |
-
"display": null,
|
46 |
-
"error": null,
|
47 |
-
"meta": {
|
48 |
-
"inputs": {},
|
49 |
-
"name": "Input chat",
|
50 |
-
"outputs": {
|
51 |
-
"output": {
|
52 |
-
"name": "output",
|
53 |
-
"position": "right",
|
54 |
-
"type": {
|
55 |
-
"type": "None"
|
56 |
-
}
|
57 |
-
}
|
58 |
-
},
|
59 |
-
"params": {
|
60 |
-
"chat": {
|
61 |
-
"default": null,
|
62 |
-
"name": "chat",
|
63 |
-
"type": {
|
64 |
-
"type": "<class 'str'>"
|
65 |
-
}
|
66 |
-
}
|
67 |
-
},
|
68 |
-
"type": "basic"
|
69 |
-
},
|
70 |
-
"params": {
|
71 |
-
"chat": "show me a picture about cyclists"
|
72 |
-
},
|
73 |
-
"status": "done",
|
74 |
-
"title": "Input chat"
|
75 |
-
},
|
76 |
-
"dragHandle": ".bg-primary",
|
77 |
-
"height": 214.0,
|
78 |
-
"id": "Input chat 1",
|
79 |
-
"position": {
|
80 |
-
"x": 51.51211115780683,
|
81 |
-
"y": -147.75474103115954
|
82 |
-
},
|
83 |
-
"type": "basic",
|
84 |
-
"width": 387.0
|
85 |
-
},
|
86 |
{
|
87 |
"data": {
|
88 |
"__execution_delay": 0.0,
|
89 |
"collapsed": null,
|
90 |
"display": null,
|
91 |
"error": null,
|
|
|
92 |
"meta": {
|
93 |
"inputs": {},
|
94 |
"name": "Cloud-sourced File Listing",
|
@@ -113,7 +69,11 @@
|
|
113 |
"default": "gcp",
|
114 |
"name": "cloud_provider",
|
115 |
"type": {
|
116 |
-
"enum": [
|
|
|
|
|
|
|
|
|
117 |
}
|
118 |
},
|
119 |
"folder_URL": {
|
@@ -124,10 +84,6 @@
|
|
124 |
}
|
125 |
}
|
126 |
},
|
127 |
-
"position": {
|
128 |
-
"x": 1271.0,
|
129 |
-
"y": 603.0
|
130 |
-
},
|
131 |
"type": "basic"
|
132 |
},
|
133 |
"params": {
|
@@ -139,21 +95,20 @@
|
|
139 |
"title": "Cloud-sourced File Listing"
|
140 |
},
|
141 |
"dragHandle": ".bg-primary",
|
142 |
-
"height":
|
143 |
"id": "Cloud-sourced File Listing 1",
|
144 |
"position": {
|
145 |
-
"x": -
|
146 |
-
"y":
|
147 |
},
|
148 |
"type": "basic",
|
149 |
-
"width":
|
150 |
},
|
151 |
{
|
152 |
"data": {
|
153 |
-
"__execution_delay": 0.0,
|
154 |
-
"collapsed": null,
|
155 |
"display": null,
|
156 |
"error": null,
|
|
|
157 |
"meta": {
|
158 |
"inputs": {
|
159 |
"file_urls": {
|
@@ -204,10 +159,6 @@
|
|
204 |
}
|
205 |
}
|
206 |
},
|
207 |
-
"position": {
|
208 |
-
"x": 1331.0,
|
209 |
-
"y": 686.0
|
210 |
-
},
|
211 |
"type": "basic"
|
212 |
},
|
213 |
"params": {
|
@@ -220,21 +171,20 @@
|
|
220 |
"title": "LynxScribe Image Describer"
|
221 |
},
|
222 |
"dragHandle": ".bg-primary",
|
223 |
-
"height":
|
224 |
"id": "LynxScribe Image Describer 1",
|
225 |
"position": {
|
226 |
-
"x":
|
227 |
-
"y":
|
228 |
},
|
229 |
"type": "basic",
|
230 |
-
"width":
|
231 |
},
|
232 |
{
|
233 |
"data": {
|
234 |
-
"__execution_delay": 0.0,
|
235 |
-
"collapsed": null,
|
236 |
"display": null,
|
237 |
"error": null,
|
|
|
238 |
"meta": {
|
239 |
"inputs": {
|
240 |
"image_descriptions": {
|
@@ -292,31 +242,27 @@
|
|
292 |
}
|
293 |
}
|
294 |
},
|
295 |
-
"position": {
|
296 |
-
"x": 1714.0,
|
297 |
-
"y": 740.0
|
298 |
-
},
|
299 |
"type": "basic"
|
300 |
},
|
301 |
"params": {
|
302 |
"text_embedder_interface": "openai",
|
303 |
"text_embedder_model_name_or_path": "text-embedding-3-large",
|
304 |
"vdb_collection_name": "lynx",
|
305 |
-
"vdb_num_dimensions":
|
306 |
"vdb_provider_name": "faiss"
|
307 |
},
|
308 |
"status": "done",
|
309 |
"title": "LynxScribe Image RAG Builder"
|
310 |
},
|
311 |
"dragHandle": ".bg-primary",
|
312 |
-
"height":
|
313 |
"id": "LynxScribe Image RAG Builder 1",
|
314 |
"position": {
|
315 |
-
"x":
|
316 |
-
"y":
|
317 |
},
|
318 |
"type": "basic",
|
319 |
-
"width":
|
320 |
},
|
321 |
{
|
322 |
"data": {
|
@@ -324,6 +270,55 @@
|
|
324 |
"collapsed": null,
|
325 |
"display": null,
|
326 |
"error": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
"meta": {
|
328 |
"inputs": {
|
329 |
"rag_graph": {
|
@@ -361,31 +356,32 @@
|
|
361 |
}
|
362 |
},
|
363 |
"position": {
|
364 |
-
"x":
|
365 |
-
"y":
|
366 |
},
|
367 |
"type": "basic"
|
368 |
},
|
369 |
"params": {
|
370 |
-
"top_k":
|
371 |
},
|
372 |
"status": "done",
|
373 |
"title": "LynxScribe Image RAG Query"
|
374 |
},
|
375 |
"dragHandle": ".bg-primary",
|
376 |
-
"height":
|
377 |
"id": "LynxScribe Image RAG Query 1",
|
378 |
"position": {
|
379 |
-
"x":
|
380 |
-
"y": -
|
381 |
},
|
382 |
"type": "basic",
|
383 |
-
"width":
|
384 |
},
|
385 |
{
|
386 |
"data": {
|
387 |
-
"display": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-images/image-rag-test/
|
388 |
"error": null,
|
|
|
389 |
"meta": {
|
390 |
"inputs": {
|
391 |
"embedding_similarities": {
|
@@ -400,8 +396,8 @@
|
|
400 |
"outputs": {},
|
401 |
"params": {},
|
402 |
"position": {
|
403 |
-
"x":
|
404 |
-
"y":
|
405 |
},
|
406 |
"type": "image"
|
407 |
},
|
@@ -410,14 +406,14 @@
|
|
410 |
"title": "LynxScribe Image Result Viewer"
|
411 |
},
|
412 |
"dragHandle": ".bg-primary",
|
413 |
-
"height":
|
414 |
"id": "LynxScribe Image Result Viewer 1",
|
415 |
"position": {
|
416 |
-
"x":
|
417 |
-
"y": -
|
418 |
},
|
419 |
"type": "image",
|
420 |
-
"width":
|
421 |
}
|
422 |
]
|
423 |
}
|
|
|
15 |
"targetHandle": "image_descriptions"
|
16 |
},
|
17 |
{
|
18 |
+
"id": "Input chat 1 LynxScribe Image RAG Query 1",
|
19 |
+
"source": "Input chat 1",
|
20 |
"sourceHandle": "output",
|
21 |
"target": "LynxScribe Image RAG Query 1",
|
22 |
+
"targetHandle": "text"
|
23 |
},
|
24 |
{
|
25 |
+
"id": "LynxScribe Image RAG Builder 1 LynxScribe Image RAG Query 1",
|
26 |
+
"source": "LynxScribe Image RAG Builder 1",
|
27 |
"sourceHandle": "output",
|
28 |
"target": "LynxScribe Image RAG Query 1",
|
29 |
+
"targetHandle": "rag_graph"
|
30 |
},
|
31 |
{
|
32 |
"id": "LynxScribe Image RAG Query 1 LynxScribe Image Result Viewer 1",
|
|
|
38 |
],
|
39 |
"env": "LynxScribe",
|
40 |
"nodes": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
{
|
42 |
"data": {
|
43 |
"__execution_delay": 0.0,
|
44 |
"collapsed": null,
|
45 |
"display": null,
|
46 |
"error": null,
|
47 |
+
"input_metadata": null,
|
48 |
"meta": {
|
49 |
"inputs": {},
|
50 |
"name": "Cloud-sourced File Listing",
|
|
|
69 |
"default": "gcp",
|
70 |
"name": "cloud_provider",
|
71 |
"type": {
|
72 |
+
"enum": [
|
73 |
+
"GCP",
|
74 |
+
"AWS",
|
75 |
+
"AZURE"
|
76 |
+
]
|
77 |
}
|
78 |
},
|
79 |
"folder_URL": {
|
|
|
84 |
}
|
85 |
}
|
86 |
},
|
|
|
|
|
|
|
|
|
87 |
"type": "basic"
|
88 |
},
|
89 |
"params": {
|
|
|
95 |
"title": "Cloud-sourced File Listing"
|
96 |
},
|
97 |
"dragHandle": ".bg-primary",
|
98 |
+
"height": 353.0,
|
99 |
"id": "Cloud-sourced File Listing 1",
|
100 |
"position": {
|
101 |
+
"x": -365.0,
|
102 |
+
"y": 302.0
|
103 |
},
|
104 |
"type": "basic",
|
105 |
+
"width": 430.0
|
106 |
},
|
107 |
{
|
108 |
"data": {
|
|
|
|
|
109 |
"display": null,
|
110 |
"error": null,
|
111 |
+
"input_metadata": null,
|
112 |
"meta": {
|
113 |
"inputs": {
|
114 |
"file_urls": {
|
|
|
159 |
}
|
160 |
}
|
161 |
},
|
|
|
|
|
|
|
|
|
162 |
"type": "basic"
|
163 |
},
|
164 |
"params": {
|
|
|
171 |
"title": "LynxScribe Image Describer"
|
172 |
},
|
173 |
"dragHandle": ".bg-primary",
|
174 |
+
"height": 361.0,
|
175 |
"id": "LynxScribe Image Describer 1",
|
176 |
"position": {
|
177 |
+
"x": 159.0,
|
178 |
+
"y": 298.0
|
179 |
},
|
180 |
"type": "basic",
|
181 |
+
"width": 371.0
|
182 |
},
|
183 |
{
|
184 |
"data": {
|
|
|
|
|
185 |
"display": null,
|
186 |
"error": null,
|
187 |
+
"input_metadata": null,
|
188 |
"meta": {
|
189 |
"inputs": {
|
190 |
"image_descriptions": {
|
|
|
242 |
}
|
243 |
}
|
244 |
},
|
|
|
|
|
|
|
|
|
245 |
"type": "basic"
|
246 |
},
|
247 |
"params": {
|
248 |
"text_embedder_interface": "openai",
|
249 |
"text_embedder_model_name_or_path": "text-embedding-3-large",
|
250 |
"vdb_collection_name": "lynx",
|
251 |
+
"vdb_num_dimensions": 3072.0,
|
252 |
"vdb_provider_name": "faiss"
|
253 |
},
|
254 |
"status": "done",
|
255 |
"title": "LynxScribe Image RAG Builder"
|
256 |
},
|
257 |
"dragHandle": ".bg-primary",
|
258 |
+
"height": 441.0,
|
259 |
"id": "LynxScribe Image RAG Builder 1",
|
260 |
"position": {
|
261 |
+
"x": 644.0,
|
262 |
+
"y": 259.0
|
263 |
},
|
264 |
"type": "basic",
|
265 |
+
"width": 291.0
|
266 |
},
|
267 |
{
|
268 |
"data": {
|
|
|
270 |
"collapsed": null,
|
271 |
"display": null,
|
272 |
"error": null,
|
273 |
+
"input_metadata": null,
|
274 |
+
"meta": {
|
275 |
+
"inputs": {},
|
276 |
+
"name": "Input chat",
|
277 |
+
"outputs": {
|
278 |
+
"output": {
|
279 |
+
"name": "output",
|
280 |
+
"position": "right",
|
281 |
+
"type": {
|
282 |
+
"type": "None"
|
283 |
+
}
|
284 |
+
}
|
285 |
+
},
|
286 |
+
"params": {
|
287 |
+
"chat": {
|
288 |
+
"default": null,
|
289 |
+
"name": "chat",
|
290 |
+
"type": {
|
291 |
+
"type": "<class 'str'>"
|
292 |
+
}
|
293 |
+
}
|
294 |
+
},
|
295 |
+
"position": {
|
296 |
+
"x": 1260.0,
|
297 |
+
"y": 166.0
|
298 |
+
},
|
299 |
+
"type": "basic"
|
300 |
+
},
|
301 |
+
"params": {
|
302 |
+
"chat": "Show me a picture about doctors and patients!"
|
303 |
+
},
|
304 |
+
"status": "done",
|
305 |
+
"title": "Input chat"
|
306 |
+
},
|
307 |
+
"dragHandle": ".bg-primary",
|
308 |
+
"height": 218.0,
|
309 |
+
"id": "Input chat 1",
|
310 |
+
"position": {
|
311 |
+
"x": 153.0,
|
312 |
+
"y": -47.0
|
313 |
+
},
|
314 |
+
"type": "basic",
|
315 |
+
"width": 776.0
|
316 |
+
},
|
317 |
+
{
|
318 |
+
"data": {
|
319 |
+
"display": null,
|
320 |
+
"error": null,
|
321 |
+
"input_metadata": null,
|
322 |
"meta": {
|
323 |
"inputs": {
|
324 |
"rag_graph": {
|
|
|
356 |
}
|
357 |
},
|
358 |
"position": {
|
359 |
+
"x": 1987.0,
|
360 |
+
"y": 365.0
|
361 |
},
|
362 |
"type": "basic"
|
363 |
},
|
364 |
"params": {
|
365 |
+
"top_k": 3.0
|
366 |
},
|
367 |
"status": "done",
|
368 |
"title": "LynxScribe Image RAG Query"
|
369 |
},
|
370 |
"dragHandle": ".bg-primary",
|
371 |
+
"height": 207.0,
|
372 |
"id": "LynxScribe Image RAG Query 1",
|
373 |
"position": {
|
374 |
+
"x": 1160.0,
|
375 |
+
"y": -40.0
|
376 |
},
|
377 |
"type": "basic",
|
378 |
+
"width": 283.0
|
379 |
},
|
380 |
{
|
381 |
"data": {
|
382 |
+
"display": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-images/image-rag-test/bethesda-naval-medical-center-80380_1280.jpg",
|
383 |
"error": null,
|
384 |
+
"input_metadata": null,
|
385 |
"meta": {
|
386 |
"inputs": {
|
387 |
"embedding_similarities": {
|
|
|
396 |
"outputs": {},
|
397 |
"params": {},
|
398 |
"position": {
|
399 |
+
"x": 2326.0,
|
400 |
+
"y": 319.0
|
401 |
},
|
402 |
"type": "image"
|
403 |
},
|
|
|
406 |
"title": "LynxScribe Image Result Viewer"
|
407 |
},
|
408 |
"dragHandle": ".bg-primary",
|
409 |
+
"height": 515.0,
|
410 |
"id": "LynxScribe Image Result Viewer 1",
|
411 |
"position": {
|
412 |
+
"x": 1657.0,
|
413 |
+
"y": -193.0
|
414 |
},
|
415 |
"type": "image",
|
416 |
+
"width": 707.0
|
417 |
}
|
418 |
]
|
419 |
}
|
examples/LynxScribe RAG Chatbot.lynxkite.json
CHANGED
@@ -1,46 +1,32 @@
|
|
1 |
{
|
2 |
"edges": [
|
3 |
{
|
4 |
-
"id": "
|
5 |
-
"source": "
|
6 |
-
"sourceHandle": "output",
|
7 |
-
"target": "Chat processor 1",
|
8 |
-
"targetHandle": "processor"
|
9 |
-
},
|
10 |
-
{
|
11 |
-
"id": "xy-edge__Mask 1output-Chat processor 1processor",
|
12 |
-
"source": "Mask 1",
|
13 |
-
"sourceHandle": "output",
|
14 |
-
"target": "Chat processor 1",
|
15 |
-
"targetHandle": "processor"
|
16 |
-
},
|
17 |
-
{
|
18 |
-
"id": "xy-edge__Mask 2output-Chat processor 1processor",
|
19 |
-
"source": "Mask 2",
|
20 |
"sourceHandle": "output",
|
21 |
-
"target": "
|
22 |
-
"targetHandle": "
|
23 |
},
|
24 |
{
|
25 |
-
"id": "
|
26 |
-
"source": "
|
27 |
"sourceHandle": "output",
|
28 |
-
"target": "
|
29 |
-
"targetHandle": "
|
30 |
},
|
31 |
{
|
32 |
-
"id": "
|
33 |
-
"source": "
|
34 |
"sourceHandle": "output",
|
35 |
-
"target": "
|
36 |
-
"targetHandle": "
|
37 |
},
|
38 |
{
|
39 |
-
"id": "
|
40 |
-
"source": "
|
41 |
"sourceHandle": "output",
|
42 |
-
"target": "
|
43 |
-
"targetHandle": "
|
44 |
},
|
45 |
{
|
46 |
"id": "Chat processor 1 LynxScribe RAG Graph Chatbot Backend 1",
|
@@ -50,25 +36,32 @@
|
|
50 |
"targetHandle": "chat_processor"
|
51 |
},
|
52 |
{
|
53 |
-
"id": "
|
54 |
-
"source": "
|
55 |
"sourceHandle": "output",
|
56 |
-
"target": "
|
57 |
-
"targetHandle": "
|
58 |
},
|
59 |
{
|
60 |
-
"id": "
|
61 |
-
"source": "
|
62 |
"sourceHandle": "output",
|
63 |
-
"target": "
|
64 |
-
"targetHandle": "
|
65 |
},
|
66 |
{
|
67 |
-
"id": "LynxScribe RAG Graph Chatbot
|
68 |
-
"source": "LynxScribe RAG Graph Chatbot
|
69 |
"sourceHandle": "output",
|
70 |
-
"target": "
|
71 |
-
"targetHandle": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
],
|
74 |
"env": "LynxScribe",
|
@@ -79,9 +72,10 @@
|
|
79 |
"collapsed": null,
|
80 |
"display": null,
|
81 |
"error": null,
|
|
|
82 |
"meta": {
|
83 |
"inputs": {},
|
84 |
-
"name": "
|
85 |
"outputs": {
|
86 |
"output": {
|
87 |
"name": "output",
|
@@ -92,364 +86,220 @@
|
|
92 |
}
|
93 |
},
|
94 |
"params": {
|
95 |
-
"
|
96 |
-
"default":
|
97 |
-
"name": "
|
98 |
"type": {
|
99 |
"type": "<class 'str'>"
|
100 |
}
|
101 |
-
}
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
"params": {
|
106 |
-
"chat": "Wgo is Gabor?"
|
107 |
-
},
|
108 |
-
"status": "done",
|
109 |
-
"title": "Input chat"
|
110 |
-
},
|
111 |
-
"dragHandle": ".bg-primary",
|
112 |
-
"height": 186.0,
|
113 |
-
"id": "Input chat 1",
|
114 |
-
"parentId": null,
|
115 |
-
"position": {
|
116 |
-
"x": -2606.8829929570456,
|
117 |
-
"y": -648.2654341415332
|
118 |
-
},
|
119 |
-
"type": "basic",
|
120 |
-
"width": 259.0
|
121 |
-
},
|
122 |
-
{
|
123 |
-
"data": {
|
124 |
-
"display": {
|
125 |
-
"dataframes": {
|
126 |
-
"df": {
|
127 |
-
"columns": ["answer"],
|
128 |
-
"data": [
|
129 |
-
[
|
130 |
-
"Lynx Analytics has two notable professionals named G\u00e1bor. Could you please specify which G\u00e1bor you are inquiring about?\n\n- **G\u00e1bor Benedek**: Chief Innovation Officer & Co-founder at Lynx Analytics. He specializes in economic and business simulations, social network analysis, data mining, and predictive analytics. He has an academic background as a former Associate Professor at Corvinus University of Budapest and has founded several data-related companies.\n\n- **G\u00e1bor Kriv\u00e1chy**: Country Manager at Lynx Analytics in Hungary. He is an experienced technology executive with a background in system implementation, integration, and project management, particularly in SAP implementations.\n\nLet me know which G\u00e1bor's details you would like to learn more about!"
|
131 |
-
]
|
132 |
-
]
|
133 |
-
}
|
134 |
-
}
|
135 |
-
},
|
136 |
-
"error": null,
|
137 |
-
"meta": {
|
138 |
-
"inputs": {
|
139 |
-
"input": {
|
140 |
-
"name": "input",
|
141 |
-
"position": "left",
|
142 |
"type": {
|
143 |
-
"
|
|
|
|
|
|
|
|
|
144 |
}
|
145 |
-
}
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
"params": {},
|
150 |
-
"type": "table_view"
|
151 |
-
},
|
152 |
-
"params": {},
|
153 |
-
"status": "done",
|
154 |
-
"title": "View"
|
155 |
-
},
|
156 |
-
"dragHandle": ".bg-primary",
|
157 |
-
"height": 950.0,
|
158 |
-
"id": "View 1",
|
159 |
-
"parentId": null,
|
160 |
-
"position": {
|
161 |
-
"x": -754.9225960536905,
|
162 |
-
"y": -643.161064357758
|
163 |
-
},
|
164 |
-
"type": "table_view",
|
165 |
-
"width": 1256.0
|
166 |
-
},
|
167 |
-
{
|
168 |
-
"data": {
|
169 |
-
"display": null,
|
170 |
-
"error": null,
|
171 |
-
"meta": {
|
172 |
-
"inputs": {},
|
173 |
-
"name": "Truncate history",
|
174 |
-
"outputs": {
|
175 |
-
"output": {
|
176 |
-
"name": "output",
|
177 |
-
"position": "top",
|
178 |
"type": {
|
179 |
-
"type": "
|
180 |
}
|
181 |
}
|
182 |
},
|
183 |
-
"
|
184 |
-
"
|
185 |
-
|
186 |
-
"name": "max_tokens",
|
187 |
-
"type": {
|
188 |
-
"type": "<class 'int'>"
|
189 |
-
}
|
190 |
-
}
|
191 |
},
|
192 |
"type": "basic"
|
193 |
},
|
194 |
"params": {
|
195 |
-
"
|
|
|
|
|
196 |
},
|
197 |
"status": "done",
|
198 |
-
"title": "
|
199 |
},
|
200 |
"dragHandle": ".bg-primary",
|
201 |
-
"height":
|
202 |
-
"id": "
|
203 |
-
"parentId": null,
|
204 |
"position": {
|
205 |
-
"x": -
|
206 |
-
"y":
|
207 |
},
|
208 |
"type": "basic",
|
209 |
-
"width":
|
210 |
},
|
211 |
{
|
212 |
"data": {
|
213 |
-
"__execution_delay":
|
214 |
-
"collapsed":
|
215 |
"display": null,
|
216 |
"error": null,
|
|
|
217 |
"meta": {
|
218 |
"inputs": {
|
219 |
-
"
|
220 |
-
"name": "
|
221 |
-
"position": "
|
222 |
"type": {
|
223 |
"type": "<class 'inspect._empty'>"
|
224 |
}
|
225 |
}
|
226 |
},
|
227 |
-
"name": "
|
228 |
-
"outputs": {
|
229 |
-
"output": {
|
230 |
-
"name": "output",
|
231 |
-
"position": "top",
|
232 |
-
"type": {
|
233 |
-
"type": "None"
|
234 |
-
}
|
235 |
-
}
|
236 |
-
},
|
237 |
-
"params": {},
|
238 |
-
"type": "basic"
|
239 |
-
},
|
240 |
-
"params": {},
|
241 |
-
"status": "done",
|
242 |
-
"title": "Chat processor"
|
243 |
-
},
|
244 |
-
"dragHandle": ".bg-primary",
|
245 |
-
"height": 89.0,
|
246 |
-
"id": "Chat processor 1",
|
247 |
-
"parentId": null,
|
248 |
-
"position": {
|
249 |
-
"x": -1527.1027075359414,
|
250 |
-
"y": 605.2129408898476
|
251 |
-
},
|
252 |
-
"type": "basic",
|
253 |
-
"width": 416.0
|
254 |
-
},
|
255 |
-
{
|
256 |
-
"data": {
|
257 |
-
"__execution_delay": 0.0,
|
258 |
-
"collapsed": null,
|
259 |
-
"display": null,
|
260 |
-
"error": null,
|
261 |
-
"meta": {
|
262 |
-
"inputs": {},
|
263 |
-
"name": "Mask",
|
264 |
"outputs": {
|
265 |
"output": {
|
266 |
"name": "output",
|
267 |
-
"position": "
|
268 |
"type": {
|
269 |
"type": "None"
|
270 |
}
|
271 |
}
|
272 |
},
|
273 |
"params": {
|
274 |
-
"
|
275 |
-
"default": "",
|
276 |
-
"name": "
|
277 |
-
"type": {
|
278 |
-
"type": "<class 'str'>"
|
279 |
-
}
|
280 |
-
},
|
281 |
-
"mask_pattern": {
|
282 |
-
"default": "",
|
283 |
-
"name": "mask_pattern",
|
284 |
"type": {
|
285 |
-
"
|
|
|
|
|
|
|
286 |
}
|
287 |
},
|
288 |
-
"
|
289 |
-
"default": "",
|
290 |
-
"name": "
|
291 |
"type": {
|
292 |
"type": "<class 'str'>"
|
293 |
}
|
294 |
},
|
295 |
-
"
|
296 |
-
"default": "",
|
297 |
-
"name": "
|
298 |
-
"type": {
|
299 |
-
"type": "<class 'str'>"
|
300 |
-
}
|
301 |
-
}
|
302 |
-
},
|
303 |
-
"type": "basic"
|
304 |
-
},
|
305 |
-
"params": {
|
306 |
-
"exceptions": "[email protected],[email protected],[email protected],[email protected]",
|
307 |
-
"mask_pattern": "masked_email_address_{}",
|
308 |
-
"name": "email",
|
309 |
-
"regex": "([a-z0-9!#$%&'*+\\/=?^_`{|.}~-]+@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)"
|
310 |
-
},
|
311 |
-
"status": "done",
|
312 |
-
"title": "Mask"
|
313 |
-
},
|
314 |
-
"dragHandle": ".bg-primary",
|
315 |
-
"height": 358.0,
|
316 |
-
"id": "Mask 1",
|
317 |
-
"parentId": null,
|
318 |
-
"position": {
|
319 |
-
"x": -1309.5065330408577,
|
320 |
-
"y": 731.6791509394458
|
321 |
-
},
|
322 |
-
"type": "basic",
|
323 |
-
"width": 313.0
|
324 |
-
},
|
325 |
-
{
|
326 |
-
"data": {
|
327 |
-
"__execution_delay": 0.0,
|
328 |
-
"collapsed": null,
|
329 |
-
"display": null,
|
330 |
-
"error": null,
|
331 |
-
"meta": {
|
332 |
-
"inputs": {},
|
333 |
-
"name": "Mask",
|
334 |
-
"outputs": {
|
335 |
-
"output": {
|
336 |
-
"name": "output",
|
337 |
-
"position": "top",
|
338 |
-
"type": {
|
339 |
-
"type": "None"
|
340 |
-
}
|
341 |
-
}
|
342 |
-
},
|
343 |
-
"params": {
|
344 |
-
"exceptions": {
|
345 |
-
"default": "",
|
346 |
-
"name": "exceptions",
|
347 |
"type": {
|
348 |
"type": "<class 'str'>"
|
349 |
}
|
350 |
},
|
351 |
-
"
|
352 |
-
"default": "",
|
353 |
-
"name": "
|
354 |
"type": {
|
355 |
"type": "<class 'str'>"
|
356 |
}
|
357 |
},
|
358 |
-
"
|
359 |
-
"default":
|
360 |
-
"name": "
|
361 |
"type": {
|
362 |
-
"type": "<class '
|
363 |
}
|
364 |
},
|
365 |
-
"
|
366 |
-
"default": "",
|
367 |
-
"name": "
|
368 |
"type": {
|
369 |
"type": "<class 'str'>"
|
370 |
}
|
371 |
}
|
372 |
},
|
|
|
|
|
|
|
|
|
373 |
"type": "basic"
|
374 |
},
|
375 |
"params": {
|
376 |
-
"
|
377 |
-
"
|
378 |
-
"
|
379 |
-
"
|
|
|
|
|
380 |
},
|
381 |
"status": "done",
|
382 |
-
"title": "
|
383 |
},
|
384 |
"dragHandle": ".bg-primary",
|
385 |
-
"height":
|
386 |
-
"id": "
|
387 |
-
"parentId": null,
|
388 |
"position": {
|
389 |
-
"x": -
|
390 |
-
"y":
|
391 |
},
|
392 |
"type": "basic",
|
393 |
-
"width":
|
394 |
},
|
395 |
{
|
396 |
"data": {
|
397 |
-
"__execution_delay": 0.0,
|
398 |
-
"collapsed": false,
|
399 |
"display": null,
|
400 |
"error": null,
|
|
|
401 |
"meta": {
|
402 |
"inputs": {
|
403 |
-
"
|
404 |
-
"name": "
|
405 |
-
"position": "bottom",
|
406 |
-
"type": {
|
407 |
-
"type": "<class 'inspect._empty'>"
|
408 |
-
}
|
409 |
-
},
|
410 |
-
"message": {
|
411 |
-
"name": "message",
|
412 |
"position": "left",
|
413 |
"type": {
|
414 |
"type": "<class 'inspect._empty'>"
|
415 |
}
|
416 |
}
|
417 |
},
|
418 |
-
"name": "
|
419 |
"outputs": {
|
420 |
"output": {
|
421 |
"name": "output",
|
422 |
-
"position": "
|
423 |
"type": {
|
424 |
"type": "None"
|
425 |
}
|
426 |
}
|
427 |
},
|
428 |
"params": {
|
429 |
-
"
|
430 |
-
"default":
|
431 |
-
"name": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
"type": {
|
433 |
-
"type": "<class '
|
434 |
}
|
435 |
}
|
436 |
},
|
|
|
|
|
|
|
|
|
437 |
"type": "basic"
|
438 |
},
|
439 |
-
"params": {
|
|
|
|
|
|
|
440 |
"status": "done",
|
441 |
-
"title": "
|
442 |
},
|
443 |
"dragHandle": ".bg-primary",
|
444 |
-
"height":
|
445 |
-
"id": "
|
446 |
-
"parentId": null,
|
447 |
"position": {
|
448 |
-
"x":
|
449 |
-
"y":
|
450 |
},
|
451 |
"type": "basic",
|
452 |
-
"width":
|
453 |
},
|
454 |
{
|
455 |
"data": {
|
@@ -457,6 +307,7 @@
|
|
457 |
"collapsed": null,
|
458 |
"display": null,
|
459 |
"error": null,
|
|
|
460 |
"meta": {
|
461 |
"inputs": {
|
462 |
"chat_processor": {
|
@@ -543,8 +394,8 @@
|
|
543 |
}
|
544 |
},
|
545 |
"position": {
|
546 |
-
"x":
|
547 |
-
"y":
|
548 |
},
|
549 |
"type": "basic"
|
550 |
},
|
@@ -554,7 +405,7 @@
|
|
554 |
"negative_answer": "I'm sorry, but the data I've been trained on does not contain any information related to your question.",
|
555 |
"retriever_limits_by_type": "{\"information\": [1, 5], \"summary\": [0, 2], \"template_qna\": [1, 3], \"QnA question\": [0, 0]}",
|
556 |
"retriever_max_iterations": 3.0,
|
557 |
-
"retriever_overall_chunk_limit":
|
558 |
"retriever_overall_token_limit": 3000.0,
|
559 |
"retriever_strict_limits": true
|
560 |
},
|
@@ -562,111 +413,182 @@
|
|
562 |
"title": "LynxScribe RAG Graph Chatbot Backend"
|
563 |
},
|
564 |
"dragHandle": ".bg-primary",
|
565 |
-
"height":
|
566 |
"id": "LynxScribe RAG Graph Chatbot Backend 1",
|
567 |
"position": {
|
568 |
-
"x":
|
569 |
-
"y": -
|
570 |
},
|
571 |
"type": "basic",
|
572 |
-
"width":
|
573 |
},
|
574 |
{
|
575 |
"data": {
|
576 |
-
"__execution_delay": 0.0,
|
577 |
-
"collapsed": null,
|
578 |
"display": null,
|
579 |
"error": null,
|
|
|
580 |
"meta": {
|
581 |
"inputs": {
|
582 |
-
"
|
583 |
-
"name": "
|
584 |
-
"position": "
|
585 |
"type": {
|
586 |
"type": "<class 'inspect._empty'>"
|
587 |
}
|
588 |
}
|
589 |
},
|
590 |
-
"name": "
|
591 |
"outputs": {
|
592 |
"output": {
|
593 |
"name": "output",
|
594 |
-
"position": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
"type": {
|
596 |
"type": "None"
|
597 |
}
|
598 |
}
|
599 |
},
|
600 |
"params": {
|
601 |
-
"
|
602 |
-
"default":
|
603 |
-
"name": "
|
604 |
"type": {
|
605 |
-
"
|
606 |
}
|
607 |
-
}
|
608 |
-
|
609 |
-
|
610 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
611 |
"type": {
|
612 |
-
"type": "
|
613 |
}
|
614 |
-
}
|
615 |
-
|
616 |
-
|
617 |
-
|
|
|
|
|
618 |
"type": {
|
619 |
"type": "<class 'str'>"
|
620 |
}
|
621 |
},
|
622 |
-
"
|
623 |
-
"default": "
|
624 |
-
"name": "
|
625 |
"type": {
|
626 |
"type": "<class 'str'>"
|
627 |
}
|
628 |
},
|
629 |
-
"
|
630 |
-
"default":
|
631 |
-
"name": "
|
632 |
"type": {
|
633 |
-
"type": "<class '
|
634 |
}
|
635 |
},
|
636 |
-
"
|
637 |
-
"default": "
|
638 |
-
"name": "
|
639 |
"type": {
|
640 |
"type": "<class 'str'>"
|
641 |
}
|
642 |
}
|
643 |
},
|
644 |
"position": {
|
645 |
-
"x":
|
646 |
-
"y":
|
647 |
},
|
648 |
"type": "basic"
|
649 |
},
|
650 |
"params": {
|
651 |
-
"
|
652 |
-
"
|
653 |
-
"
|
654 |
-
"
|
655 |
-
"vdb_num_dimensions": "1536",
|
656 |
-
"vdb_provider_name": "faiss"
|
657 |
},
|
658 |
"status": "done",
|
659 |
-
"title": "
|
660 |
},
|
661 |
"dragHandle": ".bg-primary",
|
662 |
-
"height":
|
663 |
-
"id": "
|
664 |
"position": {
|
665 |
-
"x":
|
666 |
-
"y":
|
667 |
},
|
668 |
"type": "basic",
|
669 |
-
"width":
|
670 |
},
|
671 |
{
|
672 |
"data": {
|
@@ -674,9 +596,10 @@
|
|
674 |
"collapsed": null,
|
675 |
"display": null,
|
676 |
"error": null,
|
|
|
677 |
"meta": {
|
678 |
"inputs": {},
|
679 |
-
"name": "
|
680 |
"outputs": {
|
681 |
"output": {
|
682 |
"name": "output",
|
@@ -687,114 +610,151 @@
|
|
687 |
}
|
688 |
},
|
689 |
"params": {
|
690 |
-
"
|
691 |
-
"default":
|
692 |
-
"name": "
|
693 |
-
"type": {
|
694 |
-
"type": "<class 'str'>"
|
695 |
-
}
|
696 |
-
},
|
697 |
-
"cloud_provider": {
|
698 |
-
"default": "gcp",
|
699 |
-
"name": "cloud_provider",
|
700 |
-
"type": {
|
701 |
-
"enum": ["GCP", "AWS", "AZURE"]
|
702 |
-
}
|
703 |
-
},
|
704 |
-
"folder_URL": {
|
705 |
-
"default": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-images/image-rag-test",
|
706 |
-
"name": "folder_URL",
|
707 |
"type": {
|
708 |
"type": "<class 'str'>"
|
709 |
}
|
710 |
}
|
711 |
},
|
712 |
"position": {
|
713 |
-
"x":
|
714 |
-
"y":
|
715 |
},
|
716 |
"type": "basic"
|
717 |
},
|
718 |
"params": {
|
719 |
-
"
|
720 |
-
"cloud_provider": "GCP",
|
721 |
-
"folder_URL": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-knowledge-graphs/lynx-chatbot"
|
722 |
},
|
723 |
"status": "done",
|
724 |
-
"title": "
|
725 |
},
|
726 |
"dragHandle": ".bg-primary",
|
727 |
-
"height":
|
728 |
-
"id": "
|
729 |
"position": {
|
730 |
-
"x": -
|
731 |
-
"y":
|
732 |
},
|
733 |
"type": "basic",
|
734 |
-
"width":
|
735 |
},
|
736 |
{
|
737 |
"data": {
|
|
|
|
|
738 |
"display": null,
|
739 |
"error": null,
|
|
|
740 |
"meta": {
|
741 |
"inputs": {
|
742 |
-
"
|
743 |
-
"name": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
744 |
"position": "left",
|
745 |
"type": {
|
746 |
"type": "<class 'inspect._empty'>"
|
747 |
}
|
748 |
}
|
749 |
},
|
750 |
-
"name": "
|
751 |
"outputs": {
|
752 |
"output": {
|
753 |
"name": "output",
|
754 |
-
"position": "
|
755 |
"type": {
|
756 |
"type": "None"
|
757 |
}
|
758 |
}
|
759 |
},
|
760 |
"params": {
|
761 |
-
"
|
762 |
-
"default":
|
763 |
-
"name": "
|
764 |
-
"type": {
|
765 |
-
"type": "<class 'str'>"
|
766 |
-
}
|
767 |
-
},
|
768 |
-
"scenario_file": {
|
769 |
-
"default": "uploads/lynx_chatbot_scenario_selector.yaml",
|
770 |
-
"name": "scenario_file",
|
771 |
"type": {
|
772 |
-
"type": "<class '
|
773 |
}
|
774 |
}
|
775 |
},
|
776 |
"position": {
|
777 |
-
"x":
|
778 |
-
"y":
|
779 |
},
|
780 |
"type": "basic"
|
781 |
},
|
782 |
"params": {
|
783 |
-
"
|
784 |
-
"scenario_file": "uploads/lynx_chatbot_scenario_selector.yaml"
|
785 |
},
|
786 |
"status": "done",
|
787 |
-
"title": "
|
788 |
},
|
789 |
"dragHandle": ".bg-primary",
|
790 |
-
"height":
|
791 |
-
"id": "
|
792 |
"position": {
|
793 |
-
"x":
|
794 |
-
"y":
|
795 |
},
|
796 |
"type": "basic",
|
797 |
-
"width":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
798 |
}
|
799 |
]
|
800 |
}
|
|
|
1 |
{
|
2 |
"edges": [
|
3 |
{
|
4 |
+
"id": "Cloud-sourced File Listing 1 LynxScribe Text RAG Loader 1",
|
5 |
+
"source": "Cloud-sourced File Listing 1",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"sourceHandle": "output",
|
7 |
+
"target": "LynxScribe Text RAG Loader 1",
|
8 |
+
"targetHandle": "file_urls"
|
9 |
},
|
10 |
{
|
11 |
+
"id": "LynxScribe Text RAG Loader 1 LynxScribe RAG Graph Chatbot Builder 1",
|
12 |
+
"source": "LynxScribe Text RAG Loader 1",
|
13 |
"sourceHandle": "output",
|
14 |
+
"target": "LynxScribe RAG Graph Chatbot Builder 1",
|
15 |
+
"targetHandle": "rag_graph"
|
16 |
},
|
17 |
{
|
18 |
+
"id": "LynxScribe RAG Graph Chatbot Builder 1 LynxScribe RAG Graph Chatbot Backend 1",
|
19 |
+
"source": "LynxScribe RAG Graph Chatbot Builder 1",
|
20 |
"sourceHandle": "output",
|
21 |
+
"target": "LynxScribe RAG Graph Chatbot Backend 1",
|
22 |
+
"targetHandle": "knowledge_base"
|
23 |
},
|
24 |
{
|
25 |
+
"id": "Truncate history 1 Chat processor 1",
|
26 |
+
"source": "Truncate history 1",
|
27 |
"sourceHandle": "output",
|
28 |
+
"target": "Chat processor 1",
|
29 |
+
"targetHandle": "processor"
|
30 |
},
|
31 |
{
|
32 |
"id": "Chat processor 1 LynxScribe RAG Graph Chatbot Backend 1",
|
|
|
36 |
"targetHandle": "chat_processor"
|
37 |
},
|
38 |
{
|
39 |
+
"id": "Mask 1 Chat processor 1",
|
40 |
+
"source": "Mask 1",
|
41 |
"sourceHandle": "output",
|
42 |
+
"target": "Chat processor 1",
|
43 |
+
"targetHandle": "processor"
|
44 |
},
|
45 |
{
|
46 |
+
"id": "Input chat 1 Test Chat API 1",
|
47 |
+
"source": "Input chat 1",
|
48 |
"sourceHandle": "output",
|
49 |
+
"target": "Test Chat API 1",
|
50 |
+
"targetHandle": "message"
|
51 |
},
|
52 |
{
|
53 |
+
"id": "LynxScribe RAG Graph Chatbot Backend 1 Test Chat API 1",
|
54 |
+
"source": "LynxScribe RAG Graph Chatbot Backend 1",
|
55 |
"sourceHandle": "output",
|
56 |
+
"target": "Test Chat API 1",
|
57 |
+
"targetHandle": "chat_api"
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"id": "Test Chat API 1 View 1",
|
61 |
+
"source": "Test Chat API 1",
|
62 |
+
"sourceHandle": "output",
|
63 |
+
"target": "View 1",
|
64 |
+
"targetHandle": "input"
|
65 |
}
|
66 |
],
|
67 |
"env": "LynxScribe",
|
|
|
72 |
"collapsed": null,
|
73 |
"display": null,
|
74 |
"error": null,
|
75 |
+
"input_metadata": null,
|
76 |
"meta": {
|
77 |
"inputs": {},
|
78 |
+
"name": "Cloud-sourced File Listing",
|
79 |
"outputs": {
|
80 |
"output": {
|
81 |
"name": "output",
|
|
|
86 |
}
|
87 |
},
|
88 |
"params": {
|
89 |
+
"accepted_file_types": {
|
90 |
+
"default": ".jpg, .jpeg, .png",
|
91 |
+
"name": "accepted_file_types",
|
92 |
"type": {
|
93 |
"type": "<class 'str'>"
|
94 |
}
|
95 |
+
},
|
96 |
+
"cloud_provider": {
|
97 |
+
"default": "gcp",
|
98 |
+
"name": "cloud_provider",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
"type": {
|
100 |
+
"enum": [
|
101 |
+
"GCP",
|
102 |
+
"AWS",
|
103 |
+
"AZURE"
|
104 |
+
]
|
105 |
}
|
106 |
+
},
|
107 |
+
"folder_URL": {
|
108 |
+
"default": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-images/image-rag-test",
|
109 |
+
"name": "folder_URL",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
"type": {
|
111 |
+
"type": "<class 'str'>"
|
112 |
}
|
113 |
}
|
114 |
},
|
115 |
+
"position": {
|
116 |
+
"x": 530.0,
|
117 |
+
"y": 350.0
|
|
|
|
|
|
|
|
|
|
|
118 |
},
|
119 |
"type": "basic"
|
120 |
},
|
121 |
"params": {
|
122 |
+
"accepted_file_types": ".pickle",
|
123 |
+
"cloud_provider": "GCP",
|
124 |
+
"folder_URL": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-knowledge-graphs/lynx-chatbot"
|
125 |
},
|
126 |
"status": "done",
|
127 |
+
"title": "Cloud-sourced File Listing"
|
128 |
},
|
129 |
"dragHandle": ".bg-primary",
|
130 |
+
"height": 286.0,
|
131 |
+
"id": "Cloud-sourced File Listing 1",
|
|
|
132 |
"position": {
|
133 |
+
"x": -827.0,
|
134 |
+
"y": 382.0
|
135 |
},
|
136 |
"type": "basic",
|
137 |
+
"width": 515.0
|
138 |
},
|
139 |
{
|
140 |
"data": {
|
141 |
+
"__execution_delay": 0.0,
|
142 |
+
"collapsed": null,
|
143 |
"display": null,
|
144 |
"error": null,
|
145 |
+
"input_metadata": null,
|
146 |
"meta": {
|
147 |
"inputs": {
|
148 |
+
"file_urls": {
|
149 |
+
"name": "file_urls",
|
150 |
+
"position": "left",
|
151 |
"type": {
|
152 |
"type": "<class 'inspect._empty'>"
|
153 |
}
|
154 |
}
|
155 |
},
|
156 |
+
"name": "LynxScribe Text RAG Loader",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
"outputs": {
|
158 |
"output": {
|
159 |
"name": "output",
|
160 |
+
"position": "right",
|
161 |
"type": {
|
162 |
"type": "None"
|
163 |
}
|
164 |
}
|
165 |
},
|
166 |
"params": {
|
167 |
+
"input_type": {
|
168 |
+
"default": "v1",
|
169 |
+
"name": "input_type",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
"type": {
|
171 |
+
"enum": [
|
172 |
+
"V1",
|
173 |
+
"V2"
|
174 |
+
]
|
175 |
}
|
176 |
},
|
177 |
+
"text_embedder_interface": {
|
178 |
+
"default": "openai",
|
179 |
+
"name": "text_embedder_interface",
|
180 |
"type": {
|
181 |
"type": "<class 'str'>"
|
182 |
}
|
183 |
},
|
184 |
+
"text_embedder_model_name_or_path": {
|
185 |
+
"default": "text-embedding-3-large",
|
186 |
+
"name": "text_embedder_model_name_or_path",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
"type": {
|
188 |
"type": "<class 'str'>"
|
189 |
}
|
190 |
},
|
191 |
+
"vdb_collection_name": {
|
192 |
+
"default": "lynx",
|
193 |
+
"name": "vdb_collection_name",
|
194 |
"type": {
|
195 |
"type": "<class 'str'>"
|
196 |
}
|
197 |
},
|
198 |
+
"vdb_num_dimensions": {
|
199 |
+
"default": 3072.0,
|
200 |
+
"name": "vdb_num_dimensions",
|
201 |
"type": {
|
202 |
+
"type": "<class 'int'>"
|
203 |
}
|
204 |
},
|
205 |
+
"vdb_provider_name": {
|
206 |
+
"default": "faiss",
|
207 |
+
"name": "vdb_provider_name",
|
208 |
"type": {
|
209 |
"type": "<class 'str'>"
|
210 |
}
|
211 |
}
|
212 |
},
|
213 |
+
"position": {
|
214 |
+
"x": 1048.0,
|
215 |
+
"y": 762.0
|
216 |
+
},
|
217 |
"type": "basic"
|
218 |
},
|
219 |
"params": {
|
220 |
+
"input_type": "V1",
|
221 |
+
"text_embedder_interface": "openai",
|
222 |
+
"text_embedder_model_name_or_path": "text-embedding-ada-002",
|
223 |
+
"vdb_collection_name": "lynx",
|
224 |
+
"vdb_num_dimensions": "1536",
|
225 |
+
"vdb_provider_name": "faiss"
|
226 |
},
|
227 |
"status": "done",
|
228 |
+
"title": "LynxScribe Text RAG Loader"
|
229 |
},
|
230 |
"dragHandle": ".bg-primary",
|
231 |
+
"height": 515.0,
|
232 |
+
"id": "LynxScribe Text RAG Loader 1",
|
|
|
233 |
"position": {
|
234 |
+
"x": -173.0,
|
235 |
+
"y": 268.0
|
236 |
},
|
237 |
"type": "basic",
|
238 |
+
"width": 290.0
|
239 |
},
|
240 |
{
|
241 |
"data": {
|
|
|
|
|
242 |
"display": null,
|
243 |
"error": null,
|
244 |
+
"input_metadata": null,
|
245 |
"meta": {
|
246 |
"inputs": {
|
247 |
+
"rag_graph": {
|
248 |
+
"name": "rag_graph",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
"position": "left",
|
250 |
"type": {
|
251 |
"type": "<class 'inspect._empty'>"
|
252 |
}
|
253 |
}
|
254 |
},
|
255 |
+
"name": "LynxScribe RAG Graph Chatbot Builder",
|
256 |
"outputs": {
|
257 |
"output": {
|
258 |
"name": "output",
|
259 |
+
"position": "top",
|
260 |
"type": {
|
261 |
"type": "None"
|
262 |
}
|
263 |
}
|
264 |
},
|
265 |
"params": {
|
266 |
+
"node_types": {
|
267 |
+
"default": "intent_cluster",
|
268 |
+
"name": "node_types",
|
269 |
+
"type": {
|
270 |
+
"type": "<class 'str'>"
|
271 |
+
}
|
272 |
+
},
|
273 |
+
"scenario_file": {
|
274 |
+
"default": "uploads/lynx_chatbot_scenario_selector.yaml",
|
275 |
+
"name": "scenario_file",
|
276 |
"type": {
|
277 |
+
"type": "<class 'str'>"
|
278 |
}
|
279 |
}
|
280 |
},
|
281 |
+
"position": {
|
282 |
+
"x": 1451.0,
|
283 |
+
"y": 752.0
|
284 |
+
},
|
285 |
"type": "basic"
|
286 |
},
|
287 |
+
"params": {
|
288 |
+
"node_types": "intent_cluster",
|
289 |
+
"scenario_file": "uploads/lynx_chatbot_scenario_selector.yaml"
|
290 |
+
},
|
291 |
"status": "done",
|
292 |
+
"title": "LynxScribe RAG Graph Chatbot Builder"
|
293 |
},
|
294 |
"dragHandle": ".bg-primary",
|
295 |
+
"height": 208.0,
|
296 |
+
"id": "LynxScribe RAG Graph Chatbot Builder 1",
|
|
|
297 |
"position": {
|
298 |
+
"x": 245.0,
|
299 |
+
"y": 421.0
|
300 |
},
|
301 |
"type": "basic",
|
302 |
+
"width": 407.0
|
303 |
},
|
304 |
{
|
305 |
"data": {
|
|
|
307 |
"collapsed": null,
|
308 |
"display": null,
|
309 |
"error": null,
|
310 |
+
"input_metadata": null,
|
311 |
"meta": {
|
312 |
"inputs": {
|
313 |
"chat_processor": {
|
|
|
394 |
}
|
395 |
},
|
396 |
"position": {
|
397 |
+
"x": 1658.0,
|
398 |
+
"y": 587.0
|
399 |
},
|
400 |
"type": "basic"
|
401 |
},
|
|
|
405 |
"negative_answer": "I'm sorry, but the data I've been trained on does not contain any information related to your question.",
|
406 |
"retriever_limits_by_type": "{\"information\": [1, 5], \"summary\": [0, 2], \"template_qna\": [1, 3], \"QnA question\": [0, 0]}",
|
407 |
"retriever_max_iterations": 3.0,
|
408 |
+
"retriever_overall_chunk_limit": 20.0,
|
409 |
"retriever_overall_token_limit": 3000.0,
|
410 |
"retriever_strict_limits": true
|
411 |
},
|
|
|
413 |
"title": "LynxScribe RAG Graph Chatbot Backend"
|
414 |
},
|
415 |
"dragHandle": ".bg-primary",
|
416 |
+
"height": 697.0,
|
417 |
"id": "LynxScribe RAG Graph Chatbot Backend 1",
|
418 |
"position": {
|
419 |
+
"x": 356.69268530841373,
|
420 |
+
"y": -467.49315862719016
|
421 |
},
|
422 |
"type": "basic",
|
423 |
+
"width": 821.0
|
424 |
},
|
425 |
{
|
426 |
"data": {
|
|
|
|
|
427 |
"display": null,
|
428 |
"error": null,
|
429 |
+
"input_metadata": null,
|
430 |
"meta": {
|
431 |
"inputs": {
|
432 |
+
"processor": {
|
433 |
+
"name": "processor",
|
434 |
+
"position": "bottom",
|
435 |
"type": {
|
436 |
"type": "<class 'inspect._empty'>"
|
437 |
}
|
438 |
}
|
439 |
},
|
440 |
+
"name": "Chat processor",
|
441 |
"outputs": {
|
442 |
"output": {
|
443 |
"name": "output",
|
444 |
+
"position": "top",
|
445 |
+
"type": {
|
446 |
+
"type": "None"
|
447 |
+
}
|
448 |
+
}
|
449 |
+
},
|
450 |
+
"params": {},
|
451 |
+
"position": {
|
452 |
+
"x": 1742.0,
|
453 |
+
"y": 847.0
|
454 |
+
},
|
455 |
+
"type": "basic"
|
456 |
+
},
|
457 |
+
"params": {},
|
458 |
+
"status": "done",
|
459 |
+
"title": "Chat processor"
|
460 |
+
},
|
461 |
+
"dragHandle": ".bg-primary",
|
462 |
+
"height": 220.0,
|
463 |
+
"id": "Chat processor 1",
|
464 |
+
"position": {
|
465 |
+
"x": 921.2787659034059,
|
466 |
+
"y": 431.57233488216445
|
467 |
+
},
|
468 |
+
"type": "basic",
|
469 |
+
"width": 387.0
|
470 |
+
},
|
471 |
+
{
|
472 |
+
"data": {
|
473 |
+
"display": null,
|
474 |
+
"error": null,
|
475 |
+
"input_metadata": null,
|
476 |
+
"meta": {
|
477 |
+
"inputs": {},
|
478 |
+
"name": "Truncate history",
|
479 |
+
"outputs": {
|
480 |
+
"output": {
|
481 |
+
"name": "output",
|
482 |
+
"position": "top",
|
483 |
"type": {
|
484 |
"type": "None"
|
485 |
}
|
486 |
}
|
487 |
},
|
488 |
"params": {
|
489 |
+
"max_tokens": {
|
490 |
+
"default": 10000.0,
|
491 |
+
"name": "max_tokens",
|
492 |
"type": {
|
493 |
+
"type": "<class 'int'>"
|
494 |
}
|
495 |
+
}
|
496 |
+
},
|
497 |
+
"position": {
|
498 |
+
"x": 1991.0,
|
499 |
+
"y": 1042.0
|
500 |
+
},
|
501 |
+
"type": "basic"
|
502 |
+
},
|
503 |
+
"params": {
|
504 |
+
"max_tokens": 10000.0
|
505 |
+
},
|
506 |
+
"status": "done",
|
507 |
+
"title": "Truncate history"
|
508 |
+
},
|
509 |
+
"dragHandle": ".bg-primary",
|
510 |
+
"height": 200.0,
|
511 |
+
"id": "Truncate history 1",
|
512 |
+
"position": {
|
513 |
+
"x": 931.4096899549071,
|
514 |
+
"y": 703.2861674410822
|
515 |
+
},
|
516 |
+
"type": "basic",
|
517 |
+
"width": 200.0
|
518 |
+
},
|
519 |
+
{
|
520 |
+
"data": {
|
521 |
+
"__execution_delay": 0.0,
|
522 |
+
"collapsed": false,
|
523 |
+
"display": null,
|
524 |
+
"error": null,
|
525 |
+
"input_metadata": null,
|
526 |
+
"meta": {
|
527 |
+
"inputs": {},
|
528 |
+
"name": "Mask",
|
529 |
+
"outputs": {
|
530 |
+
"output": {
|
531 |
+
"name": "output",
|
532 |
+
"position": "top",
|
533 |
"type": {
|
534 |
+
"type": "None"
|
535 |
}
|
536 |
+
}
|
537 |
+
},
|
538 |
+
"params": {
|
539 |
+
"exceptions": {
|
540 |
+
"default": "",
|
541 |
+
"name": "exceptions",
|
542 |
"type": {
|
543 |
"type": "<class 'str'>"
|
544 |
}
|
545 |
},
|
546 |
+
"mask_pattern": {
|
547 |
+
"default": "",
|
548 |
+
"name": "mask_pattern",
|
549 |
"type": {
|
550 |
"type": "<class 'str'>"
|
551 |
}
|
552 |
},
|
553 |
+
"name": {
|
554 |
+
"default": "",
|
555 |
+
"name": "name",
|
556 |
"type": {
|
557 |
+
"type": "<class 'str'>"
|
558 |
}
|
559 |
},
|
560 |
+
"regex": {
|
561 |
+
"default": "",
|
562 |
+
"name": "regex",
|
563 |
"type": {
|
564 |
"type": "<class 'str'>"
|
565 |
}
|
566 |
}
|
567 |
},
|
568 |
"position": {
|
569 |
+
"x": 2003.0,
|
570 |
+
"y": 1053.0
|
571 |
},
|
572 |
"type": "basic"
|
573 |
},
|
574 |
"params": {
|
575 |
+
"exceptions": "[email protected],[email protected],[email protected],[email protected]",
|
576 |
+
"mask_pattern": "masked_email_address_{}",
|
577 |
+
"name": "email",
|
578 |
+
"regex": "([a-z0-9!#$%&'*+\\/=?^_`{|.}~-]+@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)"
|
|
|
|
|
579 |
},
|
580 |
"status": "done",
|
581 |
+
"title": "Mask"
|
582 |
},
|
583 |
"dragHandle": ".bg-primary",
|
584 |
+
"height": 366.0,
|
585 |
+
"id": "Mask 1",
|
586 |
"position": {
|
587 |
+
"x": 1163.4170914925835,
|
588 |
+
"y": 712.6187958660655
|
589 |
},
|
590 |
"type": "basic",
|
591 |
+
"width": 281.0
|
592 |
},
|
593 |
{
|
594 |
"data": {
|
|
|
596 |
"collapsed": null,
|
597 |
"display": null,
|
598 |
"error": null,
|
599 |
+
"input_metadata": null,
|
600 |
"meta": {
|
601 |
"inputs": {},
|
602 |
+
"name": "Input chat",
|
603 |
"outputs": {
|
604 |
"output": {
|
605 |
"name": "output",
|
|
|
610 |
}
|
611 |
},
|
612 |
"params": {
|
613 |
+
"chat": {
|
614 |
+
"default": null,
|
615 |
+
"name": "chat",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
616 |
"type": {
|
617 |
"type": "<class 'str'>"
|
618 |
}
|
619 |
}
|
620 |
},
|
621 |
"position": {
|
622 |
+
"x": 2012.0,
|
623 |
+
"y": 475.0
|
624 |
},
|
625 |
"type": "basic"
|
626 |
},
|
627 |
"params": {
|
628 |
+
"chat": "Who is the CEO of Lynx?"
|
|
|
|
|
629 |
},
|
630 |
"status": "done",
|
631 |
+
"title": "Input chat"
|
632 |
},
|
633 |
"dragHandle": ".bg-primary",
|
634 |
+
"height": 198.0,
|
635 |
+
"id": "Input chat 1",
|
636 |
"position": {
|
637 |
+
"x": -854.3584473819146,
|
638 |
+
"y": -770.2371549901112
|
639 |
},
|
640 |
"type": "basic",
|
641 |
+
"width": 910.0
|
642 |
},
|
643 |
{
|
644 |
"data": {
|
645 |
+
"__execution_delay": 0.0,
|
646 |
+
"collapsed": null,
|
647 |
"display": null,
|
648 |
"error": null,
|
649 |
+
"input_metadata": null,
|
650 |
"meta": {
|
651 |
"inputs": {
|
652 |
+
"chat_api": {
|
653 |
+
"name": "chat_api",
|
654 |
+
"position": "bottom",
|
655 |
+
"type": {
|
656 |
+
"type": "<class 'inspect._empty'>"
|
657 |
+
}
|
658 |
+
},
|
659 |
+
"message": {
|
660 |
+
"name": "message",
|
661 |
"position": "left",
|
662 |
"type": {
|
663 |
"type": "<class 'inspect._empty'>"
|
664 |
}
|
665 |
}
|
666 |
},
|
667 |
+
"name": "Test Chat API",
|
668 |
"outputs": {
|
669 |
"output": {
|
670 |
"name": "output",
|
671 |
+
"position": "right",
|
672 |
"type": {
|
673 |
"type": "None"
|
674 |
}
|
675 |
}
|
676 |
},
|
677 |
"params": {
|
678 |
+
"show_details": {
|
679 |
+
"default": false,
|
680 |
+
"name": "show_details",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
681 |
"type": {
|
682 |
+
"type": "<class 'bool'>"
|
683 |
}
|
684 |
}
|
685 |
},
|
686 |
"position": {
|
687 |
+
"x": 1238.0,
|
688 |
+
"y": 211.0
|
689 |
},
|
690 |
"type": "basic"
|
691 |
},
|
692 |
"params": {
|
693 |
+
"show_details": false
|
|
|
694 |
},
|
695 |
"status": "done",
|
696 |
+
"title": "Test Chat API"
|
697 |
},
|
698 |
"dragHandle": ".bg-primary",
|
699 |
+
"height": 260.0,
|
700 |
+
"id": "Test Chat API 1",
|
701 |
"position": {
|
702 |
+
"x": 356.57819670145534,
|
703 |
+
"y": -803.3229228909706
|
704 |
},
|
705 |
"type": "basic",
|
706 |
+
"width": 820.0
|
707 |
+
},
|
708 |
+
{
|
709 |
+
"data": {
|
710 |
+
"display": {
|
711 |
+
"dataframes": {
|
712 |
+
"df": {
|
713 |
+
"columns": [
|
714 |
+
"answer"
|
715 |
+
],
|
716 |
+
"data": [
|
717 |
+
[
|
718 |
+
"The CEO of Lynx Analytics is Gyorgy Lajtai. He co-founded the company in 2010 and has a background in CRM, marketing automation, and systems."
|
719 |
+
]
|
720 |
+
]
|
721 |
+
}
|
722 |
+
}
|
723 |
+
},
|
724 |
+
"error": null,
|
725 |
+
"input_metadata": null,
|
726 |
+
"meta": {
|
727 |
+
"inputs": {
|
728 |
+
"input": {
|
729 |
+
"name": "input",
|
730 |
+
"position": "left",
|
731 |
+
"type": {
|
732 |
+
"type": "<class 'inspect._empty'>"
|
733 |
+
}
|
734 |
+
}
|
735 |
+
},
|
736 |
+
"name": "View",
|
737 |
+
"outputs": {},
|
738 |
+
"params": {},
|
739 |
+
"position": {
|
740 |
+
"x": 1746.0,
|
741 |
+
"y": 232.0
|
742 |
+
},
|
743 |
+
"type": "table_view"
|
744 |
+
},
|
745 |
+
"params": {},
|
746 |
+
"status": "done",
|
747 |
+
"title": "View"
|
748 |
+
},
|
749 |
+
"dragHandle": ".bg-primary",
|
750 |
+
"height": 627.0,
|
751 |
+
"id": "View 1",
|
752 |
+
"position": {
|
753 |
+
"x": 1497.8623453933426,
|
754 |
+
"y": -810.6258103791108
|
755 |
+
},
|
756 |
+
"type": "table_view",
|
757 |
+
"width": 995.0
|
758 |
}
|
759 |
]
|
760 |
}
|