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+
{
|
4 |
+
"id": "toolAgent_0",
|
5 |
+
"position": {
|
6 |
+
"x": 661,
|
7 |
+
"y": 264
|
8 |
+
},
|
9 |
+
"type": "customNode",
|
10 |
+
"data": {
|
11 |
+
"id": "toolAgent_0",
|
12 |
+
"label": "Tool Agent",
|
13 |
+
"version": 2,
|
14 |
+
"name": "toolAgent",
|
15 |
+
"type": "AgentExecutor",
|
16 |
+
"baseClasses": [
|
17 |
+
"AgentExecutor",
|
18 |
+
"BaseChain",
|
19 |
+
"Runnable"
|
20 |
+
],
|
21 |
+
"category": "Agents",
|
22 |
+
"description": "Agent that uses Function Calling to pick the tools and args to call",
|
23 |
+
"inputParams": [
|
24 |
+
{
|
25 |
+
"label": "System Message",
|
26 |
+
"name": "systemMessage",
|
27 |
+
"type": "string",
|
28 |
+
"default": "You are a helpful AI assistant.",
|
29 |
+
"description": "If Chat Prompt Template is provided, this will be ignored",
|
30 |
+
"rows": 4,
|
31 |
+
"optional": true,
|
32 |
+
"additionalParams": true,
|
33 |
+
"id": "toolAgent_0-input-systemMessage-string"
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"label": "Max Iterations",
|
37 |
+
"name": "maxIterations",
|
38 |
+
"type": "number",
|
39 |
+
"optional": true,
|
40 |
+
"additionalParams": true,
|
41 |
+
"id": "toolAgent_0-input-maxIterations-number"
|
42 |
+
}
|
43 |
+
],
|
44 |
+
"inputAnchors": [
|
45 |
+
{
|
46 |
+
"label": "Tools",
|
47 |
+
"name": "tools",
|
48 |
+
"type": "Tool",
|
49 |
+
"list": true,
|
50 |
+
"id": "toolAgent_0-input-tools-Tool"
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"label": "Memory",
|
54 |
+
"name": "memory",
|
55 |
+
"type": "BaseChatMemory",
|
56 |
+
"id": "toolAgent_0-input-memory-BaseChatMemory"
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"label": "Tool Calling Chat Model",
|
60 |
+
"name": "model",
|
61 |
+
"type": "BaseChatModel",
|
62 |
+
"description": "Only compatible with models that are capable of function calling: ChatOpenAI, ChatMistral, ChatAnthropic, ChatGoogleGenerativeAI, ChatVertexAI, GroqChat",
|
63 |
+
"id": "toolAgent_0-input-model-BaseChatModel"
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"label": "Chat Prompt Template",
|
67 |
+
"name": "chatPromptTemplate",
|
68 |
+
"type": "ChatPromptTemplate",
|
69 |
+
"description": "Override existing prompt with Chat Prompt Template. Human Message must includes {input} variable",
|
70 |
+
"optional": true,
|
71 |
+
"id": "toolAgent_0-input-chatPromptTemplate-ChatPromptTemplate"
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"label": "Input Moderation",
|
75 |
+
"description": "Detect text that could generate harmful output and prevent it from being sent to the language model",
|
76 |
+
"name": "inputModeration",
|
77 |
+
"type": "Moderation",
|
78 |
+
"optional": true,
|
79 |
+
"list": true,
|
80 |
+
"id": "toolAgent_0-input-inputModeration-Moderation"
|
81 |
+
}
|
82 |
+
],
|
83 |
+
"inputs": {
|
84 |
+
"tools": [
|
85 |
+
"{{retrieverTool_0.data.instance}}"
|
86 |
+
],
|
87 |
+
"memory": "{{bufferWindowMemory_0.data.instance}}",
|
88 |
+
"model": "{{groqChat_0.data.instance}}",
|
89 |
+
"chatPromptTemplate": "",
|
90 |
+
"systemMessage": "#Role\n\nyour name is luxura bot .you are customer support agent for a hotel called luxura hotel.\n\nkeep the answer precise and use the knowledge base to answer question about the hotel.",
|
91 |
+
"inputModeration": "",
|
92 |
+
"maxIterations": ""
|
93 |
+
},
|
94 |
+
"outputAnchors": [
|
95 |
+
{
|
96 |
+
"id": "toolAgent_0-output-toolAgent-AgentExecutor|BaseChain|Runnable",
|
97 |
+
"name": "toolAgent",
|
98 |
+
"label": "AgentExecutor",
|
99 |
+
"description": "Agent that uses Function Calling to pick the tools and args to call",
|
100 |
+
"type": "AgentExecutor | BaseChain | Runnable"
|
101 |
+
}
|
102 |
+
],
|
103 |
+
"outputs": {},
|
104 |
+
"selected": false
|
105 |
+
},
|
106 |
+
"width": 300,
|
107 |
+
"height": 487,
|
108 |
+
"selected": false,
|
109 |
+
"dragging": false,
|
110 |
+
"positionAbsolute": {
|
111 |
+
"x": 661,
|
112 |
+
"y": 264
|
113 |
+
}
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"id": "groqChat_0",
|
117 |
+
"position": {
|
118 |
+
"x": 160.3590722234158,
|
119 |
+
"y": -93.32232287284276
|
120 |
+
},
|
121 |
+
"type": "customNode",
|
122 |
+
"data": {
|
123 |
+
"id": "groqChat_0",
|
124 |
+
"label": "GroqChat",
|
125 |
+
"version": 4,
|
126 |
+
"name": "groqChat",
|
127 |
+
"type": "GroqChat",
|
128 |
+
"baseClasses": [
|
129 |
+
"GroqChat",
|
130 |
+
"BaseChatModel",
|
131 |
+
"BaseLanguageModel",
|
132 |
+
"Runnable"
|
133 |
+
],
|
134 |
+
"category": "Chat Models",
|
135 |
+
"description": "Wrapper around Groq API with LPU Inference Engine",
|
136 |
+
"inputParams": [
|
137 |
+
{
|
138 |
+
"label": "Connect Credential",
|
139 |
+
"name": "credential",
|
140 |
+
"type": "credential",
|
141 |
+
"credentialNames": [
|
142 |
+
"groqApi"
|
143 |
+
],
|
144 |
+
"optional": true,
|
145 |
+
"id": "groqChat_0-input-credential-credential"
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"label": "Model Name",
|
149 |
+
"name": "modelName",
|
150 |
+
"type": "asyncOptions",
|
151 |
+
"loadMethod": "listModels",
|
152 |
+
"placeholder": "llama3-70b-8192",
|
153 |
+
"id": "groqChat_0-input-modelName-asyncOptions"
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"label": "Temperature",
|
157 |
+
"name": "temperature",
|
158 |
+
"type": "number",
|
159 |
+
"step": 0.1,
|
160 |
+
"default": 0.9,
|
161 |
+
"optional": true,
|
162 |
+
"id": "groqChat_0-input-temperature-number"
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"label": "Streaming",
|
166 |
+
"name": "streaming",
|
167 |
+
"type": "boolean",
|
168 |
+
"default": true,
|
169 |
+
"optional": true,
|
170 |
+
"id": "groqChat_0-input-streaming-boolean"
|
171 |
+
}
|
172 |
+
],
|
173 |
+
"inputAnchors": [
|
174 |
+
{
|
175 |
+
"label": "Cache",
|
176 |
+
"name": "cache",
|
177 |
+
"type": "BaseCache",
|
178 |
+
"optional": true,
|
179 |
+
"id": "groqChat_0-input-cache-BaseCache"
|
180 |
+
}
|
181 |
+
],
|
182 |
+
"inputs": {
|
183 |
+
"cache": "",
|
184 |
+
"modelName": "llama-3.3-70b-versatile",
|
185 |
+
"temperature": "0.4",
|
186 |
+
"streaming": true
|
187 |
+
},
|
188 |
+
"outputAnchors": [
|
189 |
+
{
|
190 |
+
"id": "groqChat_0-output-groqChat-GroqChat|BaseChatModel|BaseLanguageModel|Runnable",
|
191 |
+
"name": "groqChat",
|
192 |
+
"label": "GroqChat",
|
193 |
+
"description": "Wrapper around Groq API with LPU Inference Engine",
|
194 |
+
"type": "GroqChat | BaseChatModel | BaseLanguageModel | Runnable"
|
195 |
+
}
|
196 |
+
],
|
197 |
+
"outputs": {},
|
198 |
+
"selected": false
|
199 |
+
},
|
200 |
+
"width": 300,
|
201 |
+
"height": 618,
|
202 |
+
"selected": false,
|
203 |
+
"positionAbsolute": {
|
204 |
+
"x": 160.3590722234158,
|
205 |
+
"y": -93.32232287284276
|
206 |
+
},
|
207 |
+
"dragging": false
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"id": "bufferWindowMemory_0",
|
211 |
+
"position": {
|
212 |
+
"x": -247.73537894990494,
|
213 |
+
"y": 439.21842953905013
|
214 |
+
},
|
215 |
+
"type": "customNode",
|
216 |
+
"data": {
|
217 |
+
"id": "bufferWindowMemory_0",
|
218 |
+
"label": "Buffer Window Memory",
|
219 |
+
"version": 2,
|
220 |
+
"name": "bufferWindowMemory",
|
221 |
+
"type": "BufferWindowMemory",
|
222 |
+
"baseClasses": [
|
223 |
+
"BufferWindowMemory",
|
224 |
+
"BaseChatMemory",
|
225 |
+
"BaseMemory"
|
226 |
+
],
|
227 |
+
"category": "Memory",
|
228 |
+
"description": "Uses a window of size k to surface the last k back-and-forth to use as memory",
|
229 |
+
"inputParams": [
|
230 |
+
{
|
231 |
+
"label": "Size",
|
232 |
+
"name": "k",
|
233 |
+
"type": "number",
|
234 |
+
"default": "4",
|
235 |
+
"description": "Window of size k to surface the last k back-and-forth to use as memory.",
|
236 |
+
"id": "bufferWindowMemory_0-input-k-number"
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"label": "Session Id",
|
240 |
+
"name": "sessionId",
|
241 |
+
"type": "string",
|
242 |
+
"description": "If not specified, a random id will be used. Learn <a target=\"_blank\" href=\"https://docs.flowiseai.com/memory#ui-and-embedded-chat\">more</a>",
|
243 |
+
"default": "",
|
244 |
+
"optional": true,
|
245 |
+
"additionalParams": true,
|
246 |
+
"id": "bufferWindowMemory_0-input-sessionId-string"
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"label": "Memory Key",
|
250 |
+
"name": "memoryKey",
|
251 |
+
"type": "string",
|
252 |
+
"default": "chat_history",
|
253 |
+
"additionalParams": true,
|
254 |
+
"id": "bufferWindowMemory_0-input-memoryKey-string"
|
255 |
+
}
|
256 |
+
],
|
257 |
+
"inputAnchors": [],
|
258 |
+
"inputs": {
|
259 |
+
"k": "20",
|
260 |
+
"sessionId": "",
|
261 |
+
"memoryKey": "chat_history"
|
262 |
+
},
|
263 |
+
"outputAnchors": [
|
264 |
+
{
|
265 |
+
"id": "bufferWindowMemory_0-output-bufferWindowMemory-BufferWindowMemory|BaseChatMemory|BaseMemory",
|
266 |
+
"name": "bufferWindowMemory",
|
267 |
+
"label": "BufferWindowMemory",
|
268 |
+
"description": "Uses a window of size k to surface the last k back-and-forth to use as memory",
|
269 |
+
"type": "BufferWindowMemory | BaseChatMemory | BaseMemory"
|
270 |
+
}
|
271 |
+
],
|
272 |
+
"outputs": {},
|
273 |
+
"selected": false
|
274 |
+
},
|
275 |
+
"width": 300,
|
276 |
+
"height": 332,
|
277 |
+
"selected": false,
|
278 |
+
"positionAbsolute": {
|
279 |
+
"x": -247.73537894990494,
|
280 |
+
"y": 439.21842953905013
|
281 |
+
},
|
282 |
+
"dragging": false
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"id": "retrieverTool_0",
|
286 |
+
"position": {
|
287 |
+
"x": -620.1119849245264,
|
288 |
+
"y": 207.33661013973557
|
289 |
+
},
|
290 |
+
"type": "customNode",
|
291 |
+
"data": {
|
292 |
+
"id": "retrieverTool_0",
|
293 |
+
"label": "Retriever Tool",
|
294 |
+
"version": 3,
|
295 |
+
"name": "retrieverTool",
|
296 |
+
"type": "RetrieverTool",
|
297 |
+
"baseClasses": [
|
298 |
+
"RetrieverTool",
|
299 |
+
"DynamicTool",
|
300 |
+
"Tool",
|
301 |
+
"StructuredTool",
|
302 |
+
"Runnable"
|
303 |
+
],
|
304 |
+
"category": "Tools",
|
305 |
+
"description": "Use a retriever as allowed tool for agent",
|
306 |
+
"inputParams": [
|
307 |
+
{
|
308 |
+
"label": "Retriever Name",
|
309 |
+
"name": "name",
|
310 |
+
"type": "string",
|
311 |
+
"placeholder": "search_state_of_union",
|
312 |
+
"id": "retrieverTool_0-input-name-string"
|
313 |
+
},
|
314 |
+
{
|
315 |
+
"label": "Retriever Description",
|
316 |
+
"name": "description",
|
317 |
+
"type": "string",
|
318 |
+
"description": "When should agent uses to retrieve documents",
|
319 |
+
"rows": 3,
|
320 |
+
"placeholder": "Searches and returns documents regarding the state-of-the-union.",
|
321 |
+
"id": "retrieverTool_0-input-description-string"
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"label": "Return Source Documents",
|
325 |
+
"name": "returnSourceDocuments",
|
326 |
+
"type": "boolean",
|
327 |
+
"optional": true,
|
328 |
+
"id": "retrieverTool_0-input-returnSourceDocuments-boolean"
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"label": "Additional Metadata Filter",
|
332 |
+
"name": "retrieverToolMetadataFilter",
|
333 |
+
"type": "json",
|
334 |
+
"description": "Add additional metadata filter on top of the existing filter from vector store",
|
335 |
+
"optional": true,
|
336 |
+
"additionalParams": true,
|
337 |
+
"hint": {
|
338 |
+
"label": "What can you filter?",
|
339 |
+
"value": "Add additional filters to vector store. You can also filter with flow config, including the current \"state\":\n- `$flow.sessionId`\n- `$flow.chatId`\n- `$flow.chatflowId`\n- `$flow.input`\n- `$flow.state`\n"
|
340 |
+
},
|
341 |
+
"id": "retrieverTool_0-input-retrieverToolMetadataFilter-json"
|
342 |
+
}
|
343 |
+
],
|
344 |
+
"inputAnchors": [
|
345 |
+
{
|
346 |
+
"label": "Retriever",
|
347 |
+
"name": "retriever",
|
348 |
+
"type": "BaseRetriever",
|
349 |
+
"id": "retrieverTool_0-input-retriever-BaseRetriever"
|
350 |
+
}
|
351 |
+
],
|
352 |
+
"inputs": {
|
353 |
+
"name": "luxura_hotel",
|
354 |
+
"description": "returns document related to faq hotel.",
|
355 |
+
"retriever": "{{documentStoreVS_0.data.instance}}",
|
356 |
+
"returnSourceDocuments": "",
|
357 |
+
"retrieverToolMetadataFilter": ""
|
358 |
+
},
|
359 |
+
"outputAnchors": [
|
360 |
+
{
|
361 |
+
"id": "retrieverTool_0-output-retrieverTool-RetrieverTool|DynamicTool|Tool|StructuredTool|Runnable",
|
362 |
+
"name": "retrieverTool",
|
363 |
+
"label": "RetrieverTool",
|
364 |
+
"description": "Use a retriever as allowed tool for agent",
|
365 |
+
"type": "RetrieverTool | DynamicTool | Tool | StructuredTool | Runnable"
|
366 |
+
}
|
367 |
+
],
|
368 |
+
"outputs": {},
|
369 |
+
"selected": false
|
370 |
+
},
|
371 |
+
"width": 300,
|
372 |
+
"height": 656,
|
373 |
+
"selected": false,
|
374 |
+
"positionAbsolute": {
|
375 |
+
"x": -620.1119849245264,
|
376 |
+
"y": 207.33661013973557
|
377 |
+
},
|
378 |
+
"dragging": false
|
379 |
+
},
|
380 |
+
{
|
381 |
+
"id": "documentStoreVS_0",
|
382 |
+
"position": {
|
383 |
+
"x": -1025.8695791956343,
|
384 |
+
"y": 256.1116583611472
|
385 |
+
},
|
386 |
+
"type": "customNode",
|
387 |
+
"data": {
|
388 |
+
"id": "documentStoreVS_0",
|
389 |
+
"label": "Document Store (Vector)",
|
390 |
+
"version": 1,
|
391 |
+
"name": "documentStoreVS",
|
392 |
+
"type": "DocumentStoreVS",
|
393 |
+
"baseClasses": [
|
394 |
+
"DocumentStoreVS"
|
395 |
+
],
|
396 |
+
"category": "Vector Stores",
|
397 |
+
"description": "Search and retrieve documents from Document Store",
|
398 |
+
"inputParams": [
|
399 |
+
{
|
400 |
+
"label": "Select Store",
|
401 |
+
"name": "selectedStore",
|
402 |
+
"type": "asyncOptions",
|
403 |
+
"loadMethod": "listStores",
|
404 |
+
"id": "documentStoreVS_0-input-selectedStore-asyncOptions"
|
405 |
+
}
|
406 |
+
],
|
407 |
+
"inputAnchors": [],
|
408 |
+
"inputs": {
|
409 |
+
"selectedStore": "a067857c-17ca-4a19-bec0-12588278a984"
|
410 |
+
},
|
411 |
+
"outputAnchors": [
|
412 |
+
{
|
413 |
+
"name": "output",
|
414 |
+
"label": "Output",
|
415 |
+
"type": "options",
|
416 |
+
"description": "",
|
417 |
+
"options": [
|
418 |
+
{
|
419 |
+
"id": "documentStoreVS_0-output-retriever-BaseRetriever",
|
420 |
+
"name": "retriever",
|
421 |
+
"label": "Retriever",
|
422 |
+
"description": "",
|
423 |
+
"type": "BaseRetriever"
|
424 |
+
},
|
425 |
+
{
|
426 |
+
"id": "documentStoreVS_0-output-vectorStore-VectorStore",
|
427 |
+
"name": "vectorStore",
|
428 |
+
"label": "Vector Store",
|
429 |
+
"description": "",
|
430 |
+
"type": "VectorStore"
|
431 |
+
}
|
432 |
+
],
|
433 |
+
"default": "retriever"
|
434 |
+
}
|
435 |
+
],
|
436 |
+
"outputs": {
|
437 |
+
"output": "retriever"
|
438 |
+
},
|
439 |
+
"selected": false
|
440 |
+
},
|
441 |
+
"width": 300,
|
442 |
+
"height": 313,
|
443 |
+
"selected": false,
|
444 |
+
"positionAbsolute": {
|
445 |
+
"x": -1025.8695791956343,
|
446 |
+
"y": 256.1116583611472
|
447 |
+
},
|
448 |
+
"dragging": false
|
449 |
+
}
|
450 |
+
],
|
451 |
+
"edges": [
|
452 |
+
{
|
453 |
+
"source": "bufferWindowMemory_0",
|
454 |
+
"sourceHandle": "bufferWindowMemory_0-output-bufferWindowMemory-BufferWindowMemory|BaseChatMemory|BaseMemory",
|
455 |
+
"target": "toolAgent_0",
|
456 |
+
"targetHandle": "toolAgent_0-input-memory-BaseChatMemory",
|
457 |
+
"type": "buttonedge",
|
458 |
+
"id": "bufferWindowMemory_0-bufferWindowMemory_0-output-bufferWindowMemory-BufferWindowMemory|BaseChatMemory|BaseMemory-toolAgent_0-toolAgent_0-input-memory-BaseChatMemory"
|
459 |
+
},
|
460 |
+
{
|
461 |
+
"source": "retrieverTool_0",
|
462 |
+
"sourceHandle": "retrieverTool_0-output-retrieverTool-RetrieverTool|DynamicTool|Tool|StructuredTool|Runnable",
|
463 |
+
"target": "toolAgent_0",
|
464 |
+
"targetHandle": "toolAgent_0-input-tools-Tool",
|
465 |
+
"type": "buttonedge",
|
466 |
+
"id": "retrieverTool_0-retrieverTool_0-output-retrieverTool-RetrieverTool|DynamicTool|Tool|StructuredTool|Runnable-toolAgent_0-toolAgent_0-input-tools-Tool"
|
467 |
+
},
|
468 |
+
{
|
469 |
+
"source": "documentStoreVS_0",
|
470 |
+
"sourceHandle": "documentStoreVS_0-output-retriever-BaseRetriever",
|
471 |
+
"target": "retrieverTool_0",
|
472 |
+
"targetHandle": "retrieverTool_0-input-retriever-BaseRetriever",
|
473 |
+
"type": "buttonedge",
|
474 |
+
"id": "documentStoreVS_0-documentStoreVS_0-output-retriever-BaseRetriever-retrieverTool_0-retrieverTool_0-input-retriever-BaseRetriever"
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"source": "groqChat_0",
|
478 |
+
"sourceHandle": "groqChat_0-output-groqChat-GroqChat|BaseChatModel|BaseLanguageModel|Runnable",
|
479 |
+
"target": "toolAgent_0",
|
480 |
+
"targetHandle": "toolAgent_0-input-model-BaseChatModel",
|
481 |
+
"type": "buttonedge",
|
482 |
+
"id": "groqChat_0-groqChat_0-output-groqChat-GroqChat|BaseChatModel|BaseLanguageModel|Runnable-toolAgent_0-toolAgent_0-input-model-BaseChatModel"
|
483 |
+
}
|
484 |
+
]
|
485 |
+
}
|