2024-08-22 15:55:11 +08:00
{
"id" : 6 ,
"title" : "DB Assistant" ,
2024-09-09 10:16:16 +08:00
"description" : "An advanced agent that converts user queries into SQL statements, executes the queries, and assesses and returns the results. You must prepare three knowledge bases: 1: DDL for your database; 2: Examples of user queries converted to SQL statements; 3: A comprehensive description of your database, including but not limited to tables and records. You are also required to configure the corresponding database." ,
2024-08-22 15:55:11 +08:00
"canvas_type" : "chatbot" ,
"dsl" : {
2025-01-07 11:30:15 +08:00
"answer" : [ ] ,
"components" : {
"Answer:SocialAdsWonder" : {
"downstream" : [
"Retrieval:SillyPartsCheer" ,
"Retrieval:BrownStreetsRhyme" ,
"Retrieval:OddSingersRefuse"
] ,
"obj" : {
"component_name" : "Answer" ,
"inputs" : [ ] ,
"output" : { } ,
"params" : { }
} ,
"upstream" : [
"begin" ,
"ExeSQL:QuietRosesRun"
]
} ,
"ExeSQL:QuietRosesRun" : {
"downstream" : [
"Answer:SocialAdsWonder"
] ,
"obj" : {
"component_name" : "ExeSQL" ,
"inputs" : [ ] ,
"output" : { } ,
"params" : {
"database" : "" ,
2024-10-28 15:49:14 +08:00
"db_type" : "mysql" ,
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
2025-01-07 11:30:15 +08:00
"host" : "" ,
2024-10-28 15:49:14 +08:00
"llm_id" : "deepseek-chat@DeepSeek" ,
2025-01-07 11:30:15 +08:00
"loop" : 3 ,
2024-10-28 15:49:14 +08:00
"maxTokensEnabled" : true ,
2025-01-07 11:30:15 +08:00
"max_tokens" : 512 ,
"password" : "" ,
"port" : 6630 ,
2024-10-28 15:49:14 +08:00
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
2025-01-07 11:30:15 +08:00
"query" : [ ] ,
2024-10-28 15:49:14 +08:00
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
2025-01-07 11:30:15 +08:00
"top_n" : 30 ,
"top_p" : 0.3 ,
"username" : "root"
}
} ,
"upstream" : [
"Generate:CuteSidesBuy"
]
} ,
"Generate:CuteSidesBuy" : {
"downstream" : [
"ExeSQL:QuietRosesRun"
] ,
"obj" : {
"component_name" : "Generate" ,
"inputs" : [ ] ,
"output" : { } ,
"params" : {
"cite" : false ,
2024-10-28 15:49:14 +08:00
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
2025-01-07 11:30:15 +08:00
"max_tokens" : 512 ,
"message_history_window_size" : 1 ,
2024-10-28 15:49:14 +08:00
"parameters" : [
{
"component_id" : "Retrieval:SillyPartsCheer" ,
"id" : "2a77e574-a0a6-4a1a-af39-cb192f1d21f5" ,
"key" : "ddl_input"
} ,
{
"component_id" : "Retrieval:OddSingersRefuse" ,
"id" : "83941a85-0b59-408e-97e5-504964b0e090" ,
"key" : "db_input"
} ,
{
"component_id" : "Retrieval:BrownStreetsRhyme" ,
"id" : "c63d0ae6-7ee2-44a2-8a95-69d03c90cb44" ,
"key" : "sql_input"
}
] ,
"presence_penalty" : 0.4 ,
"prompt" : "\n##The user provides a question and you provide SQL. You will only respond with SQL code and not with any explanations.\n\n##You may use the following DDL statements as a reference for what tables might be available. Use responses to past questions also to guide you: {ddl_input}.\n\n##You may use the following documentation as a reference for what tables might be available. Use responses to past questions also to guide you: {db_input}.\n\n##You may use the following SQL statements as a reference for what tables might be available. Use responses to past questions also to guide you: {sql_input}.\n\n##Respond with only SQL code. Do not answer with any explanations -- just the code." ,
"temperature" : 0.1 ,
"top_p" : 0.3
2025-01-07 11:30:15 +08:00
}
} ,
"upstream" : [
"Retrieval:SillyPartsCheer" ,
"Retrieval:BrownStreetsRhyme" ,
"Retrieval:OddSingersRefuse"
]
} ,
"Retrieval:BrownStreetsRhyme" : {
"downstream" : [
"Generate:CuteSidesBuy"
] ,
"obj" : {
"component_name" : "Retrieval" ,
"inputs" : [ ] ,
"output" : { } ,
"params" : {
2024-10-28 15:49:14 +08:00
"empty_response" : "Nothing found in Q->SQL!" ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.3 ,
2025-01-07 11:30:15 +08:00
"query" : [
{
"component_id" : "Answer:SocialAdsWonder" ,
"type" : "reference"
}
] ,
2024-10-28 15:49:14 +08:00
"similarity_threshold" : 0.2 ,
"top_n" : 8
2025-01-07 11:30:15 +08:00
}
} ,
"upstream" : [
"Answer:SocialAdsWonder"
]
} ,
"Retrieval:OddSingersRefuse" : {
"downstream" : [
"Generate:CuteSidesBuy"
] ,
"obj" : {
"component_name" : "Retrieval" ,
"inputs" : [ ] ,
"output" : { } ,
"params" : {
2024-10-28 15:49:14 +08:00
"empty_response" : "Nothing found in DB-Description!" ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.3 ,
2025-01-07 11:30:15 +08:00
"query" : [
{
"component_id" : "Answer:SocialAdsWonder" ,
"type" : "reference"
}
] ,
2024-10-28 15:49:14 +08:00
"similarity_threshold" : 0.2 ,
"top_n" : 8
2025-01-07 11:30:15 +08:00
}
} ,
"upstream" : [
"Answer:SocialAdsWonder"
]
} ,
"Retrieval:SillyPartsCheer" : {
"downstream" : [
"Generate:CuteSidesBuy"
] ,
"obj" : {
"component_name" : "Retrieval" ,
"inputs" : [ ] ,
"output" : { } ,
"params" : {
"empty_response" : "Nothing found in DDL!" ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.1 ,
"query" : [
{
"component_id" : "Answer:SocialAdsWonder" ,
"type" : "reference"
}
] ,
"similarity_threshold" : 0.02 ,
"top_n" : 18
}
} ,
"upstream" : [
"Answer:SocialAdsWonder"
]
} ,
"begin" : {
"downstream" : [
"Answer:SocialAdsWonder"
] ,
"obj" : {
"component_name" : "Begin" ,
"inputs" : [ ] ,
"output" : {
"content" : {
"0" : {
"content" : "Hi! I'm your smart assistant. What can I do for you?"
}
}
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"params" : { }
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"upstream" : [ ]
}
} ,
"embed_id" : "BAAI/bge-large-zh-v1.5" ,
"graph" : {
"edges" : [
{
"id" : "reactflow__edge-begin-Answer:SocialAdsWonderc" ,
"markerEnd" : "logo" ,
"source" : "begin" ,
"sourceHandle" : null ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"target" : "Answer:SocialAdsWonder" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Answer:SocialAdsWonderb-Retrieval:SillyPartsCheerc" ,
"markerEnd" : "logo" ,
"source" : "Answer:SocialAdsWonder" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Retrieval:SillyPartsCheer" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Answer:SocialAdsWonderb-Retrieval:BrownStreetsRhymec" ,
"markerEnd" : "logo" ,
"source" : "Answer:SocialAdsWonder" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Retrieval:BrownStreetsRhyme" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Answer:SocialAdsWonderb-Retrieval:OddSingersRefusec" ,
"markerEnd" : "logo" ,
"source" : "Answer:SocialAdsWonder" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Retrieval:OddSingersRefuse" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Retrieval:SillyPartsCheerb-Generate:CuteSidesBuyb" ,
"markerEnd" : "logo" ,
"source" : "Retrieval:SillyPartsCheer" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:CuteSidesBuy" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Retrieval:BrownStreetsRhymeb-Generate:CuteSidesBuyb" ,
"markerEnd" : "logo" ,
"source" : "Retrieval:BrownStreetsRhyme" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:CuteSidesBuy" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Retrieval:OddSingersRefuseb-Generate:CuteSidesBuyb" ,
"markerEnd" : "logo" ,
"source" : "Retrieval:OddSingersRefuse" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:CuteSidesBuy" ,
"targetHandle" : "b" ,
"type" : "buttonEdge"
} ,
{
"id" : "xy-edge__Generate:CuteSidesBuyc-ExeSQL:QuietRosesRunb" ,
"markerEnd" : "logo" ,
"source" : "Generate:CuteSidesBuy" ,
"sourceHandle" : "c" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "ExeSQL:QuietRosesRun" ,
"targetHandle" : "b" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
} ,
{
"id" : "xy-edge__ExeSQL:QuietRosesRunc-Answer:SocialAdsWonderc" ,
"markerEnd" : "logo" ,
"source" : "ExeSQL:QuietRosesRun" ,
"sourceHandle" : "c" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Answer:SocialAdsWonder" ,
"targetHandle" : "c" ,
"type" : "buttonEdge" ,
"zIndex" : 1001
}
] ,
"nodes" : [
{
"data" : {
"label" : "Begin" ,
"name" : "begin"
} ,
"dragging" : false ,
"height" : 44 ,
"id" : "begin" ,
"measured" : {
"height" : 44 ,
"width" : 200
} ,
"position" : {
"x" : -707.997699967585 ,
"y" : 271.71609546793474
} ,
"positionAbsolute" : {
"x" : -707.997699967585 ,
"y" : 271.71609546793474
} ,
"selected" : false ,
"sourcePosition" : "left" ,
"targetPosition" : "right" ,
"type" : "beginNode" ,
"width" : 200
} ,
{
"data" : {
"form" : { } ,
"label" : "Answer" ,
"name" : "Interface"
} ,
"dragging" : false ,
"height" : 44 ,
"id" : "Answer:SocialAdsWonder" ,
"measured" : {
"height" : 44 ,
"width" : 200
} ,
"position" : {
"x" : -58.36886074370702 ,
"y" : 272.1213623212045
} ,
"positionAbsolute" : {
"x" : -58.36886074370702 ,
"y" : 272.1213623212045
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "logicNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
"text" : "The large model modifies the original SQL statement based on the error message and returns the modified SQL statement."
} ,
"label" : "Note" ,
"name" : "N: Fix SQL Statement"
} ,
"dragging" : false ,
"height" : 172 ,
"id" : "Note:SevenDancersMarry" ,
"measured" : {
"height" : 172 ,
"width" : 228
} ,
"position" : {
"x" : -62.91736862436424 ,
"y" : 93.08952291375991
} ,
"positionAbsolute" : {
"x" : -62.91736862436424 ,
"y" : 93.08952291375991
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 172 ,
"width" : 228
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
"width" : 228
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"cite" : false ,
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"maxTokensEnabled" : true ,
"max_tokens" : 512 ,
"message_history_window_size" : 1 ,
"parameter" : "Precise" ,
"parameters" : [
{
"component_id" : "Retrieval:SillyPartsCheer" ,
"id" : "2a77e574-a0a6-4a1a-af39-cb192f1d21f5" ,
"key" : "ddl_input"
} ,
{
"component_id" : "Retrieval:OddSingersRefuse" ,
"id" : "83941a85-0b59-408e-97e5-504964b0e090" ,
"key" : "db_input"
} ,
{
"component_id" : "Retrieval:BrownStreetsRhyme" ,
"id" : "c63d0ae6-7ee2-44a2-8a95-69d03c90cb44" ,
"key" : "sql_input"
}
] ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"prompt" : "\n##The user provides a question and you provide SQL. You will only respond with SQL code and not with any explanations.\n\n##You may use the following DDL statements as a reference for what tables might be available. Use responses to past questions also to guide you: {ddl_input}.\n\n##You may use the following documentation as a reference for what tables might be available. Use responses to past questions also to guide you: {db_input}.\n\n##You may use the following SQL statements as a reference for what tables might be available. Use responses to past questions also to guide you: {sql_input}.\n\n##Respond with only SQL code. Do not answer with any explanations -- just the code." ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_p" : 0.3
} ,
"label" : "Generate" ,
"name" : "Generate SQL Statement LLM"
} ,
"dragging" : false ,
"height" : 232 ,
"id" : "Generate:CuteSidesBuy" ,
"measured" : {
"height" : 232 ,
"width" : 200
} ,
"position" : {
"x" : 191.98081287844155 ,
"y" : -255.36496490928363
} ,
"positionAbsolute" : {
"x" : 191.98081287844155 ,
"y" : -255.36496490928363
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "generateNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
"empty_response" : "Nothing found in DDL!" ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.1 ,
"query" : [
{
"component_id" : "Answer:SocialAdsWonder" ,
"type" : "reference"
}
] ,
"similarity_threshold" : 0.02 ,
"top_n" : 18
} ,
"label" : "Retrieval" ,
"name" : "DDL"
} ,
"dragging" : false ,
"height" : 106 ,
"id" : "Retrieval:SillyPartsCheer" ,
"measured" : {
"height" : 106 ,
"width" : 200
} ,
"position" : {
"x" : 198.3020069445181 ,
"y" : -0.9595420072386389
} ,
"positionAbsolute" : {
"x" : 198.3020069445181 ,
"y" : -0.9595420072386389
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "retrievalNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
"empty_response" : "Nothing found in Q->SQL!" ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.3 ,
"query" : [
{
"component_id" : "Answer:SocialAdsWonder" ,
"type" : "reference"
}
] ,
"similarity_threshold" : 0.2 ,
"top_n" : 8
} ,
"label" : "Retrieval" ,
"name" : "Q->SQL"
} ,
"dragging" : false ,
"height" : 106 ,
"id" : "Retrieval:BrownStreetsRhyme" ,
"measured" : {
"height" : 106 ,
"width" : 200
} ,
"position" : {
"x" : 231.17453176754782 ,
"y" : 123.02661106951555
} ,
"positionAbsolute" : {
"x" : 231.17453176754782 ,
"y" : 123.02661106951555
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "retrievalNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
"empty_response" : "Nothing found in DB-Description!" ,
"kb_ids" : [ ] ,
"keywords_similarity_weight" : 0.3 ,
"query" : [
{
"component_id" : "Answer:SocialAdsWonder" ,
"type" : "reference"
}
] ,
"similarity_threshold" : 0.2 ,
"top_n" : 8
} ,
"label" : "Retrieval" ,
"name" : "DB Description"
} ,
"dragging" : false ,
"height" : 106 ,
"id" : "Retrieval:OddSingersRefuse" ,
"measured" : {
"height" : 106 ,
"width" : 200
} ,
"position" : {
"x" : 267.7575479510707 ,
"y" : 249.15603226400776
} ,
"positionAbsolute" : {
"x" : 267.7575479510707 ,
"y" : 249.15603226400776
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "retrievalNode" ,
"width" : 200
} ,
{
"data" : {
"form" : {
"text" : "Based on the result of the SQL execution, returns the error message to the large model if any errors occur; otherwise, returns the result to the user."
} ,
"label" : "Note" ,
"name" : "N: Analyze SQL"
} ,
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 176 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:HeavyIconsFollow" ,
"measured" : {
"height" : 176 ,
"width" : 266
} ,
"position" : {
"x" : -626.6563777191027 ,
"y" : -48.82220889683933
} ,
"positionAbsolute" : {
"x" : -626.6563777191027 ,
"y" : -48.82220889683933
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 176 ,
"width" : 266
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 266
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"text" : "Receives the user's database-related questions and displays the large model's response."
} ,
"label" : "Note" ,
"name" : "N: Interface"
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 162 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:PinkTaxesClean" ,
"measured" : {
"height" : 162 ,
"width" : 210
} ,
"position" : {
"x" : -52.004609812312424 ,
"y" : 336.95180237635077
} ,
"positionAbsolute" : {
"x" : -52.004609812312424 ,
"y" : 336.95180237635077
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 162 ,
"width" : 210
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 210
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"text" : "Searches for description about meanings of tables and fields."
} ,
"label" : "Note" ,
"name" : "N:DB Description"
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 128 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:IcyTreesPeel" ,
"measured" : {
"height" : 128 ,
"width" : 251
} ,
"position" : {
"x" : 280.8431980571563 ,
"y" : 394.1463067004627
} ,
"positionAbsolute" : {
"x" : 280.8431980571563 ,
"y" : 394.1463067004627
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 128 ,
"width" : 251
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 251
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"text" : "Searches for samples about question to SQL.\nPlease check this dataset: https://huggingface.co/datasets/InfiniFlow/text2sql"
} ,
"label" : "Note" ,
"name" : "N: Q->SQL"
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 131 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:HugeGroupsScream" ,
"measured" : {
"height" : 131 ,
"width" : 387
} ,
"position" : {
"x" : 606.1206536213404 ,
"y" : 113.09441734894426
} ,
"positionAbsolute" : {
"x" : 606.1206536213404 ,
"y" : 113.09441734894426
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 131 ,
"width" : 387
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 387
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"text" : "DDL(Data Definition Language).\n\nSearches for relevant database creation statements.\n\nIt should bind with a KB to which DDL is dumped in.\nYou could use 'General' as parsing method and ';' as delimiter."
} ,
"label" : "Note" ,
"name" : "N: DDL"
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 266 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:GreenCrewsArrive" ,
"measured" : {
"height" : 266 ,
"width" : 266
} ,
"position" : {
"x" : 545.3423934788841 ,
"y" : -166.58872868890683
} ,
"positionAbsolute" : {
"x" : 545.3423934788841 ,
"y" : -166.58872868890683
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 266 ,
"width" : 266
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 266
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"text" : "The large model learns which tables may be available based on the responses from three knowledge bases and converts the user's input into SQL statements."
} ,
"label" : "Note" ,
"name" : "N: Generate SQL"
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 175 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:EightTurtlesLike" ,
"measured" : {
"height" : 175 ,
"width" : 265
} ,
"position" : {
"x" : 222.2150747084395 ,
"y" : -445.32694170868734
} ,
"positionAbsolute" : {
"x" : 222.2150747084395 ,
"y" : -445.32694170868734
} ,
"resizing" : false ,
"selected" : false ,
"sourcePosition" : "right" ,
"style" : {
"height" : 175 ,
"width" : 265
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 265
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"text" : "Executes the SQL statement in the database and returns the result.\n\nAfter configuring an accessible database, press 'Test' to ensure the accessibility."
} ,
"label" : "Note" ,
"name" : "N: Execute SQL"
2024-10-28 15:49:14 +08:00
} ,
2025-01-07 11:30:15 +08:00
"dragHandle" : ".note-drag-handle" ,
"dragging" : false ,
2024-10-28 15:49:14 +08:00
"height" : 178 ,
2025-01-07 11:30:15 +08:00
"id" : "Note:FreshKidsTalk" ,
"measured" : {
"height" : 178 ,
"width" : 346
} ,
"position" : {
"x" : -293.35258272850365 ,
"y" : -206.3839921107096
} ,
"positionAbsolute" : {
"x" : -251.5866574377311 ,
"y" : -372.2192837064241
} ,
"resizing" : false ,
"selected" : true ,
"sourcePosition" : "right" ,
"style" : {
"height" : 178 ,
"width" : 346
} ,
"targetPosition" : "left" ,
"type" : "noteNode" ,
2024-10-28 15:49:14 +08:00
"width" : 346
} ,
2025-01-07 11:30:15 +08:00
{
"data" : {
"form" : {
"database" : "" ,
"db_type" : "mysql" ,
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"host" : "" ,
"llm_id" : "deepseek-chat@DeepSeek" ,
"loop" : 3 ,
"maxTokensEnabled" : true ,
"max_tokens" : 512 ,
"password" : "" ,
"port" : 6630 ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"query" : [ ] ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_n" : 30 ,
"top_p" : 0.3 ,
"username" : "root"
} ,
"label" : "ExeSQL" ,
"name" : "ExeSQL_0"
} ,
"dragging" : false ,
"id" : "ExeSQL:QuietRosesRun" ,
"measured" : {
"height" : 64 ,
"width" : 200
} ,
"position" : {
"x" : -318.61920731731163 ,
"y" : 3.5145731711609436
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "ragNode"
}
]
} ,
"history" : [ ] ,
"messages" : [ ] ,
"path" : [ ] ,
"reference" : [ ]
2024-10-28 15:49:14 +08:00
} ,
2024-08-22 15:55:11 +08:00
"avatar" : " d a t a : i m a g e / p n g ; b a s e 64 , i V B O R w 0 K G g o A A A A N S U h E U g A A A J A A A A C L C A Y A A A C O V x D g A A A A A X N S R 0 I A r s 4 c 6 Q A A A A R n Q U 1 B A A C x j w v 8 Y Q U A A A A J c E h Z c w A A D s E A A A 7 B A b i R a + 0 A A F Z S S U R B V H h e 7 b 0 H n F 1 X d e + / b m / T N D M a S Z a 73 I 2 N K w 6 G Q D C f h C S 8 A C F 5 D x M g C S G E 0 J K X S k z K S y H 5 J 0 5 I h + Q l n / Q C O J A Q e g K Y E I M x t g G D u y 3 J l i x p 1 K f d u b 2833 e f u 2 b O j O 5 I Y z U E f y 1 p z 2 n 77 L L W b 6 + y z z 7 n J r o i O 0 2 n 6 S g p 2 d u e p t N 0 V H Q a Q K f p m O g 0 g E 7 T M d F p A J 2 m Y 6 L T A D p N x 0 S n A X S a j o n + f w c g Z i 1 O z 1 w c P / q G n Q d a 3 u x E I r F w L r 4 P s c 85 U q f T W d h 38 u s n g p a 3 E z p S X S e y P c e b v m k m E r 0 b R 8 N 4 v 5 c t A F t O l L m c T V 7 P S t u n S 5 Q f r + d o y z n Z 9E07 E w 0 Q S K 1 W y 9 r t t j U a j Z C a z W Y 4 z x Y h l U o l y 2 Q y I Z / f B 7 k w X b B x 8 n O e o G Q y 8 g Y 4 T q V S Y c u 5 + D 4 p v h + n f v V 8 I 9 A 3 P I A Q P G C o 1 + t h W 61 W r V K p B N B w D G j i Y H K A Q A h s Y G D A 1 q 5 d G / Z h B c k F 7 c d + z o n j 5 e T 52 Z K o 3 / d J X q b v A y x S O p 0 O W 875 + X h d p z q d E g D y J s B c 9 k n 9 m A g A A I S D h C 3 A q d V q A S w I D Y D E h Q c t L 8 u v k Y + 6 R k d H b W x s L O R z z e T 3 r k R c X w 3 r V s r D e a / D 63 M w s f W U z W Y P a X + / M o / U 3 h N F p 5 Q G i j M V 4 t h B 41 p m a m o q J P b j 2 g T G c y / M X k 2 X v C 7 P C 4 A A k m u r k y k Q 2 t C v z Q 4 i + g a Q M L V s + 7 X t Z L Y 3 T q e c C U M r A B o A 4 m a J J r p Q 2 e c 6 C Q 3 k 2 o d j r g G g 1 T K T / A i H O q F 169 b Z 4 O B g O E 86 W e T t 9 X q 9 n 34 O c i 3 k I M r l c m G f 9 P W k k w o g Z 0 4 / Q s s A h n 6 A i G s V 33 e G I v z 4 v Y D O 74 W o z + 8 h u X D 8 f j / H P Y x 2 Q I R j H d d u J 4 P i o O n H I 9 r j 1 y G A T 8 r n 8 y H 1 M 3 V O 3 s c T Q S c F Q N 4 B r 8 o 7 A 1 N c i w A C E u S M O F K n / X o 8 H 2 X g H w E k L 5 N 6 v W 7 K 9 v J d K K 6 F O G Z k T 0 x M B K F w T N k k v / 9 U o X h 7 a B 8 A K h S K 2 i 41 c 54 v z q P j S S c N Q C Q X B o J B w O V y O Y D H B Q V 5 n q d L 3 E M d c f A B H s p 3 Z 5 v j e F 2 e N 84 C g F Q s F m 39 + v V B I 0 H c c y o T 7 a e N d A M A Y Y Y L h c J C + 0 8 k n T Q A 6 a 8 E l w x C n J m Z W Q K c I E h t E W t H e f k n T y b c u x p a 3 o U 4 A H 3 f T R 3 a i b p X 8 p s 4 p l 1 D Q 0 N B E 3 G N e + N l f n 2 J v q 7 U l m i g w g 58 o 6 G h 4 Q C k Z P L E t X 0 F A E U C 1 x g N R 0 6 M w 6 V n n g Z 1 u l a t V G 16 Z j o I L 5 N I q T B 1 r A c i 5 E N T A o z C v s J x n e x q P 9 l r Y S s I M W m 6 U 61 b q h U o w w F J C m X 1 t h B A Y J 9 E P t o Q N 5 + A C a A 4 m M g 3 P D x s 4 + P j S 8 o 5 u U Q f 0 t Y V 7 y y p / n a T 6 r W i T c 5 b N P E J s z j y f d 0 g V r d 1 T 8 M S 4 m + p W A r 9 S K d w t u N 98 H s g z k f X d H e v v L T A E U 4 F 6 u o g u s K / a E v u / g B q q 7 F I D S H H i C Y f r V K s N N o 2 N z s b N E x S n Z Q 4 o y a o K h o E h X O B A T p O p q y W k h l S h s J 81 Z L N h s 3 l x L y O n E Y 1 p J 2 S b x P u i i j c 1 w O Q U 3 w f 8 q 4 G j S f y Y 8 A E k N x 3 A k g k r g O g N W v W h H 0 S Z Z L 83 h N B H W l q e J K k D T Y Q B k w i U 1 a D c 1 Y 3 + T k d D c B u s 5 c 35 F Q G w B X t d 8 W z V I J p D v V D y U G U O q J J Y 1 A i Z f i j v N 5 F t j o l B 8 D S b f E 0 0 V J 1 A F n t F C O W c U K H G v a 7 D s 7 Y f 2 / d a t V O 0 h Q w W l t o b g h U a W k G o F l P d Q L G q E q F h P v 4 S 4 d A b h L V 0 S M G U E V C 6 o g h d K K t D u p I D Y j + B a J d 4 Q / 3 p 6 z b T l l L I y n b b d i N o 2 t s 0 2 D O Z t N N M T V t h V b a G q m o v m O l O M h g B Z r I f S c S W i o O I s 93 I k k G E 6 Z a W g O i 2 y 3 J y R f A 83 t 0 N m n N R M E y 4 m O m l V H / B Z g w A m m P 9 t F S o q 40 l W m g J a U A O s h L l 3 G s A V F G g g 8 n 6 A O 8 p q 7 Q H e d D x N e 2 Q C K H Q 23 J 6 Y r M u M 3 r f M 4 G W r n o 3 i x t p O r l 3 O g V / J E H H 7 G f / N g n b H d 21 P L d Y u h M O y X k J d p W T 2 a s k k k F r Z o O d / N H F d M W d S a l n U w b a C 0 S 1 g o f C K L T i n l 0 B 6 O F U Q P I Y I a 6 o z w p b Z M C H O A p z u y 1 t 914 g 73 i 8 g u t 3 J k y 4 d Z y z Y z A L N X u f T 5 G c o 0 S 1 y 5 s 0 U L u L x G d 4 Z T i W 3 g e T 8 e b u n Q M P j L I M k V 7 Y P d X 7 E P b 32 / V X N 1 a w R T B v W z g n 0 k e C Y G k q 8 G G b C J Z o E v U T q 6 L v J 159 S G b z U k r M b d W V 37 J U O V Y l z I F L I C n u y K t h p a T R k 5 G Q G y 3 y j Z Q m 7 D X X / G D d s W 688 k W a A m A w q 5 S Q i r + A w 8 / Y q //3D02NXqOzg1ZQqOyK7UodKh1gCcd+SZSL2ggqnQAtSg8jh/yhWMuKK/uSYa6dLtGRBdTCbjCVnmC+dQI6FZtaO9TdssVz7AfuuR8qzenQl1ZaafmUTqG3l1A4NsYCwK5KSS8x9xxjFZiBhxQEeUQ5vtcDPeTxyleptfj190XOxwlJEiVKhAIEMWCfeSpj9uvPvpbdmB42hqKsixVU0EyNWEEKXWUtI9rkGBfQGqnJCuZLzUgKjSQ6qVqgQ0QhmsJldftmTaaCAhlAZId2Z3OvNXTaCylestG959pf/KcP7Kbz39RkCQpLubQWRwvaEiFFDoUjspSBRJugspMiNTfglUs3Zi27uxupUnrzO22Dvszuy0xM2k2HUscT+1S2hm2XaXO1KS1e9czjRnLdeelzcrSMLL1Qr+lsOlqd1oMD6NOKrubFTiLMm20S6eOgtxJhnyLQB0EbNE2Hga3epEa55hgxE+anJy0Xbt22Z49exYiSvKQPw4QB5ID0us7ImkQ4ghrR0IUt3MKQNY3rbFx3uyMObP1SuMzZmOzZqPzlhitW2pE/lJRwCl0rFMQf3IFCakkcRWjxH5hINqWhi1RGNX5NUo6LkoLFVXPkLTYGg3wcXF+QgpjnYC6rqL6JJN1dUsrexqNF1oW0RIARRRdaksLhIth4DQFrJqSUC3z05Fwa9mU1ZXaefk0anArLz8p7Mt7z2Utm1qepD57KZ3JW0IjmKShbB2Zw7YcZikWlS1GSyUnGzKXEl6izeSi6kcoYiZRSCdoKtq1OkKILtT41gWL4PEReDJP+E4CQJguz09eNM+GDRuC1sHZnpubCyAi7d271w4cOBAAxj0AyTVUHDhe3uFIrbWW/ANMer6ZtqLGU7KtP42y5cply1dlUqspy9V0rZqxUl3aoiydtVe8OiDNdFBC3i8+7pcEPe1VwaR9asteAXuv2rVX5/f0ru2ToA/I8KmcTCOvKE68VlHBKiIYDdpOO69hPBCxvtcN3b2MehfmdaXdFholyGRLwJF26FhVnJRQm2pAg0Lzls6OWEZ+UjY3YlkhOqOUyo9YsrBmxZQqjlqqMK58Y5ZU/q4cw5YcYxxnGq4ASwySEBQNdhRtdBIKSWU+EwlFY2pDIhFFIKuhuMB8H6GiUZgwBBQ4l4AGDQNwMFNMcrJ14XMvIPLlH3FgYN7Iv2/fPtu9e3dIgGlWUScgJC+AcjqyJlJdOMayAvlGRg6zNCGmRAMXE9VtZ2TCs9ZMpa2WTii1rUloKqWSGFPZIxpwazTglZK95MfRuaqlpblSozUl8XWU/KpvSJ5PvmnNTD1yyCPHNWoSEbHqakUaZWEAr+hEf/DhR+2Wj37O9hQmBD4cVo0saaVEu6h70QISovLST8pSt8IOPpDOhhSVx8V4Ffg/SdlYMVSnyd/GnkPByVbpbRw7RRzpeY22Sbvl2qvsNRdtsrpMZkfOc1oMJdTtR94dtgiK5AJ0J9iPXahxFmCy0CKAgnv7lQfhDwGS+Dm2Hv5D1INmw18CsGxpg99DPk+hjPBff3CKJap0p2BDNmzv3/dBe8uBX7C5UZn8oA1UvoAUyiHKCtxWUnciznNdW5qhk2yCfxqVHvIn5WNyLF3PEY3XLcqJ5lPZKYXrOQ1esVoug65J3ON7N9mfXfMu+/7zvyOUAq0IoM88vsU++PgTNjtxhlVTAo0KJOIKDSB0VNVRY2hOnKL7QxJhejSe
}