Spaces:
Running
Running
{ | |
"edges": [ | |
{ | |
"id": "xy-edge__Truncate history 1output-Chat processor 1processor", | |
"source": "Truncate history 1", | |
"sourceHandle": "output", | |
"target": "Chat processor 1", | |
"targetHandle": "processor" | |
}, | |
{ | |
"id": "xy-edge__Mask 1output-Chat processor 1processor", | |
"source": "Mask 1", | |
"sourceHandle": "output", | |
"target": "Chat processor 1", | |
"targetHandle": "processor" | |
}, | |
{ | |
"id": "xy-edge__Mask 2output-Chat processor 1processor", | |
"source": "Mask 2", | |
"sourceHandle": "output", | |
"target": "Chat processor 1", | |
"targetHandle": "processor" | |
}, | |
{ | |
"id": "xy-edge__Input chat 1output-Test Chat API 2message", | |
"source": "Input chat 1", | |
"sourceHandle": "output", | |
"target": "Test Chat API 2", | |
"targetHandle": "message" | |
}, | |
{ | |
"id": "xy-edge__Test Chat API 2output-View 1input", | |
"source": "Test Chat API 2", | |
"sourceHandle": "output", | |
"target": "View 1", | |
"targetHandle": "input" | |
}, | |
{ | |
"id": "LynxScribe RAG Graph Chatbot Backend 1 Test Chat API 2", | |
"source": "LynxScribe RAG Graph Chatbot Backend 1", | |
"sourceHandle": "output", | |
"target": "Test Chat API 2", | |
"targetHandle": "chat_api" | |
}, | |
{ | |
"id": "Chat processor 1 LynxScribe RAG Graph Chatbot Backend 1", | |
"source": "Chat processor 1", | |
"sourceHandle": "output", | |
"target": "LynxScribe RAG Graph Chatbot Backend 1", | |
"targetHandle": "chat_processor" | |
}, | |
{ | |
"id": "Cloud-sourced File Listing 1 LynxScribe Text RAG Loader 1", | |
"source": "Cloud-sourced File Listing 1", | |
"sourceHandle": "output", | |
"target": "LynxScribe Text RAG Loader 1", | |
"targetHandle": "file_urls" | |
}, | |
{ | |
"id": "LynxScribe Text RAG Loader 1 LynxScribe RAG Graph Chatbot Builder 1", | |
"source": "LynxScribe Text RAG Loader 1", | |
"sourceHandle": "output", | |
"target": "LynxScribe RAG Graph Chatbot Builder 1", | |
"targetHandle": "rag_graph" | |
}, | |
{ | |
"id": "LynxScribe RAG Graph Chatbot Builder 1 LynxScribe RAG Graph Chatbot Backend 1", | |
"source": "LynxScribe RAG Graph Chatbot Builder 1", | |
"sourceHandle": "output", | |
"target": "LynxScribe RAG Graph Chatbot Backend 1", | |
"targetHandle": "knowledge_base" | |
} | |
], | |
"env": "LynxScribe", | |
"nodes": [ | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": null, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": {}, | |
"name": "Input chat", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "right", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"chat": { | |
"default": null, | |
"name": "chat", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
} | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"chat": "Wgo is Gabor?" | |
}, | |
"status": "done", | |
"title": "Input chat" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 186.0, | |
"id": "Input chat 1", | |
"parentId": null, | |
"position": { | |
"x": -2606.8829929570456, | |
"y": -648.2654341415332 | |
}, | |
"type": "basic", | |
"width": 259.0 | |
}, | |
{ | |
"data": { | |
"display": { | |
"dataframes": { | |
"df": { | |
"columns": [ | |
"answer" | |
], | |
"data": [ | |
[ | |
"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!" | |
] | |
] | |
} | |
} | |
}, | |
"error": null, | |
"meta": { | |
"inputs": { | |
"input": { | |
"name": "input", | |
"position": "left", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
} | |
}, | |
"name": "View", | |
"outputs": {}, | |
"params": {}, | |
"type": "table_view" | |
}, | |
"params": {}, | |
"status": "done", | |
"title": "View" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 950.0, | |
"id": "View 1", | |
"parentId": null, | |
"position": { | |
"x": -754.9225960536905, | |
"y": -643.161064357758 | |
}, | |
"type": "table_view", | |
"width": 1256.0 | |
}, | |
{ | |
"data": { | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": {}, | |
"name": "Truncate history", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "top", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"max_tokens": { | |
"default": 10000.0, | |
"name": "max_tokens", | |
"type": { | |
"type": "<class 'int'>" | |
} | |
} | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"max_tokens": 10000.0 | |
}, | |
"status": "done", | |
"title": "Truncate history" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 200.0, | |
"id": "Truncate history 1", | |
"parentId": null, | |
"position": { | |
"x": -1536.508533731351, | |
"y": 728.1204075546109 | |
}, | |
"type": "basic", | |
"width": 200.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": null, | |
"collapsed": false, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": { | |
"processor": { | |
"name": "processor", | |
"position": "bottom", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
} | |
}, | |
"name": "Chat processor", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "top", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": {}, | |
"type": "basic" | |
}, | |
"params": {}, | |
"status": "done", | |
"title": "Chat processor" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 89.0, | |
"id": "Chat processor 1", | |
"parentId": null, | |
"position": { | |
"x": -1527.1027075359414, | |
"y": 605.2129408898476 | |
}, | |
"type": "basic", | |
"width": 416.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": null, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": {}, | |
"name": "Mask", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "top", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"exceptions": { | |
"default": "", | |
"name": "exceptions", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"mask_pattern": { | |
"default": "", | |
"name": "mask_pattern", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"name": { | |
"default": "", | |
"name": "name", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"regex": { | |
"default": "", | |
"name": "regex", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
} | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"exceptions": "[email protected],[email protected],[email protected],[email protected]", | |
"mask_pattern": "masked_email_address_{}", | |
"name": "email", | |
"regex": "([a-z0-9!#$%&'*+\\/=?^_`{|.}~-]+@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)" | |
}, | |
"status": "done", | |
"title": "Mask" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 358.0, | |
"id": "Mask 1", | |
"parentId": null, | |
"position": { | |
"x": -1309.5065330408577, | |
"y": 731.6791509394458 | |
}, | |
"type": "basic", | |
"width": 313.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": null, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": {}, | |
"name": "Mask", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "top", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"exceptions": { | |
"default": "", | |
"name": "exceptions", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"mask_pattern": { | |
"default": "", | |
"name": "mask_pattern", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"name": { | |
"default": "", | |
"name": "name", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"regex": { | |
"default": "", | |
"name": "regex", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
} | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"exceptions": "", | |
"mask_pattern": "masked_credit_card_number_{}", | |
"name": "credit_card", | |
"regex": "((?:(?:\\\\d{4}[- ]?){3}\\\\d{4}|\\\\d{15,16}))(?![\\\\d])" | |
}, | |
"status": "done", | |
"title": "Mask" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 358.0, | |
"id": "Mask 2", | |
"parentId": null, | |
"position": { | |
"x": -983.2612912523697, | |
"y": 731.5859900002104 | |
}, | |
"type": "basic", | |
"width": 315.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": false, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": { | |
"chat_api": { | |
"name": "chat_api", | |
"position": "bottom", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
}, | |
"message": { | |
"name": "message", | |
"position": "left", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
} | |
}, | |
"name": "Test Chat API", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "right", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"show_details": { | |
"default": false, | |
"name": "show_details", | |
"type": { | |
"type": "<class 'bool'>" | |
} | |
} | |
}, | |
"type": "basic" | |
}, | |
"params": {}, | |
"status": "done", | |
"title": "Test Chat API" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 201.0, | |
"id": "Test Chat API 2", | |
"parentId": null, | |
"position": { | |
"x": -2024.044443214723, | |
"y": -654.8412606520155 | |
}, | |
"type": "basic", | |
"width": 906.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": null, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": { | |
"chat_processor": { | |
"name": "chat_processor", | |
"position": "bottom", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
}, | |
"knowledge_base": { | |
"name": "knowledge_base", | |
"position": "bottom", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
} | |
}, | |
"name": "LynxScribe RAG Graph Chatbot Backend", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "top", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"llm_interface": { | |
"default": "openai", | |
"name": "llm_interface", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"llm_model_name": { | |
"default": "gpt-4o", | |
"name": "llm_model_name", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"negative_answer": { | |
"default": "I'm sorry, but the data I've been trained on does not contain any information related to your question.", | |
"name": "negative_answer", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"retriever_limits_by_type": { | |
"default": "{}", | |
"name": "retriever_limits_by_type", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"retriever_max_iterations": { | |
"default": 3.0, | |
"name": "retriever_max_iterations", | |
"type": { | |
"type": "<class 'int'>" | |
} | |
}, | |
"retriever_overall_chunk_limit": { | |
"default": 20.0, | |
"name": "retriever_overall_chunk_limit", | |
"type": { | |
"type": "<class 'int'>" | |
} | |
}, | |
"retriever_overall_token_limit": { | |
"default": 3000.0, | |
"name": "retriever_overall_token_limit", | |
"type": { | |
"type": "<class 'int'>" | |
} | |
}, | |
"retriever_strict_limits": { | |
"default": true, | |
"name": "retriever_strict_limits", | |
"type": { | |
"type": "<class 'bool'>" | |
} | |
} | |
}, | |
"position": { | |
"x": 543.0, | |
"y": 256.0 | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"llm_interface": "openai", | |
"llm_model_name": "gpt-4o", | |
"negative_answer": "I'm sorry, but the data I've been trained on does not contain any information related to your question.", | |
"retriever_limits_by_type": "{\"information\": [1, 5], \"summary\": [0, 2], \"template_qna\": [1, 3], \"QnA question\": [0, 0]}", | |
"retriever_max_iterations": 3.0, | |
"retriever_overall_chunk_limit": "20", | |
"retriever_overall_token_limit": 3000.0, | |
"retriever_strict_limits": true | |
}, | |
"status": "done", | |
"title": "LynxScribe RAG Graph Chatbot Backend" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 556.0, | |
"id": "LynxScribe RAG Graph Chatbot Backend 1", | |
"position": { | |
"x": -2020.0, | |
"y": -188.33333333333334 | |
}, | |
"type": "basic", | |
"width": 903.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": null, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": { | |
"file_urls": { | |
"name": "file_urls", | |
"position": "left", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
} | |
}, | |
"name": "LynxScribe Text RAG Loader", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "right", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"input_type": { | |
"default": "v1", | |
"name": "input_type", | |
"type": { | |
"enum": [ | |
"V1", | |
"V2" | |
] | |
} | |
}, | |
"text_embedder_interface": { | |
"default": "openai", | |
"name": "text_embedder_interface", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"text_embedder_model_name_or_path": { | |
"default": "text-embedding-3-large", | |
"name": "text_embedder_model_name_or_path", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"vdb_collection_name": { | |
"default": "lynx", | |
"name": "vdb_collection_name", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"vdb_num_dimensions": { | |
"default": 3072.0, | |
"name": "vdb_num_dimensions", | |
"type": { | |
"type": "<class 'int'>" | |
} | |
}, | |
"vdb_provider_name": { | |
"default": "faiss", | |
"name": "vdb_provider_name", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
} | |
}, | |
"position": { | |
"x": 870.0, | |
"y": 926.0 | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"input_type": "V1", | |
"text_embedder_interface": "openai", | |
"text_embedder_model_name_or_path": "text-embedding-ada-002", | |
"vdb_collection_name": "lynx", | |
"vdb_num_dimensions": "1536", | |
"vdb_provider_name": "faiss" | |
}, | |
"status": "done", | |
"title": "LynxScribe Text RAG Loader" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 520.0, | |
"id": "LynxScribe Text RAG Loader 1", | |
"position": { | |
"x": -2980.4063452955706, | |
"y": 787.1039827859594 | |
}, | |
"type": "basic", | |
"width": 318.0 | |
}, | |
{ | |
"data": { | |
"__execution_delay": 0.0, | |
"collapsed": null, | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": {}, | |
"name": "Cloud-sourced File Listing", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "right", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"accepted_file_types": { | |
"default": ".jpg, .jpeg, .png", | |
"name": "accepted_file_types", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"cloud_provider": { | |
"default": "gcp", | |
"name": "cloud_provider", | |
"type": { | |
"enum": [ | |
"GCP", | |
"AWS", | |
"AZURE" | |
] | |
} | |
}, | |
"folder_URL": { | |
"default": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-images/image-rag-test", | |
"name": "folder_URL", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
} | |
}, | |
"position": { | |
"x": 451.0, | |
"y": 505.0 | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"accepted_file_types": ".pickle", | |
"cloud_provider": "GCP", | |
"folder_URL": "https://storage.googleapis.com/lynxkite_public_data/lynxscribe-knowledge-graphs/lynx-chatbot" | |
}, | |
"status": "done", | |
"title": "Cloud-sourced File Listing" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 324.0, | |
"id": "Cloud-sourced File Listing 1", | |
"position": { | |
"x": -3827.1644268005352, | |
"y": 883.7859821532916 | |
}, | |
"type": "basic", | |
"width": 613.0 | |
}, | |
{ | |
"data": { | |
"display": null, | |
"error": null, | |
"meta": { | |
"inputs": { | |
"rag_graph": { | |
"name": "rag_graph", | |
"position": "left", | |
"type": { | |
"type": "<class 'inspect._empty'>" | |
} | |
} | |
}, | |
"name": "LynxScribe RAG Graph Chatbot Builder", | |
"outputs": { | |
"output": { | |
"name": "output", | |
"position": "top", | |
"type": { | |
"type": "None" | |
} | |
} | |
}, | |
"params": { | |
"node_types": { | |
"default": "intent_cluster", | |
"name": "node_types", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
}, | |
"scenario_file": { | |
"default": "uploads/lynx_chatbot_scenario_selector.yaml", | |
"name": "scenario_file", | |
"type": { | |
"type": "<class 'str'>" | |
} | |
} | |
}, | |
"position": { | |
"x": 1314.0, | |
"y": 1003.0 | |
}, | |
"type": "basic" | |
}, | |
"params": { | |
"node_types": "intent_cluster", | |
"scenario_file": "uploads/lynx_chatbot_scenario_selector.yaml" | |
}, | |
"status": "done", | |
"title": "LynxScribe RAG Graph Chatbot Builder" | |
}, | |
"dragHandle": ".bg-primary", | |
"height": 238.0, | |
"id": "LynxScribe RAG Graph Chatbot Builder 1", | |
"position": { | |
"x": -2453.755433834285, | |
"y": 927.5600547745715 | |
}, | |
"type": "basic", | |
"width": 448.0 | |
} | |
] | |
} | |