Flowise

Форк
0
/
Long Term Memory.json 
721 строка · 32.1 Кб
1
{
2
    "description": "Use long term memory like Zep to differentiate conversations between users with sessionId",
3
    "categories": "ChatOpenAI,Conversational Retrieval QA Chain,Zep Memory,Qdrant,Langchain",
4
    "framework": "Langchain",
5
    "nodes": [
6
        {
7
            "width": 300,
8
            "height": 480,
9
            "id": "conversationalRetrievalQAChain_0",
10
            "position": {
11
                "x": 2001.2622706097407,
12
                "y": 360.7347224947406
13
            },
14
            "type": "customNode",
15
            "data": {
16
                "id": "conversationalRetrievalQAChain_0",
17
                "label": "Conversational Retrieval QA Chain",
18
                "version": 3,
19
                "name": "conversationalRetrievalQAChain",
20
                "type": "ConversationalRetrievalQAChain",
21
                "baseClasses": ["ConversationalRetrievalQAChain", "BaseChain", "Runnable"],
22
                "category": "Chains",
23
                "description": "Document QA - built on RetrievalQAChain to provide a chat history component",
24
                "inputParams": [
25
                    {
26
                        "label": "Return Source Documents",
27
                        "name": "returnSourceDocuments",
28
                        "type": "boolean",
29
                        "optional": true,
30
                        "id": "conversationalRetrievalQAChain_0-input-returnSourceDocuments-boolean"
31
                    },
32
                    {
33
                        "label": "Rephrase Prompt",
34
                        "name": "rephrasePrompt",
35
                        "type": "string",
36
                        "description": "Using previous chat history, rephrase question into a standalone question",
37
                        "warning": "Prompt must include input variables: {chat_history} and {question}",
38
                        "rows": 4,
39
                        "additionalParams": true,
40
                        "optional": true,
41
                        "default": "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone Question:",
42
                        "id": "conversationalRetrievalQAChain_0-input-rephrasePrompt-string"
43
                    },
44
                    {
45
                        "label": "Response Prompt",
46
                        "name": "responsePrompt",
47
                        "type": "string",
48
                        "description": "Taking the rephrased question, search for answer from the provided context",
49
                        "warning": "Prompt must include input variable: {context}",
50
                        "rows": 4,
51
                        "additionalParams": true,
52
                        "optional": true,
53
                        "default": "You are a helpful assistant. Using the provided context, answer the user's question to the best of your ability using the resources provided.\nIf there is nothing in the context relevant to the question at hand, just say \"Hmm, I'm not sure.\" Don't try to make up an answer.\n------------\n{context}\n------------\nREMEMBER: If there is no relevant information within the context, just say \"Hmm, I'm not sure.\" Don't try to make up an answer.",
54
                        "id": "conversationalRetrievalQAChain_0-input-responsePrompt-string"
55
                    }
56
                ],
57
                "inputAnchors": [
58
                    {
59
                        "label": "Chat Model",
60
                        "name": "model",
61
                        "type": "BaseChatModel",
62
                        "id": "conversationalRetrievalQAChain_0-input-model-BaseChatModel"
63
                    },
64
                    {
65
                        "label": "Vector Store Retriever",
66
                        "name": "vectorStoreRetriever",
67
                        "type": "BaseRetriever",
68
                        "id": "conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever"
69
                    },
70
                    {
71
                        "label": "Memory",
72
                        "name": "memory",
73
                        "type": "BaseMemory",
74
                        "optional": true,
75
                        "description": "If left empty, a default BufferMemory will be used",
76
                        "id": "conversationalRetrievalQAChain_0-input-memory-BaseMemory"
77
                    },
78
                    {
79
                        "label": "Input Moderation",
80
                        "description": "Detect text that could generate harmful output and prevent it from being sent to the language model",
81
                        "name": "inputModeration",
82
                        "type": "Moderation",
83
                        "optional": true,
84
                        "list": true,
85
                        "id": "conversationalRetrievalQAChain_0-input-inputModeration-Moderation"
86
                    }
87
                ],
88
                "inputs": {
89
                    "inputModeration": "",
90
                    "model": "{{chatOpenAI_0.data.instance}}",
91
                    "vectorStoreRetriever": "{{qdrant_0.data.instance}}",
92
                    "memory": "{{ZepMemory_0.data.instance}}",
93
                    "returnSourceDocuments": true,
94
                    "rephrasePrompt": "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone Question:",
95
                    "responsePrompt": "You are a helpful assistant. Using the provided context, answer the user's question to the best of your ability using the resources provided.\nIf there is nothing in the context relevant to the question at hand, just say \"Hmm, I'm not sure.\" Don't try to make up an answer.\n------------\n{context}\n------------\nREMEMBER: If there is no relevant information within the context, just say \"Hmm, I'm not sure.\" Don't try to make up an answer."
96
                },
97
                "outputAnchors": [
98
                    {
99
                        "id": "conversationalRetrievalQAChain_0-output-conversationalRetrievalQAChain-ConversationalRetrievalQAChain|BaseChain|Runnable",
100
                        "name": "conversationalRetrievalQAChain",
101
                        "label": "ConversationalRetrievalQAChain",
102
                        "type": "ConversationalRetrievalQAChain | BaseChain | Runnable"
103
                    }
104
                ],
105
                "outputs": {},
106
                "selected": false
107
            },
108
            "selected": false,
109
            "positionAbsolute": {
110
                "x": 2001.2622706097407,
111
                "y": 360.7347224947406
112
            },
113
            "dragging": false
114
        },
115
        {
116
            "width": 300,
117
            "height": 329,
118
            "id": "openAIEmbeddings_0",
119
            "position": {
120
                "x": 789.6839176356616,
121
                "y": 167.70165941305987
122
            },
123
            "type": "customNode",
124
            "data": {
125
                "id": "openAIEmbeddings_0",
126
                "label": "OpenAI Embeddings",
127
                "version": 3,
128
                "name": "openAIEmbeddings",
129
                "type": "OpenAIEmbeddings",
130
                "baseClasses": ["OpenAIEmbeddings", "Embeddings"],
131
                "category": "Embeddings",
132
                "description": "OpenAI API to generate embeddings for a given text",
133
                "inputParams": [
134
                    {
135
                        "label": "Connect Credential",
136
                        "name": "credential",
137
                        "type": "credential",
138
                        "credentialNames": ["openAIApi"],
139
                        "id": "openAIEmbeddings_0-input-credential-credential"
140
                    },
141
                    {
142
                        "label": "Model Name",
143
                        "name": "modelName",
144
                        "type": "asyncOptions",
145
                        "loadMethod": "listModels",
146
                        "default": "text-embedding-ada-002",
147
                        "id": "openAIEmbeddings_0-input-modelName-options"
148
                    },
149
                    {
150
                        "label": "Strip New Lines",
151
                        "name": "stripNewLines",
152
                        "type": "boolean",
153
                        "optional": true,
154
                        "additionalParams": true,
155
                        "id": "openAIEmbeddings_0-input-stripNewLines-boolean"
156
                    },
157
                    {
158
                        "label": "Batch Size",
159
                        "name": "batchSize",
160
                        "type": "number",
161
                        "optional": true,
162
                        "additionalParams": true,
163
                        "id": "openAIEmbeddings_0-input-batchSize-number"
164
                    },
165
                    {
166
                        "label": "Timeout",
167
                        "name": "timeout",
168
                        "type": "number",
169
                        "optional": true,
170
                        "additionalParams": true,
171
                        "id": "openAIEmbeddings_0-input-timeout-number"
172
                    },
173
                    {
174
                        "label": "BasePath",
175
                        "name": "basepath",
176
                        "type": "string",
177
                        "optional": true,
178
                        "additionalParams": true,
179
                        "id": "openAIEmbeddings_0-input-basepath-string"
180
                    }
181
                ],
182
                "inputAnchors": [],
183
                "inputs": {
184
                    "stripNewLines": "",
185
                    "batchSize": "",
186
                    "timeout": "",
187
                    "basepath": "",
188
                    "modelName": "text-embedding-ada-002"
189
                },
190
                "outputAnchors": [
191
                    {
192
                        "id": "openAIEmbeddings_0-output-openAIEmbeddings-OpenAIEmbeddings|Embeddings",
193
                        "name": "openAIEmbeddings",
194
                        "label": "OpenAIEmbeddings",
195
                        "type": "OpenAIEmbeddings | Embeddings"
196
                    }
197
                ],
198
                "outputs": {},
199
                "selected": false
200
            },
201
            "selected": false,
202
            "positionAbsolute": {
203
                "x": 789.6839176356616,
204
                "y": 167.70165941305987
205
            },
206
            "dragging": false
207
        },
208
        {
209
            "width": 300,
210
            "height": 623,
211
            "id": "ZepMemory_0",
212
            "position": {
213
                "x": 420.8032935700942,
214
                "y": 92.41976641951993
215
            },
216
            "type": "customNode",
217
            "data": {
218
                "id": "ZepMemory_0",
219
                "label": "Zep Memory",
220
                "version": 2,
221
                "name": "ZepMemory",
222
                "type": "ZepMemory",
223
                "baseClasses": ["ZepMemory", "BaseChatMemory", "BaseMemory"],
224
                "category": "Memory",
225
                "description": "Summarizes the conversation and stores the memory in zep server",
226
                "inputParams": [
227
                    {
228
                        "label": "Connect Credential",
229
                        "name": "credential",
230
                        "type": "credential",
231
                        "optional": true,
232
                        "description": "Configure JWT authentication on your Zep instance (Optional)",
233
                        "credentialNames": ["zepMemoryApi"],
234
                        "id": "ZepMemory_0-input-credential-credential"
235
                    },
236
                    {
237
                        "label": "Base URL",
238
                        "name": "baseURL",
239
                        "type": "string",
240
                        "default": "http://127.0.0.1:8000",
241
                        "id": "ZepMemory_0-input-baseURL-string"
242
                    },
243
                    {
244
                        "label": "Session Id",
245
                        "name": "sessionId",
246
                        "type": "string",
247
                        "description": "If not specified, a random id will be used. Learn <a target=\"_blank\" href=\"https://docs.flowiseai.com/memory/long-term-memory#ui-and-embedded-chat\">more</a>",
248
                        "default": "",
249
                        "additionalParams": true,
250
                        "optional": true,
251
                        "id": "ZepMemory_0-input-sessionId-string"
252
                    },
253
                    {
254
                        "label": "Size",
255
                        "name": "k",
256
                        "type": "number",
257
                        "default": "10",
258
                        "step": 1,
259
                        "additionalParams": true,
260
                        "description": "Window of size k to surface the last k back-and-forths to use as memory.",
261
                        "id": "ZepMemory_0-input-k-number"
262
                    },
263
                    {
264
                        "label": "AI Prefix",
265
                        "name": "aiPrefix",
266
                        "type": "string",
267
                        "default": "ai",
268
                        "additionalParams": true,
269
                        "id": "ZepMemory_0-input-aiPrefix-string"
270
                    },
271
                    {
272
                        "label": "Human Prefix",
273
                        "name": "humanPrefix",
274
                        "type": "string",
275
                        "default": "human",
276
                        "additionalParams": true,
277
                        "id": "ZepMemory_0-input-humanPrefix-string"
278
                    },
279
                    {
280
                        "label": "Memory Key",
281
                        "name": "memoryKey",
282
                        "type": "string",
283
                        "default": "chat_history",
284
                        "additionalParams": true,
285
                        "id": "ZepMemory_0-input-memoryKey-string"
286
                    },
287
                    {
288
                        "label": "Input Key",
289
                        "name": "inputKey",
290
                        "type": "string",
291
                        "default": "input",
292
                        "additionalParams": true,
293
                        "id": "ZepMemory_0-input-inputKey-string"
294
                    },
295
                    {
296
                        "label": "Output Key",
297
                        "name": "outputKey",
298
                        "type": "string",
299
                        "default": "text",
300
                        "additionalParams": true,
301
                        "id": "ZepMemory_0-input-outputKey-string"
302
                    }
303
                ],
304
                "inputAnchors": [],
305
                "inputs": {
306
                    "baseURL": "http://127.0.0.1:8000",
307
                    "sessionId": "",
308
                    "k": "10",
309
                    "aiPrefix": "ai",
310
                    "humanPrefix": "human",
311
                    "memoryKey": "chat_history",
312
                    "inputKey": "input",
313
                    "outputKey": "text"
314
                },
315
                "outputAnchors": [
316
                    {
317
                        "id": "ZepMemory_0-output-ZepMemory-ZepMemory|BaseChatMemory|BaseMemory",
318
                        "name": "ZepMemory",
319
                        "label": "ZepMemory",
320
                        "type": "ZepMemory | BaseChatMemory | BaseMemory"
321
                    }
322
                ],
323
                "outputs": {},
324
                "selected": false
325
            },
326
            "selected": false,
327
            "positionAbsolute": {
328
                "x": 420.8032935700942,
329
                "y": 92.41976641951993
330
            },
331
            "dragging": false
332
        },
333
        {
334
            "width": 300,
335
            "height": 654,
336
            "id": "qdrant_0",
337
            "position": {
338
                "x": 1186.2560075381377,
339
                "y": -86.38901299105441
340
            },
341
            "type": "customNode",
342
            "data": {
343
                "id": "qdrant_0",
344
                "label": "Qdrant",
345
                "version": 1,
346
                "name": "qdrant",
347
                "type": "Qdrant",
348
                "baseClasses": ["Qdrant", "VectorStoreRetriever", "BaseRetriever"],
349
                "category": "Vector Stores",
350
                "description": "Upsert embedded data and perform similarity search upon query using Qdrant, a scalable open source vector database written in Rust",
351
                "inputParams": [
352
                    {
353
                        "label": "Connect Credential",
354
                        "name": "credential",
355
                        "type": "credential",
356
                        "description": "Only needed when using Qdrant cloud hosted",
357
                        "optional": true,
358
                        "credentialNames": ["qdrantApi"],
359
                        "id": "qdrant_0-input-credential-credential"
360
                    },
361
                    {
362
                        "label": "Qdrant Server URL",
363
                        "name": "qdrantServerUrl",
364
                        "type": "string",
365
                        "placeholder": "http://localhost:6333",
366
                        "id": "qdrant_0-input-qdrantServerUrl-string"
367
                    },
368
                    {
369
                        "label": "Qdrant Collection Name",
370
                        "name": "qdrantCollection",
371
                        "type": "string",
372
                        "id": "qdrant_0-input-qdrantCollection-string"
373
                    },
374
                    {
375
                        "label": "Vector Dimension",
376
                        "name": "qdrantVectorDimension",
377
                        "type": "number",
378
                        "default": 1536,
379
                        "additionalParams": true,
380
                        "id": "qdrant_0-input-qdrantVectorDimension-number"
381
                    },
382
                    {
383
                        "label": "Similarity",
384
                        "name": "qdrantSimilarity",
385
                        "description": "Similarity measure used in Qdrant.",
386
                        "type": "options",
387
                        "default": "Cosine",
388
                        "options": [
389
                            {
390
                                "label": "Cosine",
391
                                "name": "Cosine"
392
                            },
393
                            {
394
                                "label": "Euclid",
395
                                "name": "Euclid"
396
                            },
397
                            {
398
                                "label": "Dot",
399
                                "name": "Dot"
400
                            }
401
                        ],
402
                        "additionalParams": true,
403
                        "id": "qdrant_0-input-qdrantSimilarity-options"
404
                    },
405
                    {
406
                        "label": "Additional Collection Cofiguration",
407
                        "name": "qdrantCollectionConfiguration",
408
                        "description": "Refer to <a target=\"_blank\" href=\"https://qdrant.tech/documentation/concepts/collections\">collection docs</a> for more reference",
409
                        "type": "json",
410
                        "optional": true,
411
                        "additionalParams": true,
412
                        "id": "qdrant_0-input-qdrantCollectionConfiguration-json"
413
                    },
414
                    {
415
                        "label": "Top K",
416
                        "name": "topK",
417
                        "description": "Number of top results to fetch. Default to 4",
418
                        "placeholder": "4",
419
                        "type": "number",
420
                        "additionalParams": true,
421
                        "optional": true,
422
                        "id": "qdrant_0-input-topK-number"
423
                    },
424
                    {
425
                        "label": "Qdrant Search Filter",
426
                        "name": "qdrantFilter",
427
                        "description": "Only return points which satisfy the conditions",
428
                        "type": "json",
429
                        "additionalParams": true,
430
                        "optional": true,
431
                        "id": "qdrant_0-input-qdrantFilter-json"
432
                    }
433
                ],
434
                "inputAnchors": [
435
                    {
436
                        "label": "Document",
437
                        "name": "document",
438
                        "type": "Document",
439
                        "list": true,
440
                        "optional": true,
441
                        "id": "qdrant_0-input-document-Document"
442
                    },
443
                    {
444
                        "label": "Embeddings",
445
                        "name": "embeddings",
446
                        "type": "Embeddings",
447
                        "id": "qdrant_0-input-embeddings-Embeddings"
448
                    }
449
                ],
450
                "inputs": {
451
                    "document": "",
452
                    "embeddings": "{{openAIEmbeddings_0.data.instance}}",
453
                    "qdrantServerUrl": "",
454
                    "qdrantCollection": "",
455
                    "qdrantVectorDimension": 1536,
456
                    "qdrantSimilarity": "Cosine",
457
                    "qdrantCollectionConfiguration": "",
458
                    "topK": "",
459
                    "qdrantFilter": ""
460
                },
461
                "outputAnchors": [
462
                    {
463
                        "name": "output",
464
                        "label": "Output",
465
                        "type": "options",
466
                        "options": [
467
                            {
468
                                "id": "qdrant_0-output-retriever-Qdrant|VectorStoreRetriever|BaseRetriever",
469
                                "name": "retriever",
470
                                "label": "Qdrant Retriever",
471
                                "type": "Qdrant | VectorStoreRetriever | BaseRetriever"
472
                            },
473
                            {
474
                                "id": "qdrant_0-output-vectorStore-Qdrant|VectorStore",
475
                                "name": "vectorStore",
476
                                "label": "Qdrant Vector Store",
477
                                "type": "Qdrant | VectorStore"
478
                            }
479
                        ],
480
                        "default": "retriever"
481
                    }
482
                ],
483
                "outputs": {
484
                    "output": "retriever"
485
                },
486
                "selected": false
487
            },
488
            "selected": false,
489
            "positionAbsolute": {
490
                "x": 1186.2560075381377,
491
                "y": -86.38901299105441
492
            },
493
            "dragging": false
494
        },
495
        {
496
            "width": 300,
497
            "height": 574,
498
            "id": "chatOpenAI_0",
499
            "position": {
500
                "x": 1561.0993169664887,
501
                "y": -75.4103386563329
502
            },
503
            "type": "customNode",
504
            "data": {
505
                "id": "chatOpenAI_0",
506
                "label": "ChatOpenAI",
507
                "version": 6.0,
508
                "name": "chatOpenAI",
509
                "type": "ChatOpenAI",
510
                "baseClasses": ["ChatOpenAI", "BaseChatModel", "BaseLanguageModel", "Runnable"],
511
                "category": "Chat Models",
512
                "description": "Wrapper around OpenAI large language models that use the Chat endpoint",
513
                "inputParams": [
514
                    {
515
                        "label": "Connect Credential",
516
                        "name": "credential",
517
                        "type": "credential",
518
                        "credentialNames": ["openAIApi"],
519
                        "id": "chatOpenAI_0-input-credential-credential"
520
                    },
521
                    {
522
                        "label": "Model Name",
523
                        "name": "modelName",
524
                        "type": "asyncOptions",
525
                        "loadMethod": "listModels",
526
                        "default": "gpt-3.5-turbo",
527
                        "id": "chatOpenAI_0-input-modelName-options"
528
                    },
529
                    {
530
                        "label": "Temperature",
531
                        "name": "temperature",
532
                        "type": "number",
533
                        "step": 0.1,
534
                        "default": 0.9,
535
                        "optional": true,
536
                        "id": "chatOpenAI_0-input-temperature-number"
537
                    },
538
                    {
539
                        "label": "Max Tokens",
540
                        "name": "maxTokens",
541
                        "type": "number",
542
                        "step": 1,
543
                        "optional": true,
544
                        "additionalParams": true,
545
                        "id": "chatOpenAI_0-input-maxTokens-number"
546
                    },
547
                    {
548
                        "label": "Top Probability",
549
                        "name": "topP",
550
                        "type": "number",
551
                        "step": 0.1,
552
                        "optional": true,
553
                        "additionalParams": true,
554
                        "id": "chatOpenAI_0-input-topP-number"
555
                    },
556
                    {
557
                        "label": "Frequency Penalty",
558
                        "name": "frequencyPenalty",
559
                        "type": "number",
560
                        "step": 0.1,
561
                        "optional": true,
562
                        "additionalParams": true,
563
                        "id": "chatOpenAI_0-input-frequencyPenalty-number"
564
                    },
565
                    {
566
                        "label": "Presence Penalty",
567
                        "name": "presencePenalty",
568
                        "type": "number",
569
                        "step": 0.1,
570
                        "optional": true,
571
                        "additionalParams": true,
572
                        "id": "chatOpenAI_0-input-presencePenalty-number"
573
                    },
574
                    {
575
                        "label": "Timeout",
576
                        "name": "timeout",
577
                        "type": "number",
578
                        "step": 1,
579
                        "optional": true,
580
                        "additionalParams": true,
581
                        "id": "chatOpenAI_0-input-timeout-number"
582
                    },
583
                    {
584
                        "label": "BasePath",
585
                        "name": "basepath",
586
                        "type": "string",
587
                        "optional": true,
588
                        "additionalParams": true,
589
                        "id": "chatOpenAI_0-input-basepath-string"
590
                    },
591
                    {
592
                        "label": "BaseOptions",
593
                        "name": "baseOptions",
594
                        "type": "json",
595
                        "optional": true,
596
                        "additionalParams": true,
597
                        "id": "chatOpenAI_0-input-baseOptions-json"
598
                    },
599
                    {
600
                        "label": "Allow Image Uploads",
601
                        "name": "allowImageUploads",
602
                        "type": "boolean",
603
                        "description": "Automatically uses gpt-4-vision-preview when image is being uploaded from chat. Only works with LLMChain, Conversation Chain, ReAct Agent, and Conversational Agent",
604
                        "default": false,
605
                        "optional": true,
606
                        "id": "chatOpenAI_0-input-allowImageUploads-boolean"
607
                    },
608
                    {
609
                        "label": "Image Resolution",
610
                        "description": "This parameter controls the resolution in which the model views the image.",
611
                        "name": "imageResolution",
612
                        "type": "options",
613
                        "options": [
614
                            {
615
                                "label": "Low",
616
                                "name": "low"
617
                            },
618
                            {
619
                                "label": "High",
620
                                "name": "high"
621
                            },
622
                            {
623
                                "label": "Auto",
624
                                "name": "auto"
625
                            }
626
                        ],
627
                        "default": "low",
628
                        "optional": false,
629
                        "additionalParams": true,
630
                        "id": "chatOpenAI_0-input-imageResolution-options"
631
                    }
632
                ],
633
                "inputAnchors": [
634
                    {
635
                        "label": "Cache",
636
                        "name": "cache",
637
                        "type": "BaseCache",
638
                        "optional": true,
639
                        "id": "chatOpenAI_0-input-cache-BaseCache"
640
                    }
641
                ],
642
                "inputs": {
643
                    "cache": "",
644
                    "modelName": "gpt-3.5-turbo-16k",
645
                    "temperature": 0.9,
646
                    "maxTokens": "",
647
                    "topP": "",
648
                    "frequencyPenalty": "",
649
                    "presencePenalty": "",
650
                    "timeout": "",
651
                    "basepath": "",
652
                    "baseOptions": "",
653
                    "allowImageUploads": true,
654
                    "imageResolution": "low"
655
                },
656
                "outputAnchors": [
657
                    {
658
                        "id": "chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable",
659
                        "name": "chatOpenAI",
660
                        "label": "ChatOpenAI",
661
                        "type": "ChatOpenAI | BaseChatModel | BaseLanguageModel | Runnable"
662
                    }
663
                ],
664
                "outputs": {},
665
                "selected": false
666
            },
667
            "selected": false,
668
            "positionAbsolute": {
669
                "x": 1561.0993169664887,
670
                "y": -75.4103386563329
671
            },
672
            "dragging": false
673
        }
674
    ],
675
    "edges": [
676
        {
677
            "source": "ZepMemory_0",
678
            "sourceHandle": "ZepMemory_0-output-ZepMemory-ZepMemory|BaseChatMemory|BaseMemory",
679
            "target": "conversationalRetrievalQAChain_0",
680
            "targetHandle": "conversationalRetrievalQAChain_0-input-memory-BaseMemory",
681
            "type": "buttonedge",
682
            "id": "ZepMemory_0-ZepMemory_0-output-ZepMemory-ZepMemory|BaseChatMemory|BaseMemory-conversationalRetrievalQAChain_0-conversationalRetrievalQAChain_0-input-memory-BaseMemory",
683
            "data": {
684
                "label": ""
685
            }
686
        },
687
        {
688
            "source": "openAIEmbeddings_0",
689
            "sourceHandle": "openAIEmbeddings_0-output-openAIEmbeddings-OpenAIEmbeddings|Embeddings",
690
            "target": "qdrant_0",
691
            "targetHandle": "qdrant_0-input-embeddings-Embeddings",
692
            "type": "buttonedge",
693
            "id": "openAIEmbeddings_0-openAIEmbeddings_0-output-openAIEmbeddings-OpenAIEmbeddings|Embeddings-qdrant_0-qdrant_0-input-embeddings-Embeddings",
694
            "data": {
695
                "label": ""
696
            }
697
        },
698
        {
699
            "source": "qdrant_0",
700
            "sourceHandle": "qdrant_0-output-retriever-Qdrant|VectorStoreRetriever|BaseRetriever",
701
            "target": "conversationalRetrievalQAChain_0",
702
            "targetHandle": "conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever",
703
            "type": "buttonedge",
704
            "id": "qdrant_0-qdrant_0-output-retriever-Qdrant|VectorStoreRetriever|BaseRetriever-conversationalRetrievalQAChain_0-conversationalRetrievalQAChain_0-input-vectorStoreRetriever-BaseRetriever",
705
            "data": {
706
                "label": ""
707
            }
708
        },
709
        {
710
            "source": "chatOpenAI_0",
711
            "sourceHandle": "chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable",
712
            "target": "conversationalRetrievalQAChain_0",
713
            "targetHandle": "conversationalRetrievalQAChain_0-input-model-BaseChatModel",
714
            "type": "buttonedge",
715
            "id": "chatOpenAI_0-chatOpenAI_0-output-chatOpenAI-ChatOpenAI|BaseChatModel|BaseLanguageModel|Runnable-conversationalRetrievalQAChain_0-conversationalRetrievalQAChain_0-input-model-BaseChatModel",
716
            "data": {
717
                "label": ""
718
            }
719
        }
720
    ]
721
}
722

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.