[
  {
    "update_time": "2024-08-20 16:27:48",
    "parameters": null,
    "name": "⭐️大模型对话（支持多轮）",
    "description": "直接与大模型对话",
    "flow_id": "544b7e31a34e4bdcaf2fc02d6bd67f4a",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:27:48",
    "id": 171,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-BishengLLM-2839cBishengLLM|BishengLLM-2839c|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-ConversationChain-A1J5dBaseLanguageModel|llm|ConversationChain-A1J5d",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-2839c",
          "target": "ConversationChain-A1J5d",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-2839c|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ConversationChain-A1J5d"
        }
      ],
      "nodes": [
        {
          "id": "ConversationChain-A1J5d",
          "data": {
            "id": "ConversationChain-A1J5d",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ConversationChain",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "prompt": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": false,
                  "type": "BasePromptTemplate",
                  "value": {
                    "_type": "prompt",
                    "template": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n{history}\nHuman: {input}\nAI:",
                    "output_parser": null,
                    "input_variables": [
                      "history",
                      "input"
                    ],
                    "template_format": "f-string",
                    "partial_variables": {},
                    "validate_template": true
                  },
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "input",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "llm_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm_kwargs",
                  "show": false,
                  "type": "code",
                  "l2_name": "llm_kwargs",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "response",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseLLMOutputParser",
                  "value": {
                    "_type": "default"
                  },
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_final_only": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_final_only",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_final_only",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain to have a conversation and load context from memory.",
              "base_classes": [
                "ConversationChain",
                "LLMChain",
                "Chain",
                "function"
              ],
              "display_name": "ConversationChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ConversationChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 301,
          "dragging": false,
          "position": {
            "x": 960.9557711159376,
            "y": 247.42733841910135
          },
          "selected": false,
          "positionAbsolute": {
            "x": 960.9557711159376,
            "y": 247.42733841910135
          }
        },
        {
          "id": "BishengLLM-2839c",
          "data": {
            "id": "BishengLLM-2839c",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 387.2949740637953,
            "y": 154.06227685122178
          },
          "selected": true,
          "positionAbsolute": {
            "x": 387.2949740637953,
            "y": 154.06227685122178
          }
        }
      ],
      "viewport": {
        "x": 417.19304131976264,
        "y": 206.78938474334075,
        "zoom": 0.598528187050664
      }
    },
    "order_num": 6094817,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 16:32:19",
    "parameters": null,
    "name": "⭐️ 输入网址进行问答",
    "description": "输入网址，进行问答。该技能点击上线按钮以及创建会话时，都需要等待几秒钟，因为需要先执行网址数据爬取的流程。",
    "flow_id": "dc4f9e141b8d4cf390ddc2c2c51efd8e",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:32:19",
    "id": 172,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-RCPNACombineDocsChain|CombineDocsChain-RCPNA|BaseCombineDocumentsChain|function-RetrievalQA-x5napBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-RCPNA",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-RCPNA|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-Milvus-CWpaeMilvus|Milvus-CWpae|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-x5napBaseRetriever|retriever|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-CWpae",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Milvus|Milvus-CWpae|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-WebBaseLoader-af6dbWebBaseLoader|WebBaseLoader-af6db|Document-Milvus-CWpaeDocument|documents|Milvus-CWpae",
          "style": {
            "stroke": "#555"
          },
          "source": "WebBaseLoader-af6db",
          "target": "Milvus-CWpae",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "WebBaseLoader|WebBaseLoader-af6db|Document",
          "targetHandle": "Document|documents|Milvus-CWpae"
        },
        {
          "id": "reactflow__edge-OpenAIProxyEmbedding-1771bOpenAIProxyEmbedding|OpenAIProxyEmbedding-1771b|Embeddings-Milvus-CWpaeEmbeddings|embedding|Milvus-CWpae",
          "style": {
            "stroke": "#555"
          },
          "source": "OpenAIProxyEmbedding-1771b",
          "target": "Milvus-CWpae",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "OpenAIProxyEmbedding|OpenAIProxyEmbedding-1771b|Embeddings",
          "targetHandle": "Embeddings|embedding|Milvus-CWpae"
        },
        {
          "id": "reactflow__edge-BishengLLM-db49dBishengLLM|BishengLLM-db49d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-RCPNABaseLanguageModel|llm|CombineDocsChain-RCPNA",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-db49d",
          "target": "CombineDocsChain-RCPNA",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-db49d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-RCPNA"
        }
      ],
      "nodes": [
        {
          "id": "CombineDocsChain-RCPNA",
          "data": {
            "id": "CombineDocsChain-RCPNA",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "token_max": {
                  "l2": false,
                  "info": "当前只对stuff 生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 377,
          "position": {
            "x": 845.0164562381523,
            "y": 124.74220334881426
          },
          "selected": false,
          "positionAbsolute": {
            "x": 845.0164562381523,
            "y": 124.74220334881426
          }
        },
        {
          "id": "Milvus-CWpae",
          "data": {
            "id": "Milvus-CWpae",
            "node": {
              "l2_name": "知识库",
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "选择知识库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 347,
          "dragging": false,
          "position": {
            "x": 857.7079649166786,
            "y": 667.3224068392545
          },
          "selected": false,
          "positionAbsolute": {
            "x": 857.7079649166786,
            "y": 667.3224068392545
          }
        },
        {
          "id": "RetrievalQA-x5nap",
          "data": {
            "id": "RetrievalQA-x5nap",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "RetrievalQA",
                "Chain",
                "BaseRetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 1521.2877663953464,
            "y": 287.6148502766154
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1521.2877663953464,
            "y": 287.6148502766154
          }
        },
        {
          "id": "WebBaseLoader-af6db",
          "data": {
            "id": "WebBaseLoader-af6db",
            "node": {
              "l2_name": "输入网址",
              "template": {
                "_type": "WebBaseLoader",
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "web_path": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "web_path",
                  "show": true,
                  "type": "str",
                  "value": "https://dataelem.feishu.cn/wiki/ZxW6wZyAJicX4WkG0NqcWsbynde",
                  "l2_name": "网址",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Web Page"
                }
              },
              "description": "Load HTML pages using `urllib` and parse them with `BeautifulSoup'.",
              "base_classes": [
                "Document"
              ],
              "display_name": "WebBaseLoader",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_loaders/integrations/web_base"
            },
            "type": "WebBaseLoader",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 357,
          "position": {
            "x": 333.05874389504135,
            "y": 651.7320290450776
          },
          "positionAbsolute": {
            "x": 333.05874389504135,
            "y": 651.7320290450776
          }
        },
        {
          "id": "OpenAIProxyEmbedding-1771b",
          "data": {
            "id": "OpenAIProxyEmbedding-1771b",
            "node": {
              "template": {
                "_type": "proxy_embedding",
                "proxy_url": {
                  "info": "",
                  "list": false,
                  "name": "proxy_url",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "http://43.133.35.137:8080"
                }
              },
              "description": " 使用自建的embedding服务使用openai进行embed ",
              "base_classes": [
                "Embeddings"
              ],
              "display_name": "OpenAIProxyEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "OpenAIProxyEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 173,
          "position": {
            "x": 345.75546354081786,
            "y": 1048.504517975594
          },
          "positionAbsolute": {
            "x": 345.75546354081786,
            "y": 1048.504517975594
          }
        },
        {
          "id": "BishengLLM-db49d",
          "data": {
            "id": "BishengLLM-db49d",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 338.00327145994027,
            "y": 66.93400331593091
          },
          "selected": false,
          "positionAbsolute": {
            "x": 338.00327145994027,
            "y": 66.93400331593091
          }
        }
      ],
      "viewport": {
        "x": 267.90795205311633,
        "y": 35.63343348513274,
        "zoom": 0.6777805639494686
      }
    },
    "order_num": 6160352,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 16:33:49",
    "parameters": null,
    "name": "⭐️ 表格数据问答",
    "description": "上传CSV进行问答，使用CSV专用解析模块，相比通用解析模块，效果更好。\nExcel文件可以转成CSV后上传体验。",
    "flow_id": "b4a7482adcae44aa819f9ea5c7617ae5",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:33:49",
    "id": 173,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-RCPNACombineDocsChain|CombineDocsChain-RCPNA|BaseCombineDocumentsChain|function-RetrievalQA-x5napBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-RCPNA",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-RCPNA|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-Milvus-CWpaeMilvus|Milvus-CWpae|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-x5napBaseRetriever|retriever|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-CWpae",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Milvus|Milvus-CWpae|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-OpenAIProxyEmbedding-1771bOpenAIProxyEmbedding|OpenAIProxyEmbedding-1771b|Embeddings-Milvus-CWpaeEmbeddings|embedding|Milvus-CWpae",
          "style": {
            "stroke": "#555"
          },
          "source": "OpenAIProxyEmbedding-1771b",
          "target": "Milvus-CWpae",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "OpenAIProxyEmbedding|OpenAIProxyEmbedding-1771b|Embeddings",
          "targetHandle": "Embeddings|embedding|Milvus-CWpae"
        },
        {
          "id": "reactflow__edge-CSVLoader-854c0CSVLoader|CSVLoader-854c0|Document-Milvus-CWpaeDocument|documents|Milvus-CWpae",
          "style": {
            "stroke": "#555"
          },
          "source": "CSVLoader-854c0",
          "target": "Milvus-CWpae",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "CSVLoader|CSVLoader-854c0|Document",
          "targetHandle": "Document|documents|Milvus-CWpae"
        },
        {
          "id": "reactflow__edge-InputFileNode-e4363InputFileNode|InputFileNode-e4363|fileNode-CSVLoader-854c0fileNode|file_path|CSVLoader-854c0",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-e4363",
          "target": "CSVLoader-854c0",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-e4363|fileNode",
          "targetHandle": "fileNode|file_path|CSVLoader-854c0"
        },
        {
          "id": "reactflow__edge-BishengLLM-83706BishengLLM|BishengLLM-83706|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-RCPNABaseLanguageModel|llm|CombineDocsChain-RCPNA",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-83706",
          "target": "CombineDocsChain-RCPNA",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-83706|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-RCPNA"
        }
      ],
      "nodes": [
        {
          "id": "CombineDocsChain-RCPNA",
          "data": {
            "id": "CombineDocsChain-RCPNA",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "token_max": {
                  "l2": false,
                  "info": "当前只对stuff 生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 377,
          "position": {
            "x": 845.0164562381523,
            "y": 124.74220334881426
          },
          "selected": false,
          "positionAbsolute": {
            "x": 845.0164562381523,
            "y": 124.74220334881426
          }
        },
        {
          "id": "Milvus-CWpae",
          "data": {
            "id": "Milvus-CWpae",
            "node": {
              "l2_name": "知识库",
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "选择知识库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 347,
          "dragging": false,
          "position": {
            "x": 857.7079649166786,
            "y": 667.3224068392545
          },
          "selected": false,
          "positionAbsolute": {
            "x": 857.7079649166786,
            "y": 667.3224068392545
          }
        },
        {
          "id": "RetrievalQA-x5nap",
          "data": {
            "id": "RetrievalQA-x5nap",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "RetrievalQA",
                "Chain",
                "BaseRetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 1521.2877663953464,
            "y": 287.6148502766154
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1521.2877663953464,
            "y": 287.6148502766154
          }
        },
        {
          "id": "OpenAIProxyEmbedding-1771b",
          "data": {
            "id": "OpenAIProxyEmbedding-1771b",
            "node": {
              "template": {
                "_type": "proxy_embedding",
                "proxy_url": {
                  "info": "",
                  "list": false,
                  "name": "proxy_url",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "http://43.133.35.137:8080"
                }
              },
              "description": " 使用自建的embedding服务使用openai进行embed ",
              "base_classes": [
                "Embeddings"
              ],
              "display_name": "OpenAIProxyEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "OpenAIProxyEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 173,
          "dragging": false,
          "position": {
            "x": 345.75546354081786,
            "y": 1048.504517975594
          },
          "selected": false,
          "positionAbsolute": {
            "x": 345.75546354081786,
            "y": 1048.504517975594
          }
        },
        {
          "id": "CSVLoader-854c0",
          "data": {
            "id": "CSVLoader-854c0",
            "node": {
              "template": {
                "_type": "CSVLoader",
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".csv"
                  ],
                  "fileTypes": [
                    "csv"
                  ],
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load a `CSV` file into a list of Documents.",
              "base_classes": [
                "Document"
              ],
              "display_name": "CSVLoader",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_loaders/integrations/csv"
            },
            "type": "CSVLoader",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 291,
          "position": {
            "x": 326.7103840721531,
            "y": 672.2493274470351
          },
          "positionAbsolute": {
            "x": 326.7103840721531,
            "y": 672.2493274470351
          }
        },
        {
          "id": "InputFileNode-e4363",
          "data": {
            "id": "InputFileNode-e4363",
            "node": {
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".csv"
                  ],
                  "fileTypes": [
                    "csv"
                  ],
                  "file_path": null,
                  "multiline": false,
                  "placeholder": ""
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "CSV文件",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": -176.39713189174194,
            "y": 643.681708244038
          },
          "selected": false,
          "positionAbsolute": {
            "x": -176.39713189174194,
            "y": 643.681708244038
          }
        },
        {
          "id": "BishengLLM-83706",
          "data": {
            "id": "BishengLLM-83706",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 318.5459219608139,
            "y": 81.68804102649821
          },
          "selected": true,
          "positionAbsolute": {
            "x": 318.5459219608139,
            "y": 81.68804102649821
          }
        }
      ],
      "viewport": {
        "x": 270.09576536959617,
        "y": 21.63343348513274,
        "zoom": 0.6777805639494686
      }
    },
    "order_num": 6225887,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 16:43:27",
    "parameters": null,
    "name": "☘️合同审核",
    "description": "上传合同文件，自动触发预设的审查问题",
    "flow_id": "cfca77afb829477190d11b9caccaa9c4",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:43:27",
    "id": 175,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-5EyWUCombineDocsChain|CombineDocsChain-5EyWU|BaseCombineDocumentsChain|function-RetrievalQA-wKjqvBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-wKjqv",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-5EyWU",
          "target": "RetrievalQA-wKjqv",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-5EyWU|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-wKjqv"
        },
        {
          "id": "reactflow__edge-RetrievalQA-wKjqvRetrievalQA|RetrievalQA-wKjqv|Chain|RetrievalQA|BaseRetrievalQA|function-Tool-0dIGDfunction|func|Tool-0dIGD",
          "style": {
            "stroke": "#555"
          },
          "source": "RetrievalQA-wKjqv",
          "target": "Tool-0dIGD",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "RetrievalQA|RetrievalQA-wKjqv|BaseRetrievalQA|Chain|RetrievalQA|function",
          "targetHandle": "function|func|Tool-0dIGD"
        },
        {
          "id": "reactflow__edge-Milvus-hs3JXMilvus|Milvus-hs3JX|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-wKjqvBaseRetriever|retriever|RetrievalQA-wKjqv",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-hs3JX",
          "target": "RetrievalQA-wKjqv",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Milvus|Milvus-hs3JX|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-wKjqv"
        },
        {
          "id": "reactflow__edge-Tool-0dIGDTool|Tool-0dIGD|Tool|BaseTool-ZeroShotAgent-Vpn4kBaseTool|tools|ZeroShotAgent-Vpn4k",
          "style": {
            "stroke": "#555"
          },
          "source": "Tool-0dIGD",
          "target": "ZeroShotAgent-Vpn4k",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Tool|Tool-0dIGD|Tool|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-Vpn4k"
        },
        {
          "id": "reactflow__edge-OpenAIProxyEmbedding-5TAiXOpenAIProxyEmbedding|OpenAIProxyEmbedding-5TAiX|Embeddings-Milvus-hs3JXEmbeddings|embedding|Milvus-hs3JX",
          "style": {
            "stroke": "#555"
          },
          "source": "OpenAIProxyEmbedding-5TAiX",
          "target": "Milvus-hs3JX",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "OpenAIProxyEmbedding|OpenAIProxyEmbedding-5TAiX|Embeddings",
          "targetHandle": "Embeddings|embedding|Milvus-hs3JX"
        },
        {
          "id": "reactflow__edge-BingSearchAPIWrapper-9285QBingSearchAPIWrapper|BingSearchAPIWrapper-9285Q|BingSearchAPIWrapper-BingSearchRun-TAJzwBingSearchAPIWrapper|api_wrapper|BingSearchRun-TAJzw",
          "style": {
            "stroke": "#555"
          },
          "source": "BingSearchAPIWrapper-9285Q",
          "target": "BingSearchRun-TAJzw",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "BingSearchAPIWrapper|BingSearchAPIWrapper-9285Q|BingSearchAPIWrapper",
          "targetHandle": "BingSearchAPIWrapper|api_wrapper|BingSearchRun-TAJzw"
        },
        {
          "id": "reactflow__edge-BingSearchRun-TAJzwBingSearchRun|BingSearchRun-TAJzw|Tool|BaseTool|BaseTool|BingSearchRun-ZeroShotAgent-Vpn4kBaseTool|tools|ZeroShotAgent-Vpn4k",
          "style": {
            "stroke": "#555"
          },
          "source": "BingSearchRun-TAJzw",
          "target": "ZeroShotAgent-Vpn4k",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "BingSearchRun|BingSearchRun-TAJzw|Tool|BaseTool|BingSearchRun|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-Vpn4k"
        },
        {
          "id": "reactflow__edge-Calculator-g6AEOCalculator|Calculator-g6AEO|Tool|BaseTool-ZeroShotAgent-Vpn4kBaseTool|tools|ZeroShotAgent-Vpn4k",
          "style": {
            "stroke": "#555"
          },
          "source": "Calculator-g6AEO",
          "target": "ZeroShotAgent-Vpn4k",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Calculator|Calculator-g6AEO|Tool|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-Vpn4k"
        },
        {
          "id": "reactflow__edge-InputNode-LENRkInputNode|InputNode-LENRk|input-ZeroShotAgent-Vpn4kinput|input_node|ZeroShotAgent-Vpn4k",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-LENRk",
          "target": "ZeroShotAgent-Vpn4k",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "InputNode|InputNode-LENRk|input",
          "targetHandle": "input|input_node|ZeroShotAgent-Vpn4k"
        },
        {
          "id": "reactflow__edge-PyPDFLoader-nVufmPyPDFLoader|PyPDFLoader-nVufm|Document-RecursiveCharacterTextSplitter-ahXPxDocument|documents|RecursiveCharacterTextSplitter-ahXPx",
          "style": {
            "stroke": "#555"
          },
          "source": "PyPDFLoader-nVufm",
          "target": "RecursiveCharacterTextSplitter-ahXPx",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "PyPDFLoader|PyPDFLoader-nVufm|Document",
          "targetHandle": "Document|documents|RecursiveCharacterTextSplitter-ahXPx"
        },
        {
          "id": "reactflow__edge-RecursiveCharacterTextSplitter-ahXPxRecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-ahXPx|Document-Milvus-hs3JXDocument|documents|Milvus-hs3JX",
          "style": {
            "stroke": "#555"
          },
          "source": "RecursiveCharacterTextSplitter-ahXPx",
          "target": "Milvus-hs3JX",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "RecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-ahXPx|Document",
          "targetHandle": "Document|documents|Milvus-hs3JX"
        },
        {
          "id": "reactflow__edge-BishengLLM-a591dBishengLLM|BishengLLM-a591d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-5EyWUBaseLanguageModel|llm|CombineDocsChain-5EyWU",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-a591d",
          "target": "CombineDocsChain-5EyWU",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-a591d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-5EyWU"
        },
        {
          "id": "reactflow__edge-BishengLLM-a591dBishengLLM|BishengLLM-a591d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-ZeroShotAgent-Vpn4kBaseLanguageModel|llm|ZeroShotAgent-Vpn4k",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-a591d",
          "target": "ZeroShotAgent-Vpn4k",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-a591d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ZeroShotAgent-Vpn4k"
        },
        {
          "id": "reactflow__edge-BishengLLM-a591dBishengLLM|BishengLLM-a591d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-Calculator-g6AEOBaseLanguageModel|llm|Calculator-g6AEO",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-a591d",
          "target": "Calculator-g6AEO",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-a591d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|Calculator-g6AEO"
        },
        {
          "id": "reactflow__edge-InputFileNode-dd5fcInputFileNode|InputFileNode-dd5fc|fileNode-PyPDFLoader-nVufmfileNode|file_path|PyPDFLoader-nVufm",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-dd5fc",
          "target": "PyPDFLoader-nVufm",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-dd5fc|fileNode",
          "targetHandle": "fileNode|file_path|PyPDFLoader-nVufm"
        }
      ],
      "nodes": [
        {
          "id": "CombineDocsChain-5EyWU",
          "data": {
            "id": "CombineDocsChain-5EyWU",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "l2": false,
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "prompt",
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "l2": false,
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 377,
          "position": {
            "x": 1600.092442163245,
            "y": 227.94525786055965
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1600.092442163245,
            "y": 227.94525786055965
          }
        },
        {
          "id": "RetrievalQA-wKjqv",
          "data": {
            "id": "RetrievalQA-wKjqv",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "BaseRetrievalQA",
                "Chain",
                "RetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "dragging": false,
          "position": {
            "x": 2214.008643017949,
            "y": 410.0707219409365
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2214.008643017949,
            "y": 410.0707219409365
          }
        },
        {
          "id": "Tool-0dIGD",
          "data": {
            "id": "Tool-0dIGD",
            "node": {
              "template": {
                "func": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "func",
                  "show": true,
                  "type": "function",
                  "l2_name": "func",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": true,
                  "type": "str",
                  "value": "Basic_information",
                  "l2_name": "name",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "_type": "Tool",
                "description": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "description",
                  "show": true,
                  "type": "str",
                  "value": "如果需要知道关于这份合同的各方面信息，可以使用该工具。如：\n- 合同的价款是多少？\n- 合同的甲方和乙方分别是谁？\n- 合同关于违约金是如何约定的？\n- 合同的免责条款是什么？\n",
                  "l2_name": "description",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "return_direct": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_direct",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "l2_name": "return_direct",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Converts a chain, agent or function into a tool.",
              "base_classes": [
                "Tool",
                "BaseTool"
              ],
              "display_name": "Tool",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Tool",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 445,
          "position": {
            "x": 2726.848698975115,
            "y": 439.56467505828414
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2726.848698975115,
            "y": 439.56467505828414
          }
        },
        {
          "id": "Milvus-hs3JX",
          "data": {
            "id": "Milvus-hs3JX",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "collection_name",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "VectorStore",
                "Milvus",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 347,
          "dragging": false,
          "position": {
            "x": 1624.5397713340649,
            "y": 643.8868403230642
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1624.5397713340649,
            "y": 643.8868403230642
          }
        },
        {
          "id": "ZeroShotAgent-Vpn4k",
          "data": {
            "id": "ZeroShotAgent-Vpn4k",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ZeroShotAgent",
                "tools": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tools",
                  "show": true,
                  "type": "BaseTool",
                  "l2_name": "tools",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prefix",
                  "show": true,
                  "type": "str",
                  "value": "Answer the following questions in Chinese as best you can. Think step by step. You have access to the following tools:",
                  "l2_name": "prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "suffix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "suffix",
                  "show": true,
                  "type": "str",
                  "value": "Begin!\n\nQuestion: {query}\nThought:{agent_scratchpad}",
                  "l2_name": "suffix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "AgentOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "query",
                    "agent_scratchpad"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callback_manager": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callback_manager",
                  "show": false,
                  "type": "BaseCallbackManager",
                  "l2_name": "callback_manager",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "format_instructions": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "format_instructions",
                  "show": true,
                  "type": "str",
                  "value": "- If questions are ralated to the tool [Basic_information], you should transmit related-questions on to [Basic_information] with no split.\n\n\nUse the following format:\n\nQuestion: 该合同是根据什么法律签订的？\n# the query question you must answer\nThought: 找到该合同的法律依据\n# you should always think about what to do\nAction: Basic_information\n# the action to take, should be one of [{tool_names}]\nAction Input: 该合同是根据什么法律签订的？\n# the input to the action\nObservation: \n# the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: \n# the final answer to the original input question",
                  "l2_name": "format_instructions",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                }
              },
              "description": "Construct an agent from an LLM and tools.",
              "base_classes": [
                "ZeroShotAgent",
                "Agent",
                "BaseSingleActionAgent",
                "function"
              ],
              "display_name": "ZeroShotAgent",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/agents/how_to/custom_mrkl_agent"
            },
            "type": "ZeroShotAgent",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 659,
          "dragging": false,
          "position": {
            "x": 3738.5526393054743,
            "y": 722.4823701379853
          },
          "selected": false,
          "positionAbsolute": {
            "x": 3738.5526393054743,
            "y": 722.4823701379853
          }
        },
        {
          "id": "OpenAIProxyEmbedding-5TAiX",
          "data": {
            "id": "OpenAIProxyEmbedding-5TAiX",
            "node": {
              "template": {
                "_type": "proxy_embedding",
                "proxy_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "proxy_url",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "l2_name": "proxy_url",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "http://43.133.35.137:8080"
                }
              },
              "description": " 使用自建的embedding服务使用openai进行embed ",
              "base_classes": [
                "Embeddings"
              ],
              "display_name": "OpenAIProxyEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "OpenAIProxyEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 173,
          "position": {
            "x": 901.2922965468372,
            "y": 1334.1551610865345
          },
          "selected": false,
          "positionAbsolute": {
            "x": 901.2922965468372,
            "y": 1334.1551610865345
          }
        },
        {
          "id": "BingSearchRun-TAJzw",
          "data": {
            "id": "BingSearchRun-TAJzw",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "BingSearchRun",
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "api_wrapper": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "api_wrapper",
                  "show": true,
                  "type": "BingSearchAPIWrapper",
                  "l2_name": "api_wrapper",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "args_schema": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "args_schema",
                  "show": false,
                  "type": "Type[pydantic.main.BaseModel]",
                  "l2_name": "args_schema",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "handle_tool_error": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "handle_tool_error",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "handle_tool_error",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A wrapper around Bing Search. Useful for when you need to answer questions about current events. Input should be a search query.",
              "base_classes": [
                "Tool",
                "BaseTool",
                "BingSearchRun",
                "BaseTool"
              ],
              "display_name": "BingSearchRun",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "BingSearchRun",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 249,
          "dragging": false,
          "position": {
            "x": 2740.6814356916484,
            "y": 1030.8252309669626
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2740.6814356916484,
            "y": 1030.8252309669626
          }
        },
        {
          "id": "BingSearchAPIWrapper-9285Q",
          "data": {
            "id": "BingSearchAPIWrapper-9285Q",
            "node": {
              "template": {
                "k": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "k",
                  "show": false,
                  "type": "int",
                  "value": 10,
                  "l2_name": "k",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "BingSearchAPIWrapper",
                "bing_search_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "bing_search_url",
                  "show": true,
                  "type": "str",
                  "value": "https://api.bing.microsoft.com/v7.0/search",
                  "l2_name": "bing_search_url",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "bing_subscription_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "bing_subscription_key",
                  "show": true,
                  "type": "str",
                  "value": "137b003c89f04966ac3b1081ee5b10bc",
                  "l2_name": "bing_subscription_key",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Wrapper for Bing Search API.",
              "base_classes": [
                "BingSearchAPIWrapper"
              ],
              "display_name": "BingSearchAPIWrapper",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "BingSearchAPIWrapper",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": 2055.4764429926604,
            "y": 1160.385181052582
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2055.4764429926604,
            "y": 1160.385181052582
          }
        },
        {
          "id": "Calculator-g6AEO",
          "data": {
            "id": "Calculator-g6AEO",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "Calculator"
              },
              "description": "Useful for when you need to answer questions about math.",
              "base_classes": [
                "Tool",
                "BaseTool"
              ],
              "display_name": "Calculator",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Calculator",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 229,
          "dragging": false,
          "position": {
            "x": 2732.119874152286,
            "y": 131.7347928894963
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2732.119874152286,
            "y": 131.7347928894963
          }
        },
        {
          "id": "InputNode-LENRk",
          "data": {
            "id": "InputNode-LENRk",
            "node": {
              "template": {
                "_type": "input",
                "input": {
                  "l2": true,
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "这份合同中有约定价款的支付途径吗？",
                    "合同中是否约定了履行时间？",
                    "合同中约定了知识产权侵权责任吗？",
                    "合同中是否约定了甲方未按期支付款项的违约责任？",
                    "合同是否约定了解决纠纷的方法？如果是通过仲裁解决纠纷，是否有约定仲裁机构？",
                    "合同中提到了几次甲方名称？这几次的甲方名称都一样吗？",
                    "合同中提到了几次乙方名称？提到的乙方名称都一样吗？",
                    "合同全部费用的大写金额和小写金额是多少？这两个数字一样吗？",
                    "合同的发票项目是什么？搜索该发票项目对应的一般纳税人税率是多少",
                    "合同的违约金赔偿利率是多少？合同签订日期是哪年哪月？使用获得的答案，搜索合同签订日期当年当月的中国人民银行授权全国银行间同业拆借中心公布的一年期贷款市场报价利率（LPR）是多少？计算合同的违约金赔偿利率大于LPR的1.5倍吗？"
                  ],
                  "l2_name": "审核问题",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 705,
          "dragging": false,
          "position": {
            "x": 3228.770319808037,
            "y": -405.0472199949312
          },
          "selected": false,
          "positionAbsolute": {
            "x": 3228.770319808037,
            "y": -405.0472199949312
          }
        },
        {
          "id": "PyPDFLoader-nVufm",
          "data": {
            "id": "PyPDFLoader-nVufm",
            "node": {
              "template": {
                "_type": "PyPDFLoader",
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "file_path": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "l2_name": "file_path",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".pdf"
                  ],
                  "fileTypes": [
                    "pdf"
                  ],
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Loads a PDF with pypdf and chunks at character level.",
              "base_classes": [
                "Document"
              ],
              "display_name": "PyPDFLoader",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_loaders/how_to/pdf"
            },
            "type": "PyPDFLoader",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 311,
          "position": {
            "x": 545.6794870854769,
            "y": 576.4247493553407
          },
          "selected": false,
          "positionAbsolute": {
            "x": 545.6794870854769,
            "y": 576.4247493553407
          }
        },
        {
          "id": "RecursiveCharacterTextSplitter-ahXPx",
          "data": {
            "id": "RecursiveCharacterTextSplitter-ahXPx",
            "node": {
              "template": {
                "_type": "RecursiveCharacterTextSplitter",
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "chunk_size": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chunk_size",
                  "show": true,
                  "type": "int",
                  "value": 1000,
                  "l2_name": "chunk_size",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Size"
                },
                "separators": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "separators",
                  "show": true,
                  "type": "str",
                  "value": "\\n",
                  "l2_name": "separators",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator"
                },
                "chunk_overlap": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chunk_overlap",
                  "show": true,
                  "type": "int",
                  "value": 200,
                  "l2_name": "chunk_overlap",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Overlap"
                },
                "separator_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "separator_type",
                  "show": true,
                  "type": "str",
                  "value": "Text",
                  "l2_name": "separator_type",
                  "options": [
                    "Text",
                    "cpp",
                    "go",
                    "html",
                    "java",
                    "js",
                    "latex",
                    "markdown",
                    "php",
                    "proto",
                    "python",
                    "rst",
                    "ruby",
                    "rust",
                    "scala",
                    "sol",
                    "swift"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator Type"
                }
              },
              "description": "Implementation of splitting text that looks at characters.",
              "base_classes": [
                "Document"
              ],
              "display_name": "RecursiveCharacterTextSplitter",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter"
            },
            "type": "RecursiveCharacterTextSplitter",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 561,
          "position": {
            "x": 993.2830986988388,
            "y": 672.9264454371207
          },
          "selected": false,
          "positionAbsolute": {
            "x": 993.2830986988388,
            "y": 672.9264454371207
          }
        },
        {
          "id": "BishengLLM-a591d",
          "data": {
            "id": "BishengLLM-a591d",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 1053.9828212208936,
            "y": 59.894169470406155
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1053.9828212208936,
            "y": 59.894169470406155
          }
        },
        {
          "id": "InputFileNode-dd5fc",
          "data": {
            "id": "InputFileNode-dd5fc",
            "node": {
              "beta": false,
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".pdf"
                  ],
                  "fileTypes": [
                    "pdf"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "请上传文件",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": 66.88900058530322,
            "y": 650.6996948374481
          },
          "selected": false,
          "positionAbsolute": {
            "x": 66.88900058530322,
            "y": 650.6996948374481
          }
        }
      ],
      "viewport": {
        "x": -20.328962469404587,
        "y": -153.06745791725848,
        "zoom": 0.9467769276749988
      }
    },
    "order_num": 6291422,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 16:45:43",
    "parameters": null,
    "name": "⭐️角色扮演",
    "description": "模板是一个面试官角色，可以更换提示词变成别的角色。",
    "flow_id": "523971dc79e84d9bbe4187ab0bdb2583",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:45:43",
    "id": 176,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-PromptTemplate-ZoUVTPromptTemplate|PromptTemplate-ZoUVT|StringPromptTemplate|PromptTemplate|BasePromptTemplate-LLMChain-wRz0cBasePromptTemplate|prompt|LLMChain-wRz0c",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-ZoUVT",
          "target": "LLMChain-wRz0c",
          "animated": true,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-ZoUVT|PromptTemplate|StringPromptTemplate|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|LLMChain-wRz0c"
        },
        {
          "id": "reactflow__edge-ConversationBufferMemory-lI5PtConversationBufferMemory|ConversationBufferMemory-lI5Pt|ConversationBufferMemory|BaseMemory|BaseChatMemory-LLMChain-wRz0cBaseMemory|memory|LLMChain-wRz0c",
          "style": {
            "stroke": "#555"
          },
          "source": "ConversationBufferMemory-lI5Pt",
          "target": "LLMChain-wRz0c",
          "animated": true,
          "className": "",
          "sourceHandle": "ConversationBufferMemory|ConversationBufferMemory-lI5Pt|BaseChatMemory|ConversationBufferMemory|BaseMemory",
          "targetHandle": "BaseMemory|memory|LLMChain-wRz0c"
        },
        {
          "id": "reactflow__edge-BishengLLM-3bb75BishengLLM|BishengLLM-3bb75|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-LLMChain-wRz0cBaseLanguageModel|llm|LLMChain-wRz0c",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-3bb75",
          "target": "LLMChain-wRz0c",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-3bb75|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|LLMChain-wRz0c"
        }
      ],
      "nodes": [
        {
          "id": "LLMChain-wRz0c",
          "data": {
            "id": "LLMChain-wRz0c",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "LLMChain",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "prompt": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "llm_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm_kwargs",
                  "show": false,
                  "type": "code",
                  "l2_name": "llm_kwargs",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "text",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseLLMOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_final_only": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_final_only",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_final_only",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain to run queries against LLMs.",
              "base_classes": [
                "Chain",
                "LLMChain",
                "function"
              ],
              "display_name": "LLMChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/foundational/llm_chain"
            },
            "type": "LLMChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "dragging": false,
          "position": {
            "x": 1556.1679330787729,
            "y": 1103.1743625556214
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1556.1679330787729,
            "y": 1103.1743625556214
          }
        },
        {
          "id": "PromptTemplate-ZoUVT",
          "data": {
            "id": "PromptTemplate-ZoUVT",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "input": {
                  "info": "",
                  "list": false,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser"
                  ],
                  "placeholder": "",
                  "display_name": "input"
                },
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "System：\n你将扮演一个科技公司的面试官，面试者是一名产品经理，提出 3 个犀利的问题。\n请注意：\n- 每次只问一个问题\n- 面试者回答问题后请简短点评一下，然后问下一个问题，不要试图纠正候选人的错误；\n- 如果你认为用户连续几次回答的都不对，就少问一点；\n- 问完最后一个问题后，你可以问这样一个问题：上一份工作为什么离职？用户回答该问题后，请表示理解与支持，并停止与面试者的对话。若面试者继续说话你可以礼貌拒绝。\n\n以下是你们的对话记录\n\n{chat_history}\n\n面试者：{input}\n\n你的回答：",
                  "l2_name": "template",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "chat_history": {
                  "info": "",
                  "list": false,
                  "name": "chat_history",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser"
                  ],
                  "placeholder": "",
                  "display_name": "chat_history"
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "chat_history",
                    "input"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "str",
                  "value": "f-string",
                  "l2_name": "template_format",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "l2_name": "partial_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "validate_template",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Schema to represent a prompt for an LLM.",
              "base_classes": [
                "PromptTemplate",
                "StringPromptTemplate",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "template": [
                  "chat_history",
                  "input"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {
                "formatters": {
                  "openai_api_key": {}
                },
                "base_formatters": {
                  "dict": {},
                  "list": {},
                  "show": {},
                  "union": {},
                  "kwargs": {},
                  "default": {},
                  "headers": {},
                  "optional": {},
                  "password": {},
                  "multiline": {},
                  "model_fields": {
                    "MODEL_DICT": {
                      "OpenAI": [
                        "text-davinci-003",
                        "text-davinci-002",
                        "text-curie-001",
                        "text-babbage-001",
                        "text-ada-001"
                      ],
                      "Anthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ],
                      "ChatOpenAI": [
                        "gpt-3.5-turbo-0613",
                        "gpt-3.5-turbo",
                        "gpt-3.5-turbo-16k-0613",
                        "gpt-3.5-turbo-16k",
                        "gpt-4-0613",
                        "gpt-4-32k-0613",
                        "gpt-4",
                        "gpt-4-32k"
                      ],
                      "ChatAnthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ]
                    }
                  },
                  "dict_code_file": {}
                }
              }
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 419,
          "dragging": false,
          "position": {
            "x": 782.4698380009005,
            "y": 1522.4191451020877
          },
          "selected": false,
          "positionAbsolute": {
            "x": 782.4698380009005,
            "y": 1522.4191451020877
          }
        },
        {
          "id": "ConversationBufferMemory-lI5Pt",
          "data": {
            "id": "ConversationBufferMemory-lI5Pt",
            "node": {
              "template": {
                "_type": "ConversationBufferMemory",
                "ai_prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "ai_prefix",
                  "show": false,
                  "type": "str",
                  "value": "AI",
                  "l2_name": "ai_prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "The variable to be used as Chat Input when more than one variable is available.",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "input_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "memory_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory_key",
                  "show": true,
                  "type": "str",
                  "value": "chat_history",
                  "l2_name": "memory_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "l2": false,
                  "info": "The variable to be used as Chat Output (e.g. answer in a ConversationalRetrievalChain)",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "output_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "chat_memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chat_memory",
                  "show": true,
                  "type": "BaseChatMessageHistory",
                  "l2_name": "chat_memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "human_prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "human_prefix",
                  "show": false,
                  "type": "str",
                  "value": "Human",
                  "l2_name": "human_prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_messages": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_messages",
                  "show": true,
                  "type": "bool",
                  "l2_name": "return_messages",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Buffer for storing conversation memory.",
              "base_classes": [
                "BaseChatMemory",
                "ConversationBufferMemory",
                "BaseMemory"
              ],
              "display_name": "ConversationBufferMemory",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/memory/how_to/buffer"
            },
            "type": "ConversationBufferMemory",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 527,
          "dragging": false,
          "position": {
            "x": 378.4886538486901,
            "y": 959.6786678431888
          },
          "selected": false,
          "positionAbsolute": {
            "x": 378.4886538486901,
            "y": 959.6786678431888
          }
        },
        {
          "id": "BishengLLM-3bb75",
          "data": {
            "id": "BishengLLM-3bb75",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "position": {
            "x": 892.0260725263943,
            "y": 617.6812234671859
          },
          "positionAbsolute": {
            "x": 892.0260725263943,
            "y": 617.6812234671859
          }
        }
      ],
      "viewport": {
        "x": 147.39902426086758,
        "y": -337.0826199129119,
        "zoom": 0.6112168397288411
      }
    },
    "order_num": 6356957,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 16:51:57",
    "parameters": null,
    "name": "⭐️文章摘要",
    "description": "上传文件自动触发文档摘要，当前支持文件格式：png, jpeg, jpg,pdf",
    "flow_id": "c642e5031c1244829ddc0a59c7a5e3fd",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:51:57",
    "id": 178,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-RCPNACombineDocsChain|CombineDocsChain-RCPNA|BaseCombineDocumentsChain|function-RetrievalQA-x5napBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-RCPNA",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-RCPNA|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-Milvus-CWpaeMilvus|Milvus-CWpae|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-x5napBaseRetriever|retriever|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-CWpae",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Milvus|Milvus-CWpae|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-InputNode-EfneiInputNode|InputNode-Efnei|input-RetrievalQA-x5napinput|input_node|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-Efnei",
          "target": "RetrievalQA-x5nap",
          "animated": true,
          "className": "",
          "sourceHandle": "InputNode|InputNode-Efnei|input",
          "targetHandle": "input|input_node|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-OpenAIProxyEmbedding-swx68OpenAIProxyEmbedding|OpenAIProxyEmbedding-swx68|Embeddings-Milvus-CWpaeEmbeddings|embedding|Milvus-CWpae",
          "style": {
            "stroke": "#555"
          },
          "source": "OpenAIProxyEmbedding-swx68",
          "target": "Milvus-CWpae",
          "animated": true,
          "className": "",
          "sourceHandle": "OpenAIProxyEmbedding|OpenAIProxyEmbedding-swx68|Embeddings",
          "targetHandle": "Embeddings|embedding|Milvus-CWpae"
        },
        {
          "id": "reactflow__edge-InputFileNode-rUBtAInputFileNode|InputFileNode-rUBtA|fileNode-ElemUnstructuredLoaderV0-2K7FCfileNode|file_path|ElemUnstructuredLoaderV0-2K7FC",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-rUBtA",
          "target": "ElemUnstructuredLoaderV0-2K7FC",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-rUBtA|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-2K7FC"
        },
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-2K7FCElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-2K7FC|Document-Milvus-CWpaeDocument|documents|Milvus-CWpae",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-2K7FC",
          "target": "Milvus-CWpae",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-2K7FC|Document",
          "targetHandle": "Document|documents|Milvus-CWpae"
        },
        {
          "id": "reactflow__edge-BishengLLM-86c36BishengLLM|BishengLLM-86c36|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-RCPNABaseLanguageModel|llm|CombineDocsChain-RCPNA",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-86c36",
          "target": "CombineDocsChain-RCPNA",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-86c36|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-RCPNA"
        }
      ],
      "nodes": [
        {
          "id": "CombineDocsChain-RCPNA",
          "data": {
            "id": "CombineDocsChain-RCPNA",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "l2": false,
                  "info": "当前只对stuff 生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 377,
          "dragging": false,
          "position": {
            "x": 845.0164562381523,
            "y": 204.35580627436775
          },
          "selected": false,
          "positionAbsolute": {
            "x": 845.0164562381523,
            "y": 204.35580627436775
          }
        },
        {
          "id": "Milvus-CWpae",
          "data": {
            "id": "Milvus-CWpae",
            "node": {
              "l2_name": "知识库",
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "选择知识库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 347,
          "dragging": false,
          "position": {
            "x": 1084.3422855390577,
            "y": 695.7475330381905
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1084.3422855390577,
            "y": 695.7475330381905
          }
        },
        {
          "id": "RetrievalQA-x5nap",
          "data": {
            "id": "RetrievalQA-x5nap",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "BaseRetrievalQA",
                "RetrievalQA",
                "Chain",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "dragging": false,
          "position": {
            "x": 1516.3297428236956,
            "y": 563.8820893628344
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1516.3297428236956,
            "y": 563.8820893628344
          }
        },
        {
          "id": "InputNode-Efnei",
          "data": {
            "id": "InputNode-Efnei",
            "node": {
              "template": {
                "_type": "input",
                "input": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "这篇文章的主要内容是什么？请生成该文章的摘要"
                  ],
                  "l2_name": "input",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "dragging": false,
          "position": {
            "x": 1245.632226598747,
            "y": 190.02499863969456
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1245.632226598747,
            "y": 190.02499863969456
          }
        },
        {
          "id": "InputFileNode-rUBtA",
          "data": {
            "id": "InputFileNode-rUBtA",
            "node": {
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "l2_name": "file_path",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".csv",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xlsx",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "jpg",
                    "png",
                    "jpeg",
                    "csv",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    "tiff",
                    "xlsx"
                  ],
                  "file_path": null,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "dragging": false,
          "position": {
            "x": 189.1572111197503,
            "y": 644.2048195861047
          },
          "selected": false,
          "positionAbsolute": {
            "x": 189.1572111197503,
            "y": 644.2048195861047
          }
        },
        {
          "id": "OpenAIProxyEmbedding-swx68",
          "data": {
            "id": "OpenAIProxyEmbedding-swx68",
            "node": {
              "template": {
                "_type": "proxy_embedding",
                "proxy_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "proxy_url",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "l2_name": "proxy_url",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "http://43.133.35.137:8080"
                }
              },
              "description": " 使用自建的embedding服务使用openai进行embed ",
              "base_classes": [
                "Embeddings"
              ],
              "display_name": "OpenAIProxyEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "OpenAIProxyEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 173,
          "dragging": false,
          "position": {
            "x": 617.8305142283027,
            "y": 1050.5852539090324
          },
          "selected": false,
          "positionAbsolute": {
            "x": 617.8305142283027,
            "y": 1050.5852539090324
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-2K7FC",
          "data": {
            "id": "ElemUnstructuredLoaderV0-2K7FC",
            "node": {
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".csv",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xlsx",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "jpg",
                    "png",
                    "jpeg",
                    "csv",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    "tiff",
                    "xlsx"
                  ],
                  "multiline": false,
                  "placeholder": ""
                },
                "unstructured_api_url": {
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "unstructured_api_url"
                }
              },
              "description": "Loads a PDF with pypdf and chunks at character level. dummy version",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "dragging": false,
          "position": {
            "x": 619.7399756791771,
            "y": 615.1613231146783
          },
          "selected": false,
          "positionAbsolute": {
            "x": 619.7399756791771,
            "y": 615.1613231146783
          }
        },
        {
          "id": "BishengLLM-86c36",
          "data": {
            "id": "BishengLLM-86c36",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 321.78279586604197,
            "y": 75.49875367670856
          },
          "selected": true,
          "positionAbsolute": {
            "x": 321.78279586604197,
            "y": 75.49875367670856
          }
        }
      ],
      "viewport": {
        "x": 235.78430160378775,
        "y": 22.158441172777714,
        "zoom": 0.6998997500474495
      }
    },
    "order_num": 6488027,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 16:57:42",
    "parameters": null,
    "name": "☘️招股书分析",
    "description": "上传招股书报告，自动触发预设的分析问题",
    "flow_id": "159a4536c3834406b5e134c25ab6fb4b",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 16:57:42",
    "id": 179,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-rc2FkCombineDocsChain|CombineDocsChain-rc2Fk|BaseCombineDocumentsChain|function-RetrievalQA-u9DZuBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-u9DZu",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-rc2Fk",
          "target": "RetrievalQA-u9DZu",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-rc2Fk|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-u9DZu"
        },
        {
          "id": "reactflow__edge-RetrievalQA-u9DZuRetrievalQA|RetrievalQA-u9DZu|Chain|BaseRetrievalQA|RetrievalQA|function-Tool-FbOTwfunction|func|Tool-FbOTw",
          "style": {
            "stroke": "#555"
          },
          "source": "RetrievalQA-u9DZu",
          "target": "Tool-FbOTw",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "RetrievalQA|RetrievalQA-u9DZu|Chain|BaseRetrievalQA|RetrievalQA|function",
          "targetHandle": "function|func|Tool-FbOTw"
        },
        {
          "id": "reactflow__edge-Milvus-4LcfVMilvus|Milvus-4LcfV|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-u9DZuBaseRetriever|retriever|RetrievalQA-u9DZu",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-4LcfV",
          "target": "RetrievalQA-u9DZu",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "Milvus|Milvus-4LcfV|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-u9DZu"
        },
        {
          "id": "reactflow__edge-Tool-FbOTwTool|Tool-FbOTw|Tool|BaseTool-ZeroShotAgent-o94zNBaseTool|tools|ZeroShotAgent-o94zN",
          "style": {
            "stroke": "#555"
          },
          "source": "Tool-FbOTw",
          "target": "ZeroShotAgent-o94zN",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "Tool|Tool-FbOTw|Tool|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-o94zN"
        },
        {
          "id": "reactflow__edge-Calculator-CfVqiCalculator|Calculator-CfVqi|Tool|BaseTool-ZeroShotAgent-o94zNBaseTool|tools|ZeroShotAgent-o94zN",
          "style": {
            "stroke": "#555"
          },
          "source": "Calculator-CfVqi",
          "target": "ZeroShotAgent-o94zN",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "Calculator|Calculator-CfVqi|Tool|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-o94zN"
        },
        {
          "id": "reactflow__edge-OpenAIProxyEmbedding-NPuMIOpenAIProxyEmbedding|OpenAIProxyEmbedding-NPuMI|Embeddings-Milvus-4LcfVEmbeddings|embedding|Milvus-4LcfV",
          "style": {
            "stroke": "#555"
          },
          "source": "OpenAIProxyEmbedding-NPuMI",
          "target": "Milvus-4LcfV",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "OpenAIProxyEmbedding|OpenAIProxyEmbedding-NPuMI|Embeddings",
          "targetHandle": "Embeddings|embedding|Milvus-4LcfV"
        },
        {
          "id": "reactflow__edge-RecursiveCharacterTextSplitter-sTTDTRecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-sTTDT|Document-Milvus-4LcfVDocument|documents|Milvus-4LcfV",
          "style": {
            "stroke": "#555"
          },
          "source": "RecursiveCharacterTextSplitter-sTTDT",
          "target": "Milvus-4LcfV",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "RecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-sTTDT|Document",
          "targetHandle": "Document|documents|Milvus-4LcfV"
        },
        {
          "id": "reactflow__edge-InputNode-HLAg0InputNode|InputNode-HLAg0|input-ZeroShotAgent-o94zNinput|input_node|ZeroShotAgent-o94zN",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-HLAg0",
          "target": "ZeroShotAgent-o94zN",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "InputNode|InputNode-HLAg0|input",
          "targetHandle": "input|input_node|ZeroShotAgent-o94zN"
        },
        {
          "id": "reactflow__edge-BingSearchAPIWrapper-I86u8BingSearchAPIWrapper|BingSearchAPIWrapper-I86u8|BingSearchAPIWrapper-BingSearchRun-gmZjQBingSearchAPIWrapper|api_wrapper|BingSearchRun-gmZjQ",
          "style": {
            "stroke": "#555"
          },
          "source": "BingSearchAPIWrapper-I86u8",
          "target": "BingSearchRun-gmZjQ",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "BingSearchAPIWrapper|BingSearchAPIWrapper-I86u8|BingSearchAPIWrapper",
          "targetHandle": "BingSearchAPIWrapper|api_wrapper|BingSearchRun-gmZjQ"
        },
        {
          "id": "reactflow__edge-BingSearchRun-gmZjQBingSearchRun|BingSearchRun-gmZjQ|Tool|BaseTool|BaseTool|BingSearchRun-ZeroShotAgent-o94zNBaseTool|tools|ZeroShotAgent-o94zN",
          "style": {
            "stroke": "#555"
          },
          "source": "BingSearchRun-gmZjQ",
          "target": "ZeroShotAgent-o94zN",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "BingSearchRun|BingSearchRun-gmZjQ|Tool|BaseTool|BaseTool|BingSearchRun",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-o94zN"
        },
        {
          "id": "reactflow__edge-InputFileNode-IR0Z1InputFileNode|InputFileNode-IR0Z1|fileNode-ElemUnstructuredLoaderV0-4rq3AfileNode|file_path|ElemUnstructuredLoaderV0-4rq3A",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-IR0Z1",
          "target": "ElemUnstructuredLoaderV0-4rq3A",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-IR0Z1|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-4rq3A"
        },
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-4rq3AElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-4rq3A|Document-RecursiveCharacterTextSplitter-sTTDTDocument|documents|RecursiveCharacterTextSplitter-sTTDT",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-4rq3A",
          "target": "RecursiveCharacterTextSplitter-sTTDT",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-4rq3A|Document",
          "targetHandle": "Document|documents|RecursiveCharacterTextSplitter-sTTDT"
        },
        {
          "id": "reactflow__edge-BishengLLM-6dc86BishengLLM|BishengLLM-6dc86|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-rc2FkBaseLanguageModel|llm|CombineDocsChain-rc2Fk",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-6dc86",
          "target": "CombineDocsChain-rc2Fk",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-6dc86|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-rc2Fk"
        },
        {
          "id": "reactflow__edge-BishengLLM-6dc86BishengLLM|BishengLLM-6dc86|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-Calculator-CfVqiBaseLanguageModel|llm|Calculator-CfVqi",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-6dc86",
          "target": "Calculator-CfVqi",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-6dc86|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|Calculator-CfVqi"
        },
        {
          "id": "reactflow__edge-BishengLLM-6dc86BishengLLM|BishengLLM-6dc86|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-ZeroShotAgent-o94zNBaseLanguageModel|llm|ZeroShotAgent-o94zN",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-6dc86",
          "target": "ZeroShotAgent-o94zN",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-6dc86|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ZeroShotAgent-o94zN"
        }
      ],
      "nodes": [
        {
          "id": "CombineDocsChain-rc2Fk",
          "data": {
            "id": "CombineDocsChain-rc2Fk",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "token_max": {
                  "l2": false,
                  "info": "当前只对stuff 生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "map_rerank",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 377,
          "position": {
            "x": 32.375529385543246,
            "y": 759.3887339718593
          },
          "selected": false,
          "positionAbsolute": {
            "x": 32.375529385543246,
            "y": 759.3887339718593
          }
        },
        {
          "id": "RetrievalQA-u9DZu",
          "data": {
            "id": "RetrievalQA-u9DZu",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "Chain",
                "BaseRetrievalQA",
                "RetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 1055.9846105131896,
            "y": 1319.580472587641
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1055.9846105131896,
            "y": 1319.580472587641
          }
        },
        {
          "id": "Tool-FbOTw",
          "data": {
            "id": "Tool-FbOTw",
            "node": {
              "template": {
                "func": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "func",
                  "show": true,
                  "type": "function",
                  "l2_name": "func",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": true,
                  "type": "str",
                  "value": "Basic_information",
                  "l2_name": "name",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "_type": "Tool",
                "description": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "description",
                  "show": true,
                  "type": "str",
                  "value": "如果用户需要知道关于这家公司的各方面信息，可以使用该工具。如：\n- 某公司的盈利模式是什么\n- 某公司的保荐机构是哪家公司？\n- 某公司的审计机构是哪家公司？\n- 某公司的主要产品是什么？",
                  "l2_name": "如何使用用户上传的文档",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "return_direct": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_direct",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "l2_name": "return_direct",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Converts a chain, agent or function into a tool.",
              "base_classes": [
                "Tool",
                "BaseTool"
              ],
              "display_name": "Tool",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Tool",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 445,
          "position": {
            "x": 1621.5305224346598,
            "y": 1282.841953911718
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1621.5305224346598,
            "y": 1282.841953911718
          }
        },
        {
          "id": "Milvus-4LcfV",
          "data": {
            "id": "Milvus-4LcfV",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "招股书",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "VectorStore",
                "Milvus",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 347,
          "position": {
            "x": 522.9361398003147,
            "y": 1462.3167297901632
          },
          "selected": false,
          "positionAbsolute": {
            "x": 522.9361398003147,
            "y": 1462.3167297901632
          }
        },
        {
          "id": "ZeroShotAgent-o94zN",
          "data": {
            "id": "ZeroShotAgent-o94zN",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ZeroShotAgent",
                "tools": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tools",
                  "show": true,
                  "type": "BaseTool",
                  "l2_name": "tools",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prefix",
                  "show": true,
                  "type": "str",
                  "value": "Answer the following questions as best you can. Think step by step. You have access to the following tools:",
                  "l2_name": "prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "suffix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "suffix",
                  "show": true,
                  "type": "str",
                  "value": "Begin!\n\nQuestion: {query}\nThought:{agent_scratchpad}",
                  "l2_name": "suffix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "AgentOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "query",
                    "agent_scratchpad"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callback_manager": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callback_manager",
                  "show": false,
                  "type": "BaseCallbackManager",
                  "l2_name": "callback_manager",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "format_instructions": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "format_instructions",
                  "show": true,
                  "type": "str",
                  "value": "Use the following format:\n\nQuestion: 该公司的保荐机构是哪家公司？\n# the query question you must answer\nThought: 我需要从文档中查询达梦股份有限公司的保荐机构\n# you should always think about what to do\nAction: Basic_information\n# the action to take, should be one of [{tool_names}]\nAction Input: 该公司的保荐机构是哪家公司？\n# the input to the action\nObservation: 我发现文章中提到达梦股份有限公司的保荐机构是招商证券\n# the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: #the final answer to the original input question",
                  "l2_name": "format_instructions",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                }
              },
              "description": "Construct an agent from an LLM and tools.",
              "base_classes": [
                "BaseSingleActionAgent",
                "ZeroShotAgent",
                "Agent",
                "function"
              ],
              "display_name": "ZeroShotAgent",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/agents/how_to/custom_mrkl_agent"
            },
            "type": "ZeroShotAgent",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 659,
          "position": {
            "x": 2724.755245757752,
            "y": 792.4038456822296
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2724.755245757752,
            "y": 792.4038456822296
          }
        },
        {
          "id": "Calculator-CfVqi",
          "data": {
            "id": "Calculator-CfVqi",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "Calculator"
              },
              "description": "Useful for when you need to answer questions about math.",
              "base_classes": [
                "Tool",
                "BaseTool"
              ],
              "display_name": "Calculator",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Calculator",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 229,
          "position": {
            "x": 1604.8480818394096,
            "y": 973.4644452164116
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1604.8480818394096,
            "y": 973.4644452164116
          }
        },
        {
          "id": "OpenAIProxyEmbedding-NPuMI",
          "data": {
            "id": "OpenAIProxyEmbedding-NPuMI",
            "node": {
              "template": {
                "_type": "proxy_embedding",
                "proxy_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "proxy_url",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "l2_name": "proxy_url",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "http://43.133.35.137:8080"
                }
              },
              "description": " 使用自建的embedding服务使用openai进行embed ",
              "base_classes": [
                "Embeddings"
              ],
              "display_name": "OpenAIProxyEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "OpenAIProxyEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 173,
          "position": {
            "x": 27.86167751822711,
            "y": 1796.72713464364
          },
          "selected": false,
          "positionAbsolute": {
            "x": 27.86167751822711,
            "y": 1796.72713464364
          }
        },
        {
          "id": "InputFileNode-IR0Z1",
          "data": {
            "id": "InputFileNode-IR0Z1",
            "node": {
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "l2_name": "file_path",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".csv",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xlsx",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "jpg",
                    "png",
                    "jpeg",
                    "csv",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    "tiff",
                    "xlsx"
                  ],
                  "file_path": null,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "position": {
            "x": -932.810583795316,
            "y": 1190.272406644502
          },
          "selected": false,
          "positionAbsolute": {
            "x": -932.810583795316,
            "y": 1190.272406644502
          }
        },
        {
          "id": "RecursiveCharacterTextSplitter-sTTDT",
          "data": {
            "id": "RecursiveCharacterTextSplitter-sTTDT",
            "node": {
              "template": {
                "_type": "RecursiveCharacterTextSplitter",
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "chunk_size": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chunk_size",
                  "show": true,
                  "type": "int",
                  "value": 1000,
                  "l2_name": "chunk_size",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Size"
                },
                "separators": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "separators",
                  "show": true,
                  "type": "str",
                  "value": "\\n",
                  "l2_name": "separators",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator"
                },
                "chunk_overlap": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chunk_overlap",
                  "show": true,
                  "type": "int",
                  "value": 200,
                  "l2_name": "chunk_overlap",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Overlap"
                },
                "separator_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "separator_type",
                  "show": true,
                  "type": "str",
                  "value": "Text",
                  "l2_name": "separator_type",
                  "options": [
                    "Text",
                    "cpp",
                    "go",
                    "html",
                    "java",
                    "js",
                    "latex",
                    "markdown",
                    "php",
                    "proto",
                    "python",
                    "rst",
                    "ruby",
                    "rust",
                    "scala",
                    "sol",
                    "swift"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator Type"
                }
              },
              "description": "Implementation of splitting text that looks at characters.",
              "base_classes": [
                "Document"
              ],
              "display_name": "RecursiveCharacterTextSplitter",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter"
            },
            "type": "RecursiveCharacterTextSplitter",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 561,
          "position": {
            "x": 28.985765191920905,
            "y": 1167.7466689744615
          },
          "selected": false,
          "positionAbsolute": {
            "x": 28.985765191920905,
            "y": 1167.7466689744615
          }
        },
        {
          "id": "InputNode-HLAg0",
          "data": {
            "id": "InputNode-HLAg0",
            "node": {
              "template": {
                "_type": "input",
                "input": {
                  "l2": true,
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "该公司的主营业务包括哪些，请概述",
                    "该公司的盈利模式是什么？",
                    "该公司的销售模式有哪些？",
                    "该公司有多少专利和知识产权？",
                    "该公司处在哪个行业，查询一下该行业最近几年中国的市场规模分别为多少？",
                    "该公司的主要股东及其持股比例分别是多少",
                    "该公司是否面临法律诉讼或其他争议事项？如果是，请提供相关的细节和进展情况",
                    "该公司是否存在专利或其他知识产权方面的风险？请说明相关情况",
                    "该公司面临的主要市场竞争对手和他们在市场中的地位是什么？",
                    "该公司的主要产品或服务是什么？提供关键产品的详细描述",
                    "该公司的市场份额如何？是否有计划扩大市场份额？",
                    "该公司的盈利模式是什么？请解释公司如何获得收入",
                    "请详细说明公司的资金需求及其资金用途",
                    "该公司是否有债务或其他财务义务",
                    "请提供公司的人力资源情况，包括员工总数和关键管理团队成员的背景信息",
                    "请根据公司募集资金用途以及未来发展战略，推断公司是否计划在未来几年内进行研发和创新投资？",
                    "公司目标客户是谁？",
                    "从市场份额方面分析该公司的核心竞争力是什么？",
                    "从核心技术或核心产品方面分析该公司的核心竞争力是什么？",
                    "公司重要的合作伙伴与供应商有哪些？从他们那里能获取哪些核心资源?",
                    "该公司最重要的固定成本是什么?",
                    "结合财务报表，哪类费用占比高？这类费用主要用于哪些方面的支出？",
                    "公司2021年的应收账款周转率为多少，对比可比公司的情况如何？",
                    "公司的息税折旧摊销前利润相较于三年前增长了多少？",
                    "公司的息税折旧摊销前利润的增长趋势如何？",
                    "公司的归属于发行人股东的净利润的增长是否持续稳定？",
                    "公司归属于发行人股东扣除非经常性损益后的净利润有何变化？",
                    "公司在研发方面的投入与研发费用占营业收入的比例如何评价？",
                    "公司研发费用占营业收入的比例有何变化？",
                    "每股经营活动产生的现金流量反映了公司的经营效益如何？",
                    "公司在过去三年中，每股经营活动产生的现金流量有何变化？",
                    "公司每股净现金流量有何变化？",
                    "公司的流动比率水平如何评价？",
                    "公司的速动比率有何变化？",
                    "公司的资产负债率（母公司口径）有何变化？",
                    "公司的资产负债率（合并口径）水平如何评价？",
                    "公司的归属于发行人股东的每股净资产有何变化？",
                    ""
                  ],
                  "l2_name": "报告分析维度",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 706,
          "position": {
            "x": 2176.519795047715,
            "y": 1422.887731295922
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2176.519795047715,
            "y": 1422.887731295922
          }
        },
        {
          "id": "BingSearchAPIWrapper-I86u8",
          "data": {
            "id": "BingSearchAPIWrapper-I86u8",
            "node": {
              "template": {
                "k": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "k",
                  "show": false,
                  "type": "int",
                  "value": 10,
                  "l2_name": "k",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "BingSearchAPIWrapper",
                "bing_search_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "bing_search_url",
                  "show": true,
                  "type": "str",
                  "value": "https://api.bing.microsoft.com/v7.0/search",
                  "l2_name": "bing_search_url",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "bing_subscription_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "bing_subscription_key",
                  "show": true,
                  "type": "str",
                  "value": "137b003c89f04966ac3b1081ee5b10bc",
                  "l2_name": "bing_subscription_key",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Wrapper for Bing Search API.",
              "base_classes": [
                "BingSearchAPIWrapper"
              ],
              "display_name": "BingSearchAPIWrapper",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "BingSearchAPIWrapper",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "position": {
            "x": 1084.3965767342606,
            "y": 279.87865179934
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1084.3965767342606,
            "y": 279.87865179934
          }
        },
        {
          "id": "BingSearchRun-gmZjQ",
          "data": {
            "id": "BingSearchRun-gmZjQ",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "BingSearchRun",
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "api_wrapper": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "api_wrapper",
                  "show": true,
                  "type": "BingSearchAPIWrapper",
                  "l2_name": "api_wrapper",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "args_schema": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "args_schema",
                  "show": false,
                  "type": "Type[pydantic.main.BaseModel]",
                  "l2_name": "args_schema",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "handle_tool_error": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "handle_tool_error",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "handle_tool_error",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A wrapper around Bing Search. Useful for when you need to answer questions about current events. Input should be a search query.",
              "base_classes": [
                "Tool",
                "BaseTool",
                "BaseTool",
                "BingSearchRun"
              ],
              "display_name": "BingSearchRun",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "BingSearchRun",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 249,
          "position": {
            "x": 1587.0735944565677,
            "y": 564.1271785797638
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1587.0735944565677,
            "y": 564.1271785797638
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-4rq3A",
          "data": {
            "id": "ElemUnstructuredLoaderV0-4rq3A",
            "node": {
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".csv",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xlsx",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "jpg",
                    "png",
                    "jpeg",
                    "csv",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    "tiff",
                    "xlsx"
                  ],
                  "multiline": false,
                  "placeholder": ""
                },
                "unstructured_api_url": {
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "unstructured_api_url"
                }
              },
              "description": "Loads a PDF with pypdf and chunks at character level. dummy version",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "dragging": false,
          "position": {
            "x": -468.3981411294128,
            "y": 1150.9063802769972
          },
          "selected": false,
          "positionAbsolute": {
            "x": -468.3981411294128,
            "y": 1150.9063802769972
          }
        },
        {
          "id": "BishengLLM-6dc86",
          "data": {
            "id": "BishengLLM-6dc86",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": -966.0777669425454,
            "y": 569.5274332939994
          },
          "selected": false,
          "positionAbsolute": {
            "x": -966.0777669425454,
            "y": 569.5274332939994
          }
        }
      ],
      "viewport": {
        "x": 446.8071199372391,
        "y": -15.008593660173858,
        "zoom": 0.3819453782554565
      }
    },
    "order_num": 6553562,
    "guide_word": null
  },
  {
    "update_time": "2024-10-15 18:39:27",
    "parameters": null,
    "name": "⭐️知识库问答",
    "description": "选择知识库，进行知识库问答",
    "flow_id": "0c1649f7cd774248990bf7d961e8dcff",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:04:03",
    "id": 180,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-Milvus-CWpaeMilvus|Milvus-CWpae|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-x5napBaseRetriever|retriever|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-CWpae",
          "target": "RetrievalQA-x5nap",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Milvus|Milvus-CWpae|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-CombineDocsChain-71a85CombineDocsChain|CombineDocsChain-71a85|BaseCombineDocumentsChain|function-RetrievalQA-x5napBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-71a85",
          "target": "RetrievalQA-x5nap",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-71a85|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-x5nap"
        },
        {
          "id": "reactflow__edge-PromptTemplate-3c164PromptTemplate|PromptTemplate-3c164|Runnable|StringPromptTemplate|RunnableSerializable|PromptTemplate|Generic|BasePromptTemplate-CombineDocsChain-71a85BasePromptTemplate|document_prompt|CombineDocsChain-71a85",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-3c164",
          "target": "CombineDocsChain-71a85",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "PromptTemplate|PromptTemplate-3c164|Runnable|StringPromptTemplate|RunnableSerializable|PromptTemplate|Generic|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|document_prompt|CombineDocsChain-71a85"
        },
        {
          "id": "reactflow__edge-PromptTemplate-ced29PromptTemplate|PromptTemplate-ced29|Runnable|StringPromptTemplate|RunnableSerializable|PromptTemplate|Generic|BasePromptTemplate-CombineDocsChain-71a85BasePromptTemplate|prompt|CombineDocsChain-71a85",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-ced29",
          "target": "CombineDocsChain-71a85",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "PromptTemplate|PromptTemplate-ced29|Runnable|StringPromptTemplate|RunnableSerializable|PromptTemplate|Generic|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|CombineDocsChain-71a85"
        },
        {
          "id": "reactflow__edge-BishengLLM-02d50BishengLLM|BishengLLM-02d50|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-71a85BaseLanguageModel|llm|CombineDocsChain-71a85",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-02d50",
          "target": "CombineDocsChain-71a85",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-02d50|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-71a85"
        }
      ],
      "nodes": [
        {
          "id": "Milvus-CWpae",
          "data": {
            "id": "Milvus-CWpae",
            "node": {
              "l2_name": "知识库",
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "毕昇产品文档20240421",
                  "l2_name": "选择知识库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": 4597
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 311,
          "dragging": false,
          "position": {
            "x": 857.7079649166786,
            "y": 666.0353925000366
          },
          "selected": false,
          "positionAbsolute": {
            "x": 857.7079649166786,
            "y": 666.0353925000366
          }
        },
        {
          "id": "RetrievalQA-x5nap",
          "data": {
            "id": "RetrievalQA-x5nap",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "RetrievalQA",
                "Chain",
                "BaseRetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 1521.2877663953464,
            "y": 287.6148502766154
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1521.2877663953464,
            "y": 287.6148502766154
          }
        },
        {
          "id": "CombineDocsChain-71a85",
          "data": {
            "id": "CombineDocsChain-71a85",
            "node": {
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "document_prompt": {
                  "info": "",
                  "list": false,
                  "name": "document_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 449,
          "position": {
            "x": 847.130082564399,
            "y": 10.769465837008791
          },
          "selected": false,
          "positionAbsolute": {
            "x": 847.130082564399,
            "y": 10.769465837008791
          }
        },
        {
          "id": "PromptTemplate-3c164",
          "data": {
            "id": "PromptTemplate-3c164",
            "node": {
              "name": "",
              "l2_name": "召回段落拼接提示词",
              "template": {
                "_type": "PromptTemplate",
                "source": {
                  "info": "",
                  "list": false,
                  "name": "source",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "source"
                },
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "title: {source}\n{page_content}\n----------------",
                  "l2_name": "提示词模板",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_types": {
                  "info": "",
                  "list": false,
                  "name": "input_types",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "page_content": {
                  "info": "",
                  "list": false,
                  "name": "page_content",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "page_content"
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "source",
                    "page_content"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "Union[Literal['f-string'], Literal['jinja2']]",
                  "value": "f-string",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A prompt template for a language model.",
              "base_classes": [
                "Runnable",
                "StringPromptTemplate",
                "RunnableSerializable",
                "PromptTemplate",
                "Generic",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "source",
                  "page_content"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 455,
          "dragging": false,
          "position": {
            "x": 249.5669301132289,
            "y": -472.7534674830942
          },
          "selected": false,
          "positionAbsolute": {
            "x": 249.5669301132289,
            "y": -472.7534674830942
          }
        },
        {
          "id": "PromptTemplate-ced29",
          "data": {
            "id": "PromptTemplate-ced29",
            "node": {
              "name": "",
              "l2_name": "大模型问答提示词",
              "template": {
                "_type": "PromptTemplate",
                "context": {
                  "info": "",
                  "list": false,
                  "name": "context",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "context"
                },
                "question": {
                  "info": "",
                  "list": false,
                  "name": "question",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "question"
                },
                "template": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "参考文本：\n{context}\n\n----------------------\n# Role：企业客服\n\n# Background :\n你是一家名叫XX公司的客服人员。你的日常工作是回复公司内用户的各类咨询问题，所以当用户提到“公司”时，指的是XX公司。\n\n# Goals:\n- 以上【参考文本】中是从企业知识库中查找到的相关信息，只能结合以上信息进行回答，若以上内容为空或其中没有找到能回答【用户问题】的内容时，则回复“没有找到相关内容”，不能根据你自己的知识自己发挥。\n- 特别要注意区分【用户问题】与【参考文本】中不同的日期、人名、公司名这些关键信息。\n- 用中文回答问题，并且答案要严谨、专业、清晰、可读性好。\n- 拥有排版审美, 会利用序号, 缩进, 分隔线和换行符等等来美化信息排版。\n\n----------------------\n\n用户问题: {question}\n你的回答:",
                  "l2_name": "提示词模板",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_types": {
                  "info": "",
                  "list": false,
                  "name": "input_types",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "context",
                    "question"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "Union[Literal['f-string'], Literal['jinja2']]",
                  "value": "f-string",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A prompt template for a language model.",
              "base_classes": [
                "Runnable",
                "StringPromptTemplate",
                "RunnableSerializable",
                "PromptTemplate",
                "Generic",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "context",
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 455,
          "dragging": false,
          "position": {
            "x": 239.9768809008542,
            "y": 26.706867771652675
          },
          "selected": false,
          "positionAbsolute": {
            "x": 239.9768809008542,
            "y": 26.706867771652675
          }
        },
        {
          "id": "BishengLLM-02d50",
          "data": {
            "id": "BishengLLM-02d50",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 233.388284890662,
            "y": 540.5502864443121
          },
          "selected": true,
          "positionAbsolute": {
            "x": 233.388284890662,
            "y": 540.5502864443121
          }
        }
      ],
      "viewport": {
        "x": 282.57805303810756,
        "y": 294.51040071091927,
        "zoom": 0.5373960694755959
      }
    },
    "order_num": null,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 17:08:01",
    "parameters": null,
    "name": "⭐️ Word 格式专业报告生成【需配置】",
    "description": "【word 模板默认是空的，需要自己进行配置】\n将复杂的专业报告拆分成独立的具体章节任务，然后将大模型生成内容自动填入到预设 word 模板中，从而完成专业报告的生成。",
    "flow_id": "212df93d0f8445c690a9aeebe684db84",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:08:01",
    "id": 181,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-tv0S2CombineDocsChain|CombineDocsChain-tv0S2|BaseCombineDocumentsChain|function-RetrievalQA-F6quWBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-F6quW",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-tv0S2",
          "target": "RetrievalQA-F6quW",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-tv0S2|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-F6quW"
        },
        {
          "id": "reactflow__edge-RetrievalQA-F6quWRetrievalQA|RetrievalQA-F6quW|BaseRetrievalQA|Chain|RetrievalQA|function-Report-PRcYLfunction|chains|Report-PRcYL",
          "style": {
            "stroke": "#555"
          },
          "source": "RetrievalQA-F6quW",
          "target": "Report-PRcYL",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "RetrievalQA|RetrievalQA-F6quW|BaseRetrievalQA|Chain|RetrievalQA|function",
          "targetHandle": "function|chains|Report-PRcYL"
        },
        {
          "id": "reactflow__edge-InputNode-TdX3BInputNode|InputNode-TdX3B|input-RetrievalQA-F6quWinput|input_node|RetrievalQA-F6quW",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-TdX3B",
          "target": "RetrievalQA-F6quW",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "InputNode|InputNode-TdX3B|input",
          "targetHandle": "input|input_node|RetrievalQA-F6quW"
        },
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-nYygCElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-nYygC|Document-RecursiveCharacterTextSplitter-6g2FADocument|documents|RecursiveCharacterTextSplitter-6g2FA",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-nYygC",
          "target": "RecursiveCharacterTextSplitter-6g2FA",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-nYygC|Document",
          "targetHandle": "Document|documents|RecursiveCharacterTextSplitter-6g2FA"
        },
        {
          "id": "reactflow__edge-VariableNode-UB934VariableNode|VariableNode-UB934|VariableNode-Report-PRcYLVariableNode|variables|Report-PRcYL",
          "style": {
            "stroke": "#555"
          },
          "source": "VariableNode-UB934",
          "target": "Report-PRcYL",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "VariableNode|VariableNode-UB934|VariableNode",
          "targetHandle": "VariableNode|variables|Report-PRcYL"
        },
        {
          "id": "reactflow__edge-Milvus-fSZ8oMilvus|Milvus-fSZ8o|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever-RetrievalQA-F6quWBaseRetriever|retriever|RetrievalQA-F6quW",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-fSZ8o",
          "target": "RetrievalQA-F6quW",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "Milvus|Milvus-fSZ8o|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-F6quW"
        },
        {
          "id": "reactflow__edge-RecursiveCharacterTextSplitter-6g2FARecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-6g2FA|Document-Milvus-fSZ8oDocument|documents|Milvus-fSZ8o",
          "style": {
            "stroke": "#555"
          },
          "source": "RecursiveCharacterTextSplitter-6g2FA",
          "target": "Milvus-fSZ8o",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "RecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-6g2FA|Document",
          "targetHandle": "Document|documents|Milvus-fSZ8o"
        },
        {
          "id": "reactflow__edge-OpenAIProxyEmbedding-0OoJhOpenAIProxyEmbedding|OpenAIProxyEmbedding-0OoJh|Embeddings-Milvus-fSZ8oEmbeddings|embedding|Milvus-fSZ8o",
          "style": {
            "stroke": "#555"
          },
          "source": "OpenAIProxyEmbedding-0OoJh",
          "target": "Milvus-fSZ8o",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "OpenAIProxyEmbedding|OpenAIProxyEmbedding-0OoJh|Embeddings",
          "targetHandle": "Embeddings|embedding|Milvus-fSZ8o"
        },
        {
          "id": "reactflow__edge-InputFileNode-a4516InputFileNode|InputFileNode-a4516|fileNode-ElemUnstructuredLoaderV0-nYygCfileNode|file_path|ElemUnstructuredLoaderV0-nYygC",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-a4516",
          "target": "ElemUnstructuredLoaderV0-nYygC",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-a4516|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-nYygC"
        },
        {
          "id": "reactflow__edge-BishengLLM-a972dBishengLLM|BishengLLM-a972d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-CombineDocsChain-tv0S2BaseLanguageModel|llm|CombineDocsChain-tv0S2",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-a972d",
          "target": "CombineDocsChain-tv0S2",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-a972d|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-tv0S2"
        }
      ],
      "nodes": [
        {
          "id": "Report-PRcYL",
          "data": {
            "id": "Report-PRcYL",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "Report",
                "chains": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chains",
                  "show": true,
                  "type": "function",
                  "l2_name": "chains",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "functions"
                },
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": false,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "verbose",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": false,
                  "type": "str",
                  "value": "report_name",
                  "l2_name": "input_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "stop_flag": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "stop_flag",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "stop_flag",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "variables",
                  "show": true,
                  "type": "VariableNode",
                  "l2_name": "variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": false,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": false,
                  "type": "str",
                  "value": "text",
                  "l2_name": "output_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "report_name": {
                  "l2": false,
                  "info": "the file name we generate",
                  "list": false,
                  "name": "report_name",
                  "show": true,
                  "type": "str",
                  "value": "尽调报告",
                  "l2_name": "report_name",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Report Name"
                }
              },
              "description": "",
              "base_classes": [
                "Chain",
                "Report"
              ],
              "display_name": "Report",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Report",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 359,
          "dragging": false,
          "position": {
            "x": 2893.098387884978,
            "y": 854.5001552884537
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2893.098387884978,
            "y": 854.5001552884537
          }
        },
        {
          "id": "InputNode-TdX3B",
          "data": {
            "id": "InputNode-TdX3B",
            "node": {
              "template": {
                "_type": "input",
                "input": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "公司主营业务的市场定位是什么？",
                    "公司的主要供应商情况是什么？",
                    "公司营业成本是多少？各项成本占营业成本的比例是多少？并结合行业特点分析合理性",
                    "对公司进行核心竞争力、盈利模式及可持续性分析"
                  ],
                  "l2_name": "input",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 405,
          "position": {
            "x": 1882.0029133695327,
            "y": 20
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1882.0029133695327,
            "y": 20
          }
        },
        {
          "id": "RetrievalQA-F6quW",
          "data": {
            "id": "RetrievalQA-F6quW",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "BaseRetrievalQA",
                "Chain",
                "RetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 2365.4233944189255,
            "y": 484.70381798330607
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2365.4233944189255,
            "y": 484.70381798330607
          }
        },
        {
          "id": "CombineDocsChain-tv0S2",
          "data": {
            "id": "CombineDocsChain-tv0S2",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "l2": false,
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "l2": false,
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 413,
          "position": {
            "x": 1430.7645538078127,
            "y": 262.02647664648924
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1430.7645538078127,
            "y": 262.02647664648924
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-nYygC",
          "data": {
            "id": "ElemUnstructuredLoaderV0-nYygC",
            "node": {
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "file_path": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "l2_name": "file_path",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "multiline": false,
                  "placeholder": ""
                },
                "unstructured_api_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "l2_name": "unstructured_api_url",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "unstructured_api_url"
                }
              },
              "description": "The appropriate parser is automatically selected based on the file format and OCR is supported",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "position": {
            "x": 687.5802734859502,
            "y": 887.9738676014504
          },
          "selected": false,
          "positionAbsolute": {
            "x": 687.5802734859502,
            "y": 887.9738676014504
          }
        },
        {
          "id": "RecursiveCharacterTextSplitter-6g2FA",
          "data": {
            "id": "RecursiveCharacterTextSplitter-6g2FA",
            "node": {
              "template": {
                "_type": "RecursiveCharacterTextSplitter",
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "chunk_size": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chunk_size",
                  "show": true,
                  "type": "int",
                  "value": 1000,
                  "l2_name": "chunk_size",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Size"
                },
                "separators": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "separators",
                  "show": true,
                  "type": "str",
                  "value": "\\n",
                  "l2_name": "separators",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator"
                },
                "chunk_overlap": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chunk_overlap",
                  "show": true,
                  "type": "int",
                  "value": 200,
                  "l2_name": "chunk_overlap",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Overlap"
                },
                "separator_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "separator_type",
                  "show": true,
                  "type": "str",
                  "value": "Text",
                  "l2_name": "separator_type",
                  "options": [
                    "Text",
                    "cpp",
                    "go",
                    "html",
                    "java",
                    "js",
                    "latex",
                    "markdown",
                    "php",
                    "proto",
                    "python",
                    "rst",
                    "ruby",
                    "rust",
                    "scala",
                    "sol",
                    "swift"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator Type"
                }
              },
              "description": "Implementation of splitting text that looks at characters.",
              "base_classes": [
                "Document"
              ],
              "display_name": "RecursiveCharacterTextSplitter",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter"
            },
            "type": "RecursiveCharacterTextSplitter",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 561,
          "position": {
            "x": 1126.323112777516,
            "y": 958.025245303465
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1126.323112777516,
            "y": 958.025245303465
          }
        },
        {
          "id": "VariableNode-UB934",
          "data": {
            "id": "VariableNode-UB934",
            "node": {
              "template": {
                "_type": "VariableNode",
                "variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "variables",
                  "show": true,
                  "type": "variable",
                  "value": [
                    "客户名称",
                    "客户规模"
                  ],
                  "l2_name": "variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "variable_value": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "variable_value",
                  "show": false,
                  "type": "str",
                  "l2_name": "variable_value",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "用来设置变量",
              "base_classes": [
                "VariableNode"
              ],
              "display_name": "VariableNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "VariableNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 233,
          "dragging": false,
          "position": {
            "x": 2311.569198584317,
            "y": 991.6304728944774
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2311.569198584317,
            "y": 991.6304728944774
          }
        },
        {
          "id": "Milvus-fSZ8o",
          "data": {
            "id": "Milvus-fSZ8o",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "collection_name",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 429,
          "position": {
            "x": 1715.041130224926,
            "y": 967.8237662817272
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1715.041130224926,
            "y": 967.8237662817272
          }
        },
        {
          "id": "OpenAIProxyEmbedding-0OoJh",
          "data": {
            "id": "OpenAIProxyEmbedding-0OoJh",
            "node": {
              "template": {
                "_type": "proxy_embedding",
                "proxy_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "proxy_url",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "l2_name": "proxy_url",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "http://43.133.35.137:8080"
                }
              },
              "description": " 使用自建的embedding服务使用openai进行embed ",
              "base_classes": [
                "Embeddings"
              ],
              "display_name": "OpenAIProxyEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "OpenAIProxyEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 173,
          "position": {
            "x": 1138.4741947789414,
            "y": 704.7914052206025
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1138.4741947789414,
            "y": 704.7914052206025
          }
        },
        {
          "id": "InputFileNode-a4516",
          "data": {
            "id": "InputFileNode-a4516",
            "node": {
              "beta": false,
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    "..xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": 232.94631949418465,
            "y": 876.7981526493783
          },
          "selected": false,
          "positionAbsolute": {
            "x": 232.94631949418465,
            "y": 876.7981526493783
          }
        },
        {
          "id": "BishengLLM-a972d",
          "data": {
            "id": "BishengLLM-a972d",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 526.6927690842307,
            "y": 137.74438088815248
          },
          "selected": true,
          "positionAbsolute": {
            "x": 526.6927690842307,
            "y": 137.74438088815248
          }
        }
      ],
      "viewport": {
        "x": -41.278753137878425,
        "y": 51.57633498215188,
        "zoom": 0.5112634327714005
      }
    },
    "order_num": 6684632,
    "guide_word": null
  },
  {
    "update_time": "2024-10-15 18:39:29",
    "parameters": null,
    "name": "⭐️知识库问答【增强版】",
    "description": "选择知识库，进行知识库问答。特点：\n1.知识多轮问答；\n2.使用关键词检索、向量检索两种方式，提高召回率；\n3.优化过的提示词，降低胡说的出现；",
    "flow_id": "9c964a6cabba4d6ea76fde38e72e559d",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:24:17",
    "id": 182,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-Milvus-cyR5WMilvus|Milvus-cyR5W|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-MixEsVectorRetriever-J35CZBaseRetriever|vector_retriever|MixEsVectorRetriever-J35CZ",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-cyR5W",
          "target": "MixEsVectorRetriever-J35CZ",
          "animated": true,
          "className": "",
          "sourceHandle": "Milvus|Milvus-cyR5W|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|vector_retriever|MixEsVectorRetriever-J35CZ"
        },
        {
          "id": "reactflow__edge-MixEsVectorRetriever-J35CZMixEsVectorRetriever|MixEsVectorRetriever-J35CZ|MixEsVectorRetriever|BaseRetriever-ConversationalRetrievalChain-SmY3wBaseRetriever|retriever|ConversationalRetrievalChain-SmY3w",
          "style": {
            "stroke": "#555"
          },
          "source": "MixEsVectorRetriever-J35CZ",
          "target": "ConversationalRetrievalChain-SmY3w",
          "animated": true,
          "className": "",
          "sourceHandle": "MixEsVectorRetriever|MixEsVectorRetriever-J35CZ|BaseRetriever|MixEsVectorRetriever",
          "targetHandle": "BaseRetriever|retriever|ConversationalRetrievalChain-SmY3w"
        },
        {
          "id": "reactflow__edge-ConversationBufferMemory-K1tssConversationBufferMemory|ConversationBufferMemory-K1tss|BaseChatMemory|BaseMemory|ConversationBufferMemory-ConversationalRetrievalChain-SmY3wBaseChatMemory|memory|ConversationalRetrievalChain-SmY3w",
          "style": {
            "stroke": "#555"
          },
          "source": "ConversationBufferMemory-K1tss",
          "target": "ConversationalRetrievalChain-SmY3w",
          "animated": true,
          "className": "",
          "sourceHandle": "ConversationBufferMemory|ConversationBufferMemory-K1tss|ConversationBufferMemory|BaseChatMemory|BaseMemory",
          "targetHandle": "BaseChatMemory|memory|ConversationalRetrievalChain-SmY3w"
        },
        {
          "id": "reactflow__edge-PromptTemplate-bs0vjPromptTemplate|PromptTemplate-bs0vj|StringPromptTemplate|BasePromptTemplate|PromptTemplate-ConversationalRetrievalChain-SmY3wBasePromptTemplate|combine_docs_chain_kwargs|ConversationalRetrievalChain-SmY3w",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-bs0vj",
          "target": "ConversationalRetrievalChain-SmY3w",
          "animated": true,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-bs0vj|StringPromptTemplate|PromptTemplate|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|combine_docs_chain_kwargs|ConversationalRetrievalChain-SmY3w"
        },
        {
          "id": "reactflow__edge-BishengLLM-768acBishengLLM|BishengLLM-768ac|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-ConversationalRetrievalChain-SmY3wBaseLanguageModel|llm|ConversationalRetrievalChain-SmY3w",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-768ac",
          "target": "ConversationalRetrievalChain-SmY3w",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-768ac|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ConversationalRetrievalChain-SmY3w"
        },
        {
          "id": "reactflow__edge-ElasticKeywordsSearch-1c80eElasticKeywordsSearch|ElasticKeywordsSearch-1c80e|VectorStore|ElasticKeywordsSearch|BaseRetriever|VectorStoreRetriever-MixEsVectorRetriever-J35CZBaseRetriever|keyword_retriever|MixEsVectorRetriever-J35CZ",
          "style": {
            "stroke": "#555"
          },
          "source": "ElasticKeywordsSearch-1c80e",
          "target": "MixEsVectorRetriever-J35CZ",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElasticKeywordsSearch|ElasticKeywordsSearch-1c80e|VectorStore|ElasticKeywordsSearch|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|keyword_retriever|MixEsVectorRetriever-J35CZ"
        }
      ],
      "nodes": [
        {
          "id": "MixEsVectorRetriever-J35CZ",
          "data": {
            "id": "MixEsVectorRetriever-J35CZ",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": true,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "MixEsVectorRetriever",
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_strategy": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "combine_strategy",
                  "show": true,
                  "type": "str",
                  "value": "mix",
                  "l2_name": "combine_strategy",
                  "options": [
                    "keyword_front",
                    "vector_front",
                    "mix"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "vector_retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "vector_retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "vector_retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "keyword_retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "keyword_retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "keyword_retriever",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "This class ensemble the results of es retriever and vector retriever.",
              "base_classes": [
                "BaseRetriever",
                "MixEsVectorRetriever"
              ],
              "display_name": "MixEsVectorRetriever",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "MixEsVectorRetriever",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 351,
          "dragging": false,
          "position": {
            "x": 855.7285654150652,
            "y": 657.020339011865
          },
          "selected": false,
          "positionAbsolute": {
            "x": 855.7285654150652,
            "y": 657.020339011865
          }
        },
        {
          "id": "Milvus-cyR5W",
          "data": {
            "id": "Milvus-cyR5W",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "毕昇产品文档20240421",
                  "l2_name": "collection_name",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": 4597
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "VectorStore",
                "Milvus",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "dragging": false,
          "position": {
            "x": 252.82794993869493,
            "y": 1067.6627689948364
          },
          "selected": false,
          "positionAbsolute": {
            "x": 252.82794993869493,
            "y": 1067.6627689948364
          }
        },
        {
          "id": "ConversationalRetrievalChain-SmY3w",
          "data": {
            "id": "ConversationalRetrievalChain-SmY3w",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ConversationalRetrievalChain",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseChatMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callbacks",
                  "show": false,
                  "type": "Callbacks",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "condense_question_llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "condense_question_llm",
                  "show": false,
                  "type": "BaseLanguageModel",
                  "l2_name": "condense_question_llm",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Return source documents"
                },
                "condense_question_prompt": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "condense_question_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "value": {
                    "_type": "prompt",
                    "template": "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone question:",
                    "output_parser": null,
                    "input_variables": [
                      "chat_history",
                      "question"
                    ],
                    "template_format": "f-string",
                    "partial_variables": {},
                    "validate_template": true
                  },
                  "l2_name": "condense_question_prompt",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_docs_chain_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_docs_chain_kwargs",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "l2_name": "combine_docs_chain_kwargs",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                }
              },
              "description": "Convenience method to load chain from LLM and retriever.",
              "base_classes": [
                "ConversationalRetrievalChain",
                "Chain",
                "BaseConversationalRetrievalChain",
                "function"
              ],
              "display_name": "ConversationalRetrievalChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/chat_vector_db"
            },
            "type": "ConversationalRetrievalChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 495,
          "dragging": false,
          "position": {
            "x": 1716.0776457768882,
            "y": 243.73689122583036
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1716.0776457768882,
            "y": 243.73689122583036
          }
        },
        {
          "id": "ConversationBufferMemory-K1tss",
          "data": {
            "id": "ConversationBufferMemory-K1tss",
            "node": {
              "template": {
                "_type": "ConversationBufferMemory",
                "ai_prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "ai_prefix",
                  "show": false,
                  "type": "str",
                  "value": "AI",
                  "l2_name": "ai_prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "The variable to be used as Chat Input when more than one variable is available.",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "input_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "memory_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory_key",
                  "show": true,
                  "type": "str",
                  "value": "chat_history",
                  "l2_name": "memory_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "l2": false,
                  "info": "The variable to be used as Chat Output (e.g. answer in a ConversationalRetrievalChain)",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "answer",
                  "l2_name": "output_key",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "chat_memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "chat_memory",
                  "show": true,
                  "type": "BaseChatMessageHistory",
                  "l2_name": "chat_memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "human_prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "human_prefix",
                  "show": false,
                  "type": "str",
                  "value": "Human",
                  "l2_name": "human_prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_messages": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_messages",
                  "show": true,
                  "type": "bool",
                  "l2_name": "return_messages",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Buffer for storing conversation memory.",
              "base_classes": [
                "ConversationBufferMemory",
                "BaseChatMemory",
                "BaseMemory"
              ],
              "display_name": "ConversationBufferMemory",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/memory/how_to/buffer"
            },
            "type": "ConversationBufferMemory",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 527,
          "dragging": false,
          "position": {
            "x": 843.4894981704888,
            "y": 77.9938911218216
          },
          "selected": false,
          "positionAbsolute": {
            "x": 843.4894981704888,
            "y": 77.9938911218216
          }
        },
        {
          "id": "PromptTemplate-bs0vj",
          "data": {
            "id": "PromptTemplate-bs0vj",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "参考文本：\n{context}\n\n----------------------\n\n1.用中文回答用户问题，并且答案要严谨专业。\n2.你需要依据以上【参考文本】中的内容来回答，当【参考文本】中有明确与用户问题相关的内容时才进行回答，不可根据自己的知识来回答。\n3.由于【参考文本】可能包含多个来自不同信息源的信息，所以根据这些不同的信息源可能得出有差异甚至冲突的答案，当发现这种情况时，这些答案都列举出来；如果没有冲突或差异，则只需要给出一个最终结果。\n4.若【参考文本】中内容与用户问题不相关则回复“没有找到相关内容”。\n\n----------------------\n\n用户问题: {question}\n你的回答:",
                  "l2_name": "template",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "context",
                    "question"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "str",
                  "value": "f-string",
                  "l2_name": "template_format",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "l2_name": "partial_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "validate_template",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Schema to represent a prompt for an LLM.",
              "base_classes": [
                "StringPromptTemplate",
                "PromptTemplate",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "context",
                  "question"
                ],
                "template": [
                  "context",
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {
                "formatters": {
                  "openai_api_key": {}
                },
                "base_formatters": {
                  "dict": {},
                  "list": {},
                  "show": {},
                  "union": {},
                  "kwargs": {},
                  "default": {},
                  "headers": {},
                  "optional": {},
                  "password": {},
                  "multiline": {},
                  "model_fields": {
                    "MODEL_DICT": {
                      "OpenAI": [
                        "text-davinci-003",
                        "text-davinci-002",
                        "text-curie-001",
                        "text-babbage-001",
                        "text-ada-001"
                      ],
                      "Anthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ],
                      "ChatOpenAI": [
                        "gpt-3.5-turbo-0613",
                        "gpt-3.5-turbo",
                        "gpt-3.5-turbo-16k-0613",
                        "gpt-3.5-turbo-16k",
                        "gpt-4-0613",
                        "gpt-4-32k-0613",
                        "gpt-4",
                        "gpt-4-32k"
                      ],
                      "ChatAnthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ]
                    }
                  },
                  "dict_code_file": {}
                }
              }
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 291,
          "dragging": false,
          "position": {
            "x": 838.6147040497829,
            "y": -450.1088052880104
          },
          "selected": false,
          "positionAbsolute": {
            "x": 838.6147040497829,
            "y": -450.1088052880104
          }
        },
        {
          "id": "BishengLLM-768ac",
          "data": {
            "id": "BishengLLM-768ac",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 185.91731964952712,
            "y": -45.1192362802976
          },
          "selected": true,
          "positionAbsolute": {
            "x": 185.91731964952712,
            "y": -45.1192362802976
          }
        },
        {
          "id": "ElasticKeywordsSearch-1c80e",
          "data": {
            "id": "ElasticKeywordsSearch-1c80e",
            "node": {
              "beta": false,
              "template": {
                "ids": {
                  "info": "",
                  "list": true,
                  "name": "ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Ids",
                  "model_config": {}
                },
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLLM",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "LLM",
                  "model_config": {}
                },
                "_type": "ElasticKeywordsSearch",
                "prompt": {
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "prompt",
                  "model_config": {}
                },
                "drop_old": {
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Drop Old",
                  "model_config": {}
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Documents",
                  "model_config": {}
                },
                "embedding": {
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Embedding",
                  "model_config": {}
                },
                "metadatas": {
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadatas",
                  "model_config": {}
                },
                "index_name": {
                  "info": "",
                  "list": false,
                  "name": "index_name",
                  "show": true,
                  "type": "knowledge_one",
                  "value": "毕昇产品文档20240421",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Index Name",
                  "model_config": {},
                  "collection_id": 4597
                },
                "ssl_verify": {
                  "info": "",
                  "list": false,
                  "name": "ssl_verify",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "ssl_verify",
                  "model_config": {}
                },
                "search_type": {
                  "info": "",
                  "list": false,
                  "name": "search_type",
                  "show": true,
                  "type": "str",
                  "value": "similarity",
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Search Type",
                  "model_config": {}
                },
                "search_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Search Kwargs",
                  "model_config": {}
                },
                "refresh_indices": {
                  "info": "",
                  "list": false,
                  "name": "refresh_indices",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Refresh Indices",
                  "model_config": {}
                },
                "elasticsearch_url": {
                  "info": "",
                  "list": false,
                  "name": "elasticsearch_url",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "ES_connection_url",
                  "model_config": {}
                }
              },
              "description": "Construct ElasticKeywordsSearch wrapper from raw documents.",
              "base_classes": [
                "VectorStore",
                "ElasticKeywordsSearch",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "ElasticKeywordsSearch",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030",
              "field_formatters": {}
            },
            "type": "ElasticKeywordsSearch",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 547,
          "dragging": false,
          "position": {
            "x": 216.8898375498219,
            "y": 461.0085204207429
          },
          "selected": false,
          "positionAbsolute": {
            "x": 216.8898375498219,
            "y": 461.0085204207429
          }
        }
      ],
      "viewport": {
        "x": 365.45540726853375,
        "y": 231.0471559799472,
        "zoom": 0.42343675192812
      }
    },
    "order_num": null,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 17:25:43",
    "parameters": null,
    "name": "⭐️SQLAgent",
    "description": "通过自然语言进行数据库查询与分析。当前共享key只支持GPT3.5模型，效果可能不如4。\n\n暂不支持多轮问答。当前提供了上市公司相关的示例数据库，具体数据库表见：https://dataelem.feishu.cn/wiki/XaIzwkZNbisIoRkdPv2cuOqwnQf?sheet=d9b32d",
    "flow_id": "2623add6f93f40cf9c707de670e44b59",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:25:43",
    "id": 183,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-BishengLLM-268bdBishengLLM|BishengLLM-268bd|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-SQLAgent-coFffBaseLanguageModel|llm|SQLAgent-coFff",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-268bd",
          "target": "SQLAgent-coFff",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-268bd|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|SQLAgent-coFff"
        }
      ],
      "nodes": [
        {
          "id": "SQLAgent-coFff",
          "data": {
            "id": "SQLAgent-coFff",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "SQLAgent",
                "top_k": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "top_k",
                  "show": false,
                  "type": "int",
                  "value": 10,
                  "l2_name": "top_k",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prefix",
                  "show": true,
                  "type": "str",
                  "value": "You are an agent designed to interact with a SQL database.\nGiven an input question, create a syntactically correct {dialect} query to run, then look at the results of the query and return the answer.\nUnless the user specifies a specific number of examples they wish to obtain, always limit your query to at most {top_k} results.\nYou can order the results by a relevant column to return the most interesting examples in the database.\nNever query for all the columns from a specific table, only ask for the relevant columns given the question.\nYou have access to tools for interacting with the database.\nOnly use the below tools. Only use the information returned by the below tools to construct your final answer.\nYou MUST double check your query before executing it. If you get an error while executing a query, rewrite the query and try again.\n\nDO NOT make any DML statements (INSERT, UPDATE, DELETE, DROP etc.) to the database.\n\nIf the question does not seem related to the database, just return \"I don't know\" as the answer.\n",
                  "l2_name": "prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "suffix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "suffix",
                  "show": true,
                  "type": "str",
                  "value": "Begin!\n\nQuestion: {input}\nThought: I should look at the tables in the database to see what I can query.  Then I should query the schema of the most relevant tables.\n{agent_scratchpad}",
                  "l2_name": "suffix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "database_uri": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "database_uri",
                  "show": true,
                  "type": "str",
                  "value": "mysql+pymysql://root:E1SkG0PaDMEPTAxY@192.168.106.116:3306/company_stock",
                  "l2_name": "database_uri",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "input",
                    "agent_scratchpad"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "format_instructions": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "format_instructions",
                  "show": true,
                  "type": "str",
                  "value": "Use the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [{tool_names}]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question",
                  "l2_name": "format_instructions",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                }
              },
              "description": "Construct an SQL agent from an LLM and tools.",
              "base_classes": [
                "CustomAgentExecutor",
                "SQLAgent",
                "Chain",
                "AgentExecutor",
                "function"
              ],
              "display_name": "SQLAgent",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "SQLAgent",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 705,
          "position": {
            "x": 560.4986060286186,
            "y": 43.27482866991457
          },
          "selected": false,
          "positionAbsolute": {
            "x": 560.4986060286186,
            "y": 43.27482866991457
          }
        },
        {
          "id": "BishengLLM-268bd",
          "data": {
            "id": "BishengLLM-268bd",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 4,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BishengLLM",
                "BaseLanguageModel",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": -234.44315040341712,
            "y": 160.48338217607173
          },
          "selected": true,
          "positionAbsolute": {
            "x": -234.44315040341712,
            "y": 160.48338217607173
          }
        }
      ],
      "viewport": {
        "x": 448.55360702357893,
        "y": -9.209667977077856,
        "zoom": 1.147646679561573
      }
    },
    "order_num": 6815702,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 17:30:30",
    "parameters": null,
    "name": "⭐️  QA生成",
    "description": "上传文档自动生成QA对，上传文档后，发送“开始”触发",
    "flow_id": "23966d5d7f234ef2827e6128ae6bd8bf",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:30:30",
    "id": 185,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-fcc08ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-fcc08|Document-QAGenerationChainV2-c3ec3Document|documents|QAGenerationChainV2-c3ec3",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-fcc08",
          "target": "QAGenerationChainV2-c3ec3",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-fcc08|Document",
          "targetHandle": "Document|documents|QAGenerationChainV2-c3ec3"
        },
        {
          "id": "reactflow__edge-InputFileNode-09d8bInputFileNode|InputFileNode-09d8b|fileNode-ElemUnstructuredLoaderV0-fcc08fileNode|file_path|ElemUnstructuredLoaderV0-fcc08",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-09d8b",
          "target": "ElemUnstructuredLoaderV0-fcc08",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-09d8b|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-fcc08"
        },
        {
          "id": "reactflow__edge-BishengLLM-f47edBishengLLM|BishengLLM-f47ed|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-QAGenerationChainV2-c3ec3BaseLanguageModel|llm|QAGenerationChainV2-c3ec3",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-f47ed",
          "target": "QAGenerationChainV2-c3ec3",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-f47ed|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|QAGenerationChainV2-c3ec3"
        }
      ],
      "nodes": [
        {
          "id": "QAGenerationChainV2-c3ec3",
          "data": {
            "id": "QAGenerationChainV2-c3ec3",
            "node": {
              "beta": false,
              "template": {
                "k": {
                  "info": "",
                  "list": false,
                  "name": "k",
                  "show": true,
                  "type": "int",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "K",
                  "model_config": {}
                },
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "_type": "QAGenerationChainV2",
                "prompt": {
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": false,
                  "type": "ChatPromptTemplate",
                  "value": {
                    "name": null,
                    "tags": null,
                    "_type": "chat",
                    "messages": [
                      {
                        "prompt": {
                          "name": null,
                          "tags": null,
                          "_type": "prompt",
                          "metadata": null,
                          "template": "您的任务是遵循以下规则从给定的上下文中提出一个问题，规则如下：\n\n    1. 即使在没有给定上下文的情况下，问题也应该对人类有意义。\n    2. 应该可以从给定上下文中完全回答问题。\n    3. 问题应该来自包含重要信息的上下文部分。它也可以来自表格、段落、或者代码等。\n    4. 回答问题时不应包含任何链接。\n    5. 问题的难度应该是中等的。\n    6. 问题必须是合理的，并且必须能被人理解和回答。\n    7. 不要在问题中使用“提供的上下文”等短语。\n    8. 避免使用可以分解成多个问题的“和”字样来构建问题。\n    9. 如果上下文是中文，那么问题也应该是中文的。\n\nExamples:\ncontext:武汉达梦数据库股份有限公司 招股说明书 （申报稿） 1-1-226 表中作出恰当列报。 2、研发费用 2021年度、 2020年度、 2019 年度，达梦数据 研发费用金额分别 为11,786.99 万元、 9,660.26 万元、 6,255.86万元， 各年度研发费用占营 业收入的比例分别为 15.86 % 、 21.46 %、20.74 %。 由于研发投入金额及其占当期 营业收入的比例是 达梦数据 的关键 指标之一，可能存在因为核算不准 确而导致的错报风险。因此， 中天 运会计师 将研发费用的归集和核算 确定为关键审计事项。 针对研发费用的真实性与准确性，会计师执行的 重要审计程序主要包括： （1）了解与研发费用相关的关键内部控制，评价 这些控制的设计，确定其是否得到执行，并对相关内 部控制的运行有效性进行测试； （2）获取研发项目立项、审批资料，抽查重要研 发项目的过程文档，判断研发项目的真实性； （3）获取研发费用按项目、性质分类明细表，分\nquestion:达梦2021年的研发费用占营业收入的比例是多少？\n\ncontext:武汉达梦数据库股份有限公司 招股说明书 （申报稿） 1-1-329 （2）存货周转率 公司与同行业可比公司存货周转率对比情况如下： 公司简称 2021年度 2020年度 2019年度 中望软件 6.93 5.62 10.66 星环科技 3.38 3.21 2.24 金山办公 212.60 175.46 162.91 平均值 74.30 61.43 58.60 本公司 1.13 0.57 0.87 数据来源：可比公司招股说明书、定期报告。 报告期各期， 公司存货周转率显著低于同行业可比公司存货周转率平均水平， 主要是因为公司将未验收的数据及行业解决方案项目所发生的累 计成本均作为 存货核算。报告期各期末，公司存在 “湖北省司法行政数据中心项目 ”、“政法云 大数据中心基础设施服务及大数据中心软件采购 项目”等金额较大且实施周期较 长的数据及行业解决方案项目，导致年末存货金额较大。\nquestion:达梦2021年的存货周转率相较于前一年有何变化？\n",
                          "input_types": {},
                          "output_parser": null,
                          "input_variables": [],
                          "template_format": "f-string",
                          "partial_variables": {},
                          "validate_template": false
                        },
                        "additional_kwargs": {}
                      },
                      {
                        "prompt": {
                          "name": null,
                          "tags": null,
                          "_type": "prompt",
                          "metadata": null,
                          "template": "\ncontext:{context}\nquestion:\n",
                          "input_types": {},
                          "output_parser": null,
                          "input_variables": [
                            "context"
                          ],
                          "template_format": "f-string",
                          "partial_variables": {},
                          "validate_template": false
                        },
                        "additional_kwargs": {}
                      }
                    ],
                    "metadata": null,
                    "input_types": {},
                    "output_parser": null,
                    "input_variables": [
                      "context"
                    ],
                    "partial_variables": {},
                    "validate_template": false
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Prompt",
                  "model_config": {}
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Documents",
                  "model_config": {}
                },
                "chunk_size": {
                  "info": "",
                  "list": false,
                  "name": "chunk_size",
                  "show": true,
                  "type": "int",
                  "value": 512,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Chunk Size",
                  "model_config": {}
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": false,
                  "type": "input",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Preset Question",
                  "model_config": {}
                }
              },
              "description": "Create a QAGenerationChain from a language model.",
              "base_classes": [
                "QAGenerationChainV2",
                "Chain",
                "function"
              ],
              "display_name": "QAGenerationChainV2",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "QAGenerationChainV2",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 429,
          "dragging": false,
          "position": {
            "x": 1052.5270781868935,
            "y": 242.3629681024322
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1052.5270781868935,
            "y": 242.3629681024322
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-fcc08",
          "data": {
            "id": "ElemUnstructuredLoaderV0-fcc08",
            "node": {
              "beta": false,
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "kwargs": {
                  "info": "",
                  "list": false,
                  "name": "kwargs",
                  "show": true,
                  "type": "dict",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "kwargs",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "unstructured_api_url": {
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "dynamic": false,
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "unstructured_api_url",
                  "model_config": {}
                }
              },
              "description": "The appropriate parser is automatically selected based on the file format and OCR is supported",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 477,
          "dragging": false,
          "position": {
            "x": 311.70357393794484,
            "y": -85.01385230407082
          },
          "selected": false,
          "positionAbsolute": {
            "x": 311.70357393794484,
            "y": -85.01385230407082
          }
        },
        {
          "id": "InputFileNode-09d8b",
          "data": {
            "id": "InputFileNode-09d8b",
            "node": {
              "beta": false,
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    "..xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "请上传文件",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": -353.26090599027486,
            "y": -72.66649282333755
          },
          "selected": false,
          "positionAbsolute": {
            "x": -353.26090599027486,
            "y": -72.66649282333755
          }
        },
        {
          "id": "BishengLLM-f47ed",
          "data": {
            "id": "BishengLLM-f47ed",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BishengLLM",
                "BaseLanguageModel",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 289.08494703205145,
            "y": 479.77562233501465
          },
          "selected": true,
          "positionAbsolute": {
            "x": 289.08494703205145,
            "y": 479.77562233501465
          }
        }
      ],
      "viewport": {
        "x": 387.6997915647513,
        "y": 113.95818800464951,
        "zoom": 0.8646078322295284
      }
    },
    "order_num": 6946772,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 17:39:24",
    "parameters": null,
    "name": "⭐️ API调用（使用APIChain）",
    "description": "可以参考示例复制完整的接口文档，即可开始进行接口调用",
    "flow_id": "44b8448120ba4d65b5d16e55984a583f",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:39:24",
    "id": 186,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-Tool-OL3JiTool|Tool-OL3Ji|Tool|BaseTool-ZeroShotAgent-aFNWBBaseTool|tools|ZeroShotAgent-aFNWB",
          "style": {
            "stroke": "#555"
          },
          "source": "Tool-OL3Ji",
          "target": "ZeroShotAgent-aFNWB",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Tool|Tool-OL3Ji|Tool|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-aFNWB"
        },
        {
          "id": "reactflow__edge-APIChain-613fcAPIChain|APIChain-613fc|APIChain|Chain|function-Tool-OL3Jifunction|func|Tool-OL3Ji",
          "style": {
            "stroke": "#555"
          },
          "source": "APIChain-613fc",
          "target": "Tool-OL3Ji",
          "animated": true,
          "className": "",
          "sourceHandle": "APIChain|APIChain-613fc|APIChain|Chain|function",
          "targetHandle": "function|func|Tool-OL3Ji"
        },
        {
          "id": "reactflow__edge-PromptTemplate-48659PromptTemplate|PromptTemplate-48659|BasePromptTemplate|StringPromptTemplate|PromptTemplate-APIChain-613fcBasePromptTemplate|api_url_prompt|APIChain-613fc",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-48659",
          "target": "APIChain-613fc",
          "animated": true,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-48659|BasePromptTemplate|StringPromptTemplate|PromptTemplate",
          "targetHandle": "BasePromptTemplate|api_url_prompt|APIChain-613fc"
        },
        {
          "id": "reactflow__edge-BishengLLM-687d0BishengLLM|BishengLLM-687d0|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-APIChain-613fcBaseLanguageModel|llm|APIChain-613fc",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-687d0",
          "target": "APIChain-613fc",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-687d0|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|APIChain-613fc"
        },
        {
          "id": "reactflow__edge-BishengLLM-687d0BishengLLM|BishengLLM-687d0|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-ZeroShotAgent-aFNWBBaseLanguageModel|llm|ZeroShotAgent-aFNWB",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-687d0",
          "target": "ZeroShotAgent-aFNWB",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-687d0|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ZeroShotAgent-aFNWB"
        }
      ],
      "nodes": [
        {
          "id": "ZeroShotAgent-aFNWB",
          "data": {
            "id": "ZeroShotAgent-aFNWB",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ZeroShotAgent",
                "tools": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tools",
                  "show": true,
                  "type": "BaseTool",
                  "l2_name": "tools",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prefix",
                  "show": true,
                  "type": "str",
                  "value": "Answer the following questions as best you can. You have access to the following tools:",
                  "l2_name": "prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "suffix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "suffix",
                  "show": true,
                  "type": "str",
                  "value": "Begin!\n\nQuestion: {input}\nThought:{agent_scratchpad}",
                  "l2_name": "suffix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "AgentOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callback_manager": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callback_manager",
                  "show": false,
                  "type": "BaseCallbackManager",
                  "l2_name": "callback_manager",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "format_instructions": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "format_instructions",
                  "show": true,
                  "type": "str",
                  "value": "Use the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [{tool_names}]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question",
                  "l2_name": "format_instructions",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                }
              },
              "description": "Construct an agent from an LLM and tools.",
              "base_classes": [
                "BaseSingleActionAgent",
                "ZeroShotAgent",
                "Agent",
                "function"
              ],
              "display_name": "ZeroShotAgent",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/agents/how_to/custom_mrkl_agent"
            },
            "type": "ZeroShotAgent",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 609,
          "position": {
            "x": 1504.8003657712438,
            "y": 142.75763054618068
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1504.8003657712438,
            "y": 142.75763054618068
          }
        },
        {
          "id": "Tool-OL3Ji",
          "data": {
            "id": "Tool-OL3Ji",
            "node": {
              "template": {
                "func": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "func",
                  "show": true,
                  "type": "function",
                  "l2_name": "func",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": true,
                  "type": "str",
                  "value": "天气查询",
                  "l2_name": "name",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "_type": "Tool",
                "description": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "description",
                  "show": true,
                  "type": "str",
                  "value": "提供地址名称，查询该地址天气信息",
                  "l2_name": "description",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "return_direct": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_direct",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "l2_name": "return_direct",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Converts a chain, agent or function into a tool.",
              "base_classes": [
                "Tool",
                "BaseTool"
              ],
              "display_name": "Tool",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Tool",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 445,
          "position": {
            "x": 918.0602598736352,
            "y": 513.6611974885975
          },
          "selected": false,
          "positionAbsolute": {
            "x": 918.0602598736352,
            "y": 513.6611974885975
          }
        },
        {
          "id": "APIChain-613fc",
          "data": {
            "id": "APIChain-613fc",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "_type": "APIChain",
                "headers": {
                  "info": "",
                  "list": false,
                  "name": "headers",
                  "show": true,
                  "type": "code",
                  "value": "{'Authorization': 'Bearer <token>'}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Headers",
                  "model_config": {}
                },
                "api_docs": {
                  "info": "",
                  "list": false,
                  "name": "api_docs",
                  "show": true,
                  "type": "str",
                  "value": "key SGVquxtnZYK9WHJVD 接口地址   https://api.seniverse.com/v3/weather/now.json?key=your_api_key&location=beijing&language=zh-Hans&unit=c 请求参数说明 参数名称 类型 默认值 必填 备注 key String 无 是 你的 API 密钥 location Location 无 是 所查询的位置 language Language zh-Hans 否 语言 unit Unit c 否 单位 返回结果示例 JSON 复制代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 {   \"results\": [     {       \"location\": {         \"id\": \"C23NB62W20TF\",         \"name\": \"西雅图\",         \"country\": \"US\",         \"path\": \"西雅图,华盛顿州,美国\",         \"timezone\": \"America/Los_Angeles\",         \"timezone_offset\": \"-07:00\"       },       \"now\": {         \"text\": \"多云\", //天气现象文字         \"code\": \"4\", //天气现象代码         \"temperature\": \"14\", //温度，单位为c摄氏度或f华氏度         \"feels_like\": \"14\", //体感温度，单位为c摄氏度或f华氏度         \"pressure\": \"1018\", //气压，单位为mb百帕或in英寸         \"humidity\": \"76\", //相对湿度，0~100，单位为百分比         \"visibility\": \"16.09\", //能见度，单位为km公里或mi英里         \"wind_direction\": \"西北\", //风向文字         \"wind_direction_degree\": \"340\", //风向角度，范围0~360，0为正北，90为正东，180为正南，270为正西         \"wind_speed\": \"8.05\", //风速，单位为km/h公里每小时或mph英里每小时         \"wind_scale\": \"2\", //风力等级，请参考：http://baike.baidu.com/view/465076.htm         \"clouds\": \"90\", //云量，单位%，范围0~100，天空被云覆盖的百分比 #目前不支持中国城市#         \"dew_point\": \"-12\" //露点温度，请参考：http://baike.baidu.com/view/118348.htm #目前不支持中国城市#       },       \"last_update\": \"2015-09-25T22:45:00-07:00\" //数据更新时间（该城市的本地时间）     }   ] }",
                  "dynamic": false,
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Api Docs",
                  "model_config": {}
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Preset Question",
                  "model_config": {}
                },
                "api_url_prompt": {
                  "info": "",
                  "list": false,
                  "name": "api_url_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "value": {
                    "name": null,
                    "tags": null,
                    "_type": "prompt",
                    "metadata": null,
                    "template": "You are given the below API Documentation:\n{api_docs}\nUsing this documentation, generate the full API url to call for answering the user question.\nYou should build the API url in order to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention to deliberately exclude any unnecessary pieces of data in the API call.\n\nQuestion:{question}\nAPI url:",
                    "input_types": {},
                    "output_parser": null,
                    "input_variables": [
                      "api_docs",
                      "question"
                    ],
                    "template_format": "f-string",
                    "partial_variables": {},
                    "validate_template": false
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": true,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Api Url Prompt",
                  "model_config": {}
                },
                "limit_to_domains": {
                  "info": "",
                  "list": true,
                  "name": "limit_to_domains",
                  "show": true,
                  "type": "str",
                  "value": [
                    "https://api.seniverse.com"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Limit To Domains",
                  "model_config": {}
                },
                "api_response_prompt": {
                  "info": "",
                  "list": false,
                  "name": "api_response_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "value": {
                    "name": null,
                    "tags": null,
                    "_type": "prompt",
                    "metadata": null,
                    "template": "You are given the below API Documentation:\n{api_docs}\nUsing this documentation, generate the full API url to call for answering the user question.\nYou should build the API url in order to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention to deliberately exclude any unnecessary pieces of data in the API call.\n\nQuestion:{question}\nAPI url: {api_url}\n\nHere is the response from the API:\n\n{api_response}\n\nSummarize this response to answer the original question.\n\nSummary:",
                    "input_types": {},
                    "output_parser": null,
                    "input_variables": [
                      "api_docs",
                      "api_response",
                      "api_url",
                      "question"
                    ],
                    "template_format": "f-string",
                    "partial_variables": {},
                    "validate_template": false
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": true,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Api Response Prompt",
                  "model_config": {}
                }
              },
              "description": "Load chain from just an LLM and the api docs.",
              "base_classes": [
                "APIChain",
                "Chain",
                "function"
              ],
              "display_name": "APIChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "APIChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 563,
          "dragging": false,
          "position": {
            "x": 477.6277694871776,
            "y": 380.571320729037
          },
          "selected": false,
          "positionAbsolute": {
            "x": 477.6277694871776,
            "y": 380.571320729037
          }
        },
        {
          "id": "PromptTemplate-48659",
          "data": {
            "id": "PromptTemplate-48659",
            "node": {
              "beta": false,
              "icon": null,
              "name": "",
              "error": null,
              "template": {
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "PromptTemplate",
                "api_docs": {
                  "info": "",
                  "list": false,
                  "name": "api_docs",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "api_docs",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "question": {
                  "info": "",
                  "list": false,
                  "name": "question",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "question",
                  "model_config": {}
                },
                "template": {
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "You are given the below API Documentation:\n{api_docs}\n\nUsing this documentation, generate the full API url to call for answering the user question.\nYou should build the API url in order to get a response that is as short as possible, while still getting the necessary information to answer the question. \n\nPlease do not return any other words except the full API url.\n\nQuestion:{question}\nAPI url:",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Template",
                  "model_config": {}
                },
                "input_types": {
                  "info": "",
                  "list": false,
                  "name": "input_types",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Input Types",
                  "model_config": {}
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Output Parser",
                  "model_config": {}
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "api_docs",
                    "question"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Input Variables",
                  "model_config": {}
                },
                "template_format": {
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "Literal['f-string', 'mustache', 'jinja2']",
                  "value": "f-string",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Template Format",
                  "model_config": {}
                },
                "partial_variables": {
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Partial Variables",
                  "model_config": {}
                },
                "validate_template": {
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Validate Template",
                  "model_config": {}
                }
              },
              "full_path": null,
              "description": "Prompt template for a language model.",
              "base_classes": [
                "BasePromptTemplate",
                "StringPromptTemplate",
                "PromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "api_docs",
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 455,
          "dragging": false,
          "position": {
            "x": -52.092556516963214,
            "y": 621.8035505128619
          },
          "selected": false,
          "positionAbsolute": {
            "x": -52.092556516963214,
            "y": 621.8035505128619
          }
        },
        {
          "id": "BishengLLM-687d0",
          "data": {
            "id": "BishengLLM-687d0",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 4,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BishengLLM",
                "BaseLanguageModel",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": -85.44442588200178,
            "y": 56.91781929370879
          },
          "selected": false,
          "positionAbsolute": {
            "x": -85.44442588200178,
            "y": 56.91781929370879
          }
        }
      ],
      "viewport": {
        "x": 254.0096889201243,
        "y": 143.6897914083358,
        "zoom": 0.6555101557762626
      }
    },
    "order_num": 7012307,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 17:41:21",
    "parameters": null,
    "name": "⭐️知识库问答【严谨版】",
    "description": "选择知识库，进行知识库问答。通过ES搜索控制召回内容强相关（当然还有许多细节优化，详见：https://dataelem.feishu.cn/wiki/R7OYwlN9Ii8jRFkmOuKcMKtEnZc）",
    "flow_id": "95c28c47291641d680a380cf8b03d104",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 17:41:21",
    "id": 187,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-bMaXkCombineDocsChain|CombineDocsChain-bMaXk|BaseCombineDocumentsChain|function-RetrievalQA-ypS4mBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-ypS4m",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-bMaXk",
          "target": "RetrievalQA-ypS4m",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-bMaXk|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-ypS4m"
        },
        {
          "id": "reactflow__edge-PromptTemplate-gM5zgPromptTemplate|PromptTemplate-gM5zg|PromptTemplate|BasePromptTemplate|StringPromptTemplate-CombineDocsChain-bMaXkBasePromptTemplate|prompt|CombineDocsChain-bMaXk",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-gM5zg",
          "target": "CombineDocsChain-bMaXk",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-gM5zg|StringPromptTemplate|BasePromptTemplate|PromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|CombineDocsChain-bMaXk"
        },
        {
          "id": "reactflow__edge-ElasticKeywordsSearch-f27a9ElasticKeywordsSearch|ElasticKeywordsSearch-f27a9|ElasticKeywordsSearch|VectorStore|BaseRetriever|VectorStoreRetriever-RetrievalQA-ypS4mBaseRetriever|retriever|RetrievalQA-ypS4m",
          "style": {
            "stroke": "#555"
          },
          "source": "ElasticKeywordsSearch-f27a9",
          "target": "RetrievalQA-ypS4m",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElasticKeywordsSearch|ElasticKeywordsSearch-f27a9|ElasticKeywordsSearch|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-ypS4m"
        },
        {
          "id": "reactflow__edge-PromptTemplate-4iBFjPromptTemplate|PromptTemplate-4iBFj|StringPromptTemplate|BasePromptTemplate|PromptTemplate-ElasticKeywordsSearch-f27a9BasePromptTemplate|prompt|ElasticKeywordsSearch-f27a9",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-4iBFj",
          "target": "ElasticKeywordsSearch-f27a9",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "PromptTemplate|PromptTemplate-4iBFj|StringPromptTemplate|BasePromptTemplate|PromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|ElasticKeywordsSearch-f27a9"
        },
        {
          "id": "reactflow__edge-BishengLLM-bc77fBishengLLM|BishengLLM-bc77f|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-CombineDocsChain-bMaXkBaseLanguageModel|llm|CombineDocsChain-bMaXk",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-bc77f",
          "target": "CombineDocsChain-bMaXk",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-bc77f|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-bMaXk"
        },
        {
          "id": "reactflow__edge-BishengLLM-bc77fBishengLLM|BishengLLM-bc77f|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-ElasticKeywordsSearch-f27a9BaseLLM|llm|ElasticKeywordsSearch-f27a9",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-bc77f",
          "target": "ElasticKeywordsSearch-f27a9",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-bc77f|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLLM|llm|ElasticKeywordsSearch-f27a9"
        }
      ],
      "nodes": [
        {
          "id": "RetrievalQA-ypS4m",
          "data": {
            "id": "RetrievalQA-ypS4m",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "l2_name": "input_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "l2_name": "retriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "l2_name": "combine_documents_chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_source_documents",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "RetrievalQA",
                "BaseRetrievalQA",
                "Chain",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 1941.838444212454,
            "y": 902.7207397625788
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1941.838444212454,
            "y": 902.7207397625788
          }
        },
        {
          "id": "CombineDocsChain-bMaXk",
          "data": {
            "id": "CombineDocsChain-bMaXk",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "l2": false,
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "l2": false,
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": 7000,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "document_prompt": {
                  "info": "",
                  "list": false,
                  "name": "document_prompt",
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 413,
          "dragging": false,
          "position": {
            "x": 1334.4528869077485,
            "y": 404.7844512964858
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1334.4528869077485,
            "y": 404.7844512964858
          }
        },
        {
          "id": "PromptTemplate-gM5zg",
          "data": {
            "id": "PromptTemplate-gM5zg",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "context": {
                  "info": "",
                  "list": false,
                  "name": "context",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "context"
                },
                "question": {
                  "info": "",
                  "list": false,
                  "name": "question",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "question"
                },
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "参考文本：\n{context}\n\n----------------------\n# Role：客服\n\n# Background :\n- 你是一名客服人员。你的日常工作是根据【参考文本】的内容回复用户的各类咨询问题。\n\n# Goals:\n- 以上【参考文本】中是从企业知识库中查找到的相关信息，只能结合以上信息进行回答，若以上内容为空或其中没有找到能回答【用户问题】的内容时，则回复“没有找到相关内容”，不能根据你自己的知识自己发挥。\n- 特别要注意区分【用户问题】与【参考文本】中不同的日期、人名、公司名这些关键信息。\n- 用中文回答问题，并且答案要严谨、专业、清晰、可读性好。\n- 拥有排版审美, 会利用序号, 缩进, 分隔线和换行符等等来美化信息排版。\n\n----------------------\n\n用户问题: {question}\n你的回答:",
                  "l2_name": "template",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "context",
                    "question"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "str",
                  "value": "f-string",
                  "l2_name": "template_format",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "l2_name": "partial_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "validate_template",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Schema to represent a prompt for an LLM.",
              "base_classes": [
                "StringPromptTemplate",
                "BasePromptTemplate",
                "PromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "context",
                  "question"
                ],
                "template": [
                  "context",
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {
                "formatters": {
                  "openai_api_key": {}
                },
                "base_formatters": {
                  "dict": {},
                  "list": {},
                  "show": {},
                  "union": {},
                  "kwargs": {},
                  "default": {},
                  "headers": {},
                  "optional": {},
                  "password": {},
                  "multiline": {},
                  "model_fields": {
                    "MODEL_DICT": {
                      "OpenAI": [
                        "text-davinci-003",
                        "text-davinci-002",
                        "text-curie-001",
                        "text-babbage-001",
                        "text-ada-001"
                      ],
                      "Anthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ],
                      "ChatOpenAI": [
                        "gpt-3.5-turbo-0613",
                        "gpt-3.5-turbo",
                        "gpt-3.5-turbo-16k-0613",
                        "gpt-3.5-turbo-16k",
                        "gpt-4-0613",
                        "gpt-4-32k-0613",
                        "gpt-4",
                        "gpt-4-32k"
                      ],
                      "ChatAnthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ]
                    }
                  },
                  "dict_code_file": {}
                }
              }
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 455,
          "dragging": false,
          "position": {
            "x": 832.6495717437198,
            "y": -8.979469210830944
          },
          "selected": false,
          "positionAbsolute": {
            "x": 832.6495717437198,
            "y": -8.979469210830944
          }
        },
        {
          "id": "PromptTemplate-4iBFj",
          "data": {
            "id": "PromptTemplate-4iBFj",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "question": {
                  "info": "",
                  "list": false,
                  "name": "question",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "question"
                },
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "分析给定Question，提取Question中包含的KeyWords，输出列表形式\n\nExamples:\nQuestion: 数据项素2022年营收是多少？\nKeyWords: ['数据项素', '2022', '营收, '营业收入']\nQuestion: 深圳出差住宿标准是什么？\nKeyWords: ['深圳', '出差', '住宿标准', '报销标准']\n\n\n----------------\nQuestion: {question}\nKeyWords: ",
                  "l2_name": "template",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "question"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "str",
                  "value": "f-string",
                  "l2_name": "template_format",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "l2_name": "partial_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "validate_template",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Schema to represent a prompt for an LLM.",
              "base_classes": [
                "StringPromptTemplate",
                "BasePromptTemplate",
                "PromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "question"
                ],
                "template": [
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {
                "formatters": {
                  "openai_api_key": {}
                },
                "base_formatters": {
                  "dict": {},
                  "list": {},
                  "show": {},
                  "union": {},
                  "kwargs": {},
                  "default": {},
                  "headers": {},
                  "optional": {},
                  "password": {},
                  "multiline": {},
                  "model_fields": {
                    "MODEL_DICT": {
                      "OpenAI": [
                        "text-davinci-003",
                        "text-davinci-002",
                        "text-curie-001",
                        "text-babbage-001",
                        "text-ada-001"
                      ],
                      "Anthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ],
                      "ChatOpenAI": [
                        "gpt-3.5-turbo-0613",
                        "gpt-3.5-turbo",
                        "gpt-3.5-turbo-16k-0613",
                        "gpt-3.5-turbo-16k",
                        "gpt-4-0613",
                        "gpt-4-32k-0613",
                        "gpt-4",
                        "gpt-4-32k"
                      ],
                      "ChatAnthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ]
                    }
                  },
                  "dict_code_file": {}
                }
              }
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 373,
          "dragging": false,
          "position": {
            "x": 162.28620398428382,
            "y": 658.7665439891539
          },
          "selected": false,
          "positionAbsolute": {
            "x": 162.28620398428382,
            "y": 658.7665439891539
          }
        },
        {
          "id": "ElasticKeywordsSearch-f27a9",
          "data": {
            "id": "ElasticKeywordsSearch-f27a9",
            "node": {
              "beta": false,
              "template": {
                "ids": {
                  "info": "",
                  "list": true,
                  "name": "ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Ids",
                  "model_config": {}
                },
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLLM",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "LLM",
                  "model_config": {}
                },
                "_type": "ElasticKeywordsSearch",
                "prompt": {
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "prompt",
                  "model_config": {}
                },
                "drop_old": {
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Drop Old",
                  "model_config": {}
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Documents",
                  "model_config": {}
                },
                "embedding": {
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Embedding",
                  "model_config": {}
                },
                "metadatas": {
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadatas",
                  "model_config": {}
                },
                "index_name": {
                  "info": "",
                  "list": false,
                  "name": "index_name",
                  "show": true,
                  "type": "knowledge_one",
                  "value": "毕昇产品文档20240421",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Index Name",
                  "model_config": {},
                  "collection_id": 4597
                },
                "ssl_verify": {
                  "info": "",
                  "list": false,
                  "name": "ssl_verify",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "ssl_verify",
                  "model_config": {}
                },
                "search_type": {
                  "info": "",
                  "list": false,
                  "name": "search_type",
                  "show": true,
                  "type": "str",
                  "value": "similarity",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Search Type",
                  "model_config": {}
                },
                "search_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{\"k\":6}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Search Kwargs",
                  "model_config": {}
                },
                "refresh_indices": {
                  "info": "",
                  "list": false,
                  "name": "refresh_indices",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Refresh Indices",
                  "model_config": {}
                },
                "elasticsearch_url": {
                  "info": "",
                  "list": false,
                  "name": "elasticsearch_url",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "ES_connection_url",
                  "model_config": {}
                }
              },
              "description": "Construct ElasticKeywordsSearch wrapper from raw documents.",
              "base_classes": [
                "ElasticKeywordsSearch",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "ElasticKeywordsSearch",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030",
              "field_formatters": {}
            },
            "type": "ElasticKeywordsSearch",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 711,
          "dragging": false,
          "position": {
            "x": 812.1149007520644,
            "y": 664.6494588266206
          },
          "selected": false,
          "positionAbsolute": {
            "x": 812.1149007520644,
            "y": 664.6494588266206
          }
        },
        {
          "id": "BishengLLM-bc77f",
          "data": {
            "id": "BishengLLM-bc77f",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BishengLLM",
                "BaseLanguageModel",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 121.42385839968928,
            "y": 86.07764034320081
          },
          "selected": false,
          "positionAbsolute": {
            "x": 121.42385839968928,
            "y": 86.07764034320081
          }
        }
      ],
      "viewport": {
        "x": 129.04745958386252,
        "y": 45.70158800856939,
        "zoom": 0.5843377187256229
      }
    },
    "order_num": 7077842,
    "guide_word": null
  },
  {
    "update_time": "2024-08-20 18:13:33",
    "parameters": null,
    "name": "⭐️联网搜索对话",
    "description": "支持通过搜索引擎获取信息并回答问题",
    "flow_id": "8374d36f23af4c438c4ce4e6e080e6cf",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-20 18:13:33",
    "id": 189,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-BingSearchAPIWrapper-Rikh1BingSearchAPIWrapper|BingSearchAPIWrapper-Rikh1|BingSearchAPIWrapper-BingSearchRun-S3aq7BingSearchAPIWrapper|api_wrapper|BingSearchRun-S3aq7",
          "style": {
            "stroke": "#555"
          },
          "source": "BingSearchAPIWrapper-Rikh1",
          "target": "BingSearchRun-S3aq7",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "BingSearchAPIWrapper|BingSearchAPIWrapper-Rikh1|BingSearchAPIWrapper",
          "targetHandle": "BingSearchAPIWrapper|api_wrapper|BingSearchRun-S3aq7"
        },
        {
          "id": "reactflow__edge-BingSearchRun-S3aq7BingSearchRun|BingSearchRun-S3aq7|Tool|BaseTool|BingSearchRun|BaseTool-ZeroShotAgent-6vSFwBaseTool|tools|ZeroShotAgent-6vSFw",
          "style": {
            "stroke": "#555"
          },
          "source": "BingSearchRun-S3aq7",
          "target": "ZeroShotAgent-6vSFw",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "BingSearchRun|BingSearchRun-S3aq7|Tool|BaseTool|BingSearchRun|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-6vSFw"
        },
        {
          "id": "reactflow__edge-BishengLLM-bc485BishengLLM|BishengLLM-bc485|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-ZeroShotAgent-6vSFwBaseLanguageModel|llm|ZeroShotAgent-6vSFw",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-bc485",
          "target": "ZeroShotAgent-6vSFw",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-bc485|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ZeroShotAgent-6vSFw"
        }
      ],
      "nodes": [
        {
          "id": "BingSearchRun-S3aq7",
          "data": {
            "id": "BingSearchRun-S3aq7",
            "node": {
              "template": {
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "BingSearchRun",
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "api_wrapper": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "api_wrapper",
                  "show": true,
                  "type": "BingSearchAPIWrapper",
                  "l2_name": "api_wrapper",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "args_schema": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "args_schema",
                  "show": false,
                  "type": "Type[pydantic.main.BaseModel]",
                  "l2_name": "args_schema",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "handle_tool_error": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "handle_tool_error",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "handle_tool_error",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A wrapper around Bing Search. Useful for when you need to answer questions about current events. Input should be a search query.",
              "base_classes": [
                "Tool",
                "BaseTool",
                "BingSearchRun",
                "BaseTool"
              ],
              "display_name": "BingSearchRun",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "BingSearchRun",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 249,
          "dragging": false,
          "position": {
            "x": 430.3491112346748,
            "y": 526.7220206834627
          },
          "selected": true,
          "positionAbsolute": {
            "x": 430.3491112346748,
            "y": 526.7220206834627
          }
        },
        {
          "id": "BingSearchAPIWrapper-Rikh1",
          "data": {
            "id": "BingSearchAPIWrapper-Rikh1",
            "node": {
              "l2_name": "BING搜索",
              "template": {
                "k": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "k",
                  "show": false,
                  "type": "int",
                  "value": 10,
                  "l2_name": "k",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "BingSearchAPIWrapper",
                "bing_search_url": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "bing_search_url",
                  "show": true,
                  "type": "str",
                  "value": "https://api.bing.microsoft.com/v7.0/search",
                  "l2_name": "bing_search_url",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "bing_subscription_key": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "bing_subscription_key",
                  "show": true,
                  "type": "str",
                  "value": "137b003c89f04966ac3b1081ee5b10bc",
                  "l2_name": "bing_subscription_key",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Wrapper for Bing Search API.",
              "base_classes": [
                "BingSearchAPIWrapper"
              ],
              "display_name": "BingSearchAPIWrapper",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "BingSearchAPIWrapper",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "position": {
            "x": -17.635040947620837,
            "y": 468.8157898410929
          },
          "selected": false,
          "positionAbsolute": {
            "x": -17.635040947620837,
            "y": 468.8157898410929
          }
        },
        {
          "id": "ZeroShotAgent-6vSFw",
          "data": {
            "id": "ZeroShotAgent-6vSFw",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ZeroShotAgent",
                "tools": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tools",
                  "show": true,
                  "type": "BaseTool",
                  "l2_name": "tools",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "prefix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prefix",
                  "show": true,
                  "type": "str",
                  "value": "Answer the following questions as best you can. You have access to the following tools:",
                  "l2_name": "prefix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "suffix": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "suffix",
                  "show": true,
                  "type": "str",
                  "value": "answer in Chinese.\nBegin!Question: {query}Thought:{agent_scratchpad}",
                  "l2_name": "suffix",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "AgentOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "query",
                    "agent_scratchpad"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callback_manager": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "callback_manager",
                  "show": false,
                  "type": "BaseCallbackManager",
                  "l2_name": "callback_manager",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "format_instructions": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "format_instructions",
                  "show": true,
                  "type": "str",
                  "value": "Use the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [{tool_names}]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question",
                  "l2_name": "format_instructions",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                }
              },
              "description": "Construct an agent from an LLM and tools.",
              "base_classes": [
                "ZeroShotAgent",
                "Agent",
                "BaseSingleActionAgent",
                "function"
              ],
              "display_name": "ZeroShotAgent",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/agents/how_to/custom_mrkl_agent"
            },
            "type": "ZeroShotAgent",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 659,
          "position": {
            "x": 937.4050050593946,
            "y": 62.48387006449201
          },
          "selected": false,
          "positionAbsolute": {
            "x": 937.4050050593946,
            "y": 62.48387006449201
          }
        },
        {
          "id": "BishengLLM-bc485",
          "data": {
            "id": "BishengLLM-bc485",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 4,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "position": {
            "x": 31.941398539174173,
            "y": -96.4545131206016
          },
          "positionAbsolute": {
            "x": 31.941398539174173,
            "y": -96.4545131206016
          }
        }
      ],
      "viewport": {
        "x": 271.43658145124573,
        "y": 126.9479936490626,
        "zoom": 0.8967278502185819
      }
    },
    "order_num": 7208912,
    "guide_word": null
  },
  {
    "update_time": "2024-08-23 17:41:28",
    "parameters": null,
    "name": "⭐️ 通用信息提取",
    "description": "上传文件，触发自动提取，提取文件中的所有keyvalue信息。",
    "flow_id": "947c03db78784932a344314844e32940",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-08-23 17:41:28",
    "id": 190,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-PromptTemplate-5UHOIPromptTemplate|PromptTemplate-5UHOI|StringPromptTemplate|PromptTemplate|BasePromptTemplate-LLMChain-aSC8HBasePromptTemplate|prompt|LLMChain-aSC8H",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-5UHOI",
          "target": "LLMChain-aSC8H",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-5UHOI|StringPromptTemplate|PromptTemplate|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|LLMChain-aSC8H"
        },
        {
          "id": "reactflow__edge-BishengLLM-2763fBishengLLM|BishengLLM-2763f|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-LLMChain-aSC8HBaseLanguageModel|llm|LLMChain-aSC8H",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-2763f",
          "target": "LLMChain-aSC8H",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-2763f|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|LLMChain-aSC8H"
        },
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-293c3ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-293c3|Document-PromptTemplate-5UHOIDocument;BaseOutputParser|context|PromptTemplate-5UHOI",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-293c3",
          "target": "PromptTemplate-5UHOI",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-293c3|Document",
          "targetHandle": "Document;BaseOutputParser|context|PromptTemplate-5UHOI"
        },
        {
          "id": "reactflow__edge-InputNode-3ccbfInputNode|InputNode-3ccbf|input-LLMChain-aSC8Hinput|input_node|LLMChain-aSC8H",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-3ccbf",
          "target": "LLMChain-aSC8H",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputNode|InputNode-3ccbf|input",
          "targetHandle": "input|input_node|LLMChain-aSC8H"
        },
        {
          "id": "reactflow__edge-InputFileNode-fc806InputFileNode|InputFileNode-fc806|fileNode-ElemUnstructuredLoaderV0-293c3fileNode|file_path|ElemUnstructuredLoaderV0-293c3",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-fc806",
          "target": "ElemUnstructuredLoaderV0-293c3",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-fc806|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-293c3"
        }
      ],
      "nodes": [
        {
          "id": "LLMChain-aSC8H",
          "data": {
            "id": "LLMChain-aSC8H",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "LLMChain",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "prompt": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "llm_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm_kwargs",
                  "show": false,
                  "type": "code",
                  "l2_name": "llm_kwargs",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "text",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseLLMOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_final_only": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_final_only",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_final_only",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain to run queries against LLMs.",
              "base_classes": [
                "Chain",
                "LLMChain",
                "function"
              ],
              "display_name": "LLMChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/foundational/llm_chain"
            },
            "type": "LLMChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 315,
          "position": {
            "x": 1313.6980454632887,
            "y": 900.921715712506
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1313.6980454632887,
            "y": 900.921715712506
          }
        },
        {
          "id": "PromptTemplate-5UHOI",
          "data": {
            "id": "PromptTemplate-5UHOI",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "input": {
                  "info": "",
                  "list": false,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser"
                  ],
                  "placeholder": "",
                  "display_name": "input"
                },
                "context": {
                  "info": "",
                  "list": false,
                  "name": "context",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser"
                  ],
                  "placeholder": "",
                  "display_name": "context"
                },
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "提取以下文本内容中的所有keyvalue信息，符合如下格式定义：\n\nThe output should be a Markdown code snippet formatted in the following schema, including the leading and trailing \"```json\" and \"```\":\n\n```json\n\"Key1\": Value\n\"Key2\": Value\n```\n\n文本内容\n{context}\n\n{input}",
                  "l2_name": "template",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "context",
                    "input"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "str",
                  "value": "f-string",
                  "l2_name": "template_format",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "l2_name": "partial_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "validate_template",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Schema to represent a prompt for an LLM.",
              "base_classes": [
                "StringPromptTemplate",
                "PromptTemplate",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "context"
                ],
                "template": [
                  "context",
                  "input"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {
                "formatters": {
                  "openai_api_key": {}
                },
                "base_formatters": {
                  "dict": {},
                  "list": {},
                  "show": {},
                  "union": {},
                  "kwargs": {},
                  "default": {},
                  "headers": {},
                  "optional": {},
                  "password": {},
                  "multiline": {},
                  "model_fields": {
                    "MODEL_DICT": {
                      "OpenAI": [
                        "text-davinci-003",
                        "text-davinci-002",
                        "text-curie-001",
                        "text-babbage-001",
                        "text-ada-001"
                      ],
                      "Anthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ],
                      "ChatOpenAI": [
                        "gpt-3.5-turbo-0613",
                        "gpt-3.5-turbo",
                        "gpt-3.5-turbo-16k-0613",
                        "gpt-3.5-turbo-16k",
                        "gpt-4-0613",
                        "gpt-4-32k-0613",
                        "gpt-4",
                        "gpt-4-32k"
                      ],
                      "ChatAnthropic": [
                        "claude-v1",
                        "claude-v1-100k",
                        "claude-instant-v1",
                        "claude-instant-v1-100k",
                        "claude-v1.3",
                        "claude-v1.3-100k",
                        "claude-v1.2",
                        "claude-v1.0",
                        "claude-instant-v1.1",
                        "claude-instant-v1.1-100k",
                        "claude-instant-v1.0"
                      ]
                    }
                  },
                  "dict_code_file": {}
                }
              }
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 416,
          "dragging": false,
          "position": {
            "x": 809.51004530817,
            "y": 1237.7696518068285
          },
          "selected": false,
          "positionAbsolute": {
            "x": 809.51004530817,
            "y": 1237.7696518068285
          }
        },
        {
          "id": "BishengLLM-2763f",
          "data": {
            "id": "BishengLLM-2763f",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 5,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 406,
          "position": {
            "x": -68.63553056857684,
            "y": 696.600000304993
          },
          "positionAbsolute": {
            "x": -68.63553056857684,
            "y": 696.600000304993
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-293c3",
          "data": {
            "id": "ElemUnstructuredLoaderV0-293c3",
            "node": {
              "beta": false,
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "kwargs": {
                  "info": "",
                  "list": false,
                  "name": "kwargs",
                  "show": true,
                  "type": "dict",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "kwargs",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "unstructured_api_url": {
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "dynamic": false,
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "unstructured_api_url",
                  "model_config": {}
                }
              },
              "description": "The appropriate parser is automatically selected based on the file format and OCR is supported",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 475,
          "position": {
            "x": 237.30334166517488,
            "y": 1166.7647849898744
          },
          "positionAbsolute": {
            "x": 237.30334166517488,
            "y": 1166.7647849898744
          }
        },
        {
          "id": "InputNode-3ccbf",
          "data": {
            "id": "InputNode-3ccbf",
            "node": {
              "beta": false,
              "template": {
                "_type": "input",
                "input": {
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "开始"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "输入内容",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 253,
          "position": {
            "x": 809.0064819287146,
            "y": 663.3484087022575
          },
          "positionAbsolute": {
            "x": 809.0064819287146,
            "y": 663.3484087022575
          }
        },
        {
          "id": "InputFileNode-fc806",
          "data": {
            "id": "InputFileNode-fc806",
            "node": {
              "beta": false,
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    "..xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "请上传文件",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 335,
          "dragging": false,
          "position": {
            "x": -283.58174168605024,
            "y": 1208.0544562311302
          },
          "selected": true,
          "positionAbsolute": {
            "x": -283.58174168605024,
            "y": 1208.0544562311302
          }
        }
      ],
      "viewport": {
        "x": 249.5759133596914,
        "y": -408.5108685516501,
        "zoom": 0.6296974332414016
      }
    },
    "order_num": 7274447,
    "guide_word": null
  },
  {
    "update_time": "2024-09-03 21:23:10",
    "parameters": null,
    "name": "⭐️单文档问答",
    "description": "上传文件，然后可以查询文件中相关的问题",
    "flow_id": "9f59249acf76448899f8918b2aa964af",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-09-03 21:23:10",
    "id": 191,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-LAGXMElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-LAGXM|Document-RecursiveCharacterTextSplitter-a7fc9Document|documents|RecursiveCharacterTextSplitter-a7fc9",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-LAGXM",
          "target": "RecursiveCharacterTextSplitter-a7fc9",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-LAGXM|Document",
          "targetHandle": "Document|documents|RecursiveCharacterTextSplitter-a7fc9"
        },
        {
          "id": "reactflow__edge-RecursiveCharacterTextSplitter-a7fc9RecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-a7fc9|Document-Milvus-T3kRHDocument|documents|Milvus-T3kRH",
          "style": {
            "stroke": "#555"
          },
          "source": "RecursiveCharacterTextSplitter-a7fc9",
          "target": "Milvus-T3kRH",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "RecursiveCharacterTextSplitter|RecursiveCharacterTextSplitter-a7fc9|Document",
          "targetHandle": "Document|documents|Milvus-T3kRH"
        },
        {
          "id": "reactflow__edge-Milvus-T3kRHMilvus|Milvus-T3kRH|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-37d31BaseRetriever|retriever|RetrievalQA-37d31",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-T3kRH",
          "target": "RetrievalQA-37d31",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "Milvus|Milvus-T3kRH|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-37d31"
        },
        {
          "id": "reactflow__edge-CombineDocsChain-Pud2pCombineDocsChain|CombineDocsChain-Pud2p|BaseCombineDocumentsChain|function-RetrievalQA-37d31BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-37d31",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-Pud2p",
          "target": "RetrievalQA-37d31",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-Pud2p|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-37d31"
        },
        {
          "id": "reactflow__edge-InputFileNode-eda80InputFileNode|InputFileNode-eda80|fileNode-ElemUnstructuredLoaderV0-LAGXMfileNode|file_path|ElemUnstructuredLoaderV0-LAGXM",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-eda80",
          "target": "ElemUnstructuredLoaderV0-LAGXM",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-eda80|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-LAGXM"
        },
        {
          "id": "reactflow__edge-BishengLLM-1bcf8BishengLLM|BishengLLM-1bcf8|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM-CombineDocsChain-Pud2pBaseLanguageModel|llm|CombineDocsChain-Pud2p",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-1bcf8",
          "target": "CombineDocsChain-Pud2p",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-1bcf8|BishengLLM|BaseLanguageModel|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-Pud2p"
        },
        {
          "id": "reactflow__edge-BishengEmbedding-eda33BishengEmbedding|BishengEmbedding-eda33|Embeddings|BishengEmbedding-Milvus-T3kRHEmbeddings|embedding|Milvus-T3kRH",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengEmbedding-eda33",
          "target": "Milvus-T3kRH",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengEmbedding|BishengEmbedding-eda33|Embeddings|BishengEmbedding",
          "targetHandle": "Embeddings|embedding|Milvus-T3kRH"
        }
      ],
      "nodes": [
        {
          "id": "CombineDocsChain-Pud2p",
          "data": {
            "id": "CombineDocsChain-Pud2p",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "token_max": {
                  "l2": false,
                  "info": "当前只对stuff 生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "l2_name": "token_max",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "l2_name": "chain_type",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 377,
          "position": {
            "x": 762.7783327725605,
            "y": 31.94438969676179
          },
          "selected": false,
          "positionAbsolute": {
            "x": 762.7783327725605,
            "y": 31.94438969676179
          }
        },
        {
          "id": "Milvus-T3kRH",
          "data": {
            "id": "Milvus-T3kRH",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "drop_old",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "l2_name": "documents",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": true,
                  "type": "Embeddings",
                  "l2_name": "embedding",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadatas",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "index_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "l2_name": "search_kwargs",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "l2_name": "search_params",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "l2_name": "collection_name",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": ""
                },
                "connection_args": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "l2_name": "connection_args",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "l2_name": "consistency_level",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "VectorStore",
                "Milvus",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 347,
          "dragging": false,
          "position": {
            "x": 885.364722441176,
            "y": 638.0514447977121
          },
          "selected": false,
          "positionAbsolute": {
            "x": 885.364722441176,
            "y": 638.0514447977121
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-LAGXM",
          "data": {
            "id": "ElemUnstructuredLoaderV0-LAGXM",
            "node": {
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Metadata"
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".csv",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xlsx",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "jpg",
                    "png",
                    "jpeg",
                    "csv",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    "tiff",
                    "xlsx"
                  ],
                  "multiline": false,
                  "placeholder": ""
                },
                "unstructured_api_url": {
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "unstructured_api_url"
                }
              },
              "description": "Loads a PDF with pypdf and chunks at character level. dummy version",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "dragging": false,
          "position": {
            "x": -174.48653868947127,
            "y": 475.0990452635182
          },
          "selected": false,
          "positionAbsolute": {
            "x": -174.48653868947127,
            "y": 475.0990452635182
          }
        },
        {
          "id": "RecursiveCharacterTextSplitter-a7fc9",
          "data": {
            "id": "RecursiveCharacterTextSplitter-a7fc9",
            "node": {
              "template": {
                "_type": "RecursiveCharacterTextSplitter",
                "documents": {
                  "info": "",
                  "list": false,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "chunk_size": {
                  "info": "",
                  "list": false,
                  "name": "chunk_size",
                  "show": true,
                  "type": "int",
                  "value": 1000,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Size"
                },
                "separators": {
                  "info": "",
                  "list": false,
                  "name": "separators",
                  "show": true,
                  "type": "str",
                  "value": "\\n\\n",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator"
                },
                "chunk_overlap": {
                  "info": "",
                  "list": false,
                  "name": "chunk_overlap",
                  "show": true,
                  "type": "int",
                  "value": 200,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Chunk Overlap"
                },
                "separator_type": {
                  "info": "",
                  "list": true,
                  "name": "separator_type",
                  "show": true,
                  "type": "str",
                  "value": "Text",
                  "options": [
                    "Text",
                    "cobol",
                    "cpp",
                    "csharp",
                    "go",
                    "html",
                    "java",
                    "js",
                    "kotlin",
                    "latex",
                    "markdown",
                    "php",
                    "proto",
                    "python",
                    "rst",
                    "ruby",
                    "rust",
                    "scala",
                    "sol",
                    "swift",
                    "ts"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Separator Type"
                }
              },
              "description": "Splitting text by recursively look at characters.",
              "base_classes": [
                "Document"
              ],
              "display_name": "RecursiveCharacterTextSplitter",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter"
            },
            "type": "RecursiveCharacterTextSplitter",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 541,
          "dragging": false,
          "position": {
            "x": 380.122171588396,
            "y": 483.5257541316808
          },
          "selected": false,
          "positionAbsolute": {
            "x": 380.122171588396,
            "y": 483.5257541316808
          }
        },
        {
          "id": "RetrievalQA-37d31",
          "data": {
            "id": "RetrievalQA-37d31",
            "node": {
              "beta": false,
              "template": {
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "RetrievalQA",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Memory",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "input_key": {
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Input Key",
                  "model_config": {}
                },
                "retriever": {
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Retriever",
                  "model_config": {}
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Preset Question",
                  "model_config": {}
                },
                "output_key": {
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Output Key",
                  "model_config": {}
                },
                "combine_documents_chain": {
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Combine Documents Chain",
                  "model_config": {}
                },
                "return_source_documents": {
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Return Source Documents",
                  "model_config": {}
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "Chain",
                "BaseRetrievalQA",
                "RetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa",
              "field_formatters": {}
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 481,
          "dragging": false,
          "position": {
            "x": 1497.3865616690784,
            "y": 525.8440613798767
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1497.3865616690784,
            "y": 525.8440613798767
          }
        },
        {
          "id": "InputFileNode-eda80",
          "data": {
            "id": "InputFileNode-eda80",
            "node": {
              "beta": false,
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".csv",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".tiff",
                    ".xlsx"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "jpg",
                    "png",
                    "jpeg",
                    "csv",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    "tiff",
                    "xlsx"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "请上传文件",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": -728.0965344734079,
            "y": 480.2837762791313
          },
          "selected": false,
          "positionAbsolute": {
            "x": -728.0965344734079,
            "y": 480.2837762791313
          }
        },
        {
          "id": "BishengLLM-1bcf8",
          "data": {
            "id": "BishengLLM-1bcf8",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 9,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BishengLLM",
                "BaseLanguageModel",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 407,
          "dragging": false,
          "position": {
            "x": 220.52841712247573,
            "y": -113.58850984307922
          },
          "selected": false,
          "positionAbsolute": {
            "x": 220.52841712247573,
            "y": -113.58850984307922
          }
        },
        {
          "id": "BishengEmbedding-eda33",
          "data": {
            "id": "BishengEmbedding-eda33",
            "node": {
              "beta": false,
              "template": {
                "_type": "BishengEmbedding",
                "model": {
                  "info": "",
                  "list": false,
                  "name": "model",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_embedding",
                  "value": 1,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "embeddings": {
                  "info": "",
                  "list": false,
                  "name": "embeddings",
                  "show": true,
                  "type": "Embeddings",
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Embeddings",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": true,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "max_retries": {
                  "info": "",
                  "list": false,
                  "name": "max_retries",
                  "show": true,
                  "type": "int",
                  "value": 6,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Max Retries",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": true,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "model_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "model_kwargs",
                  "show": true,
                  "type": "code",
                  "value": {},
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Kwargs",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "DashScopeEmbeddings",
                    "vllm": "OpenAIEmbeddings",
                    "zhipu": "OpenAIEmbeddings",
                    "ollama": "OllamaEmbeddings",
                    "openai": "OpenAIEmbeddings",
                    "minimax": "OpenAIEmbeddings",
                    "qianfan": "QianfanEmbeddingsEndpoint",
                    "llamacpp": "OpenAIEmbeddings",
                    "bisheng_rt": "HostEmbeddings",
                    "xinference": "OpenAIEmbeddings",
                    "azure_openai": "AzureOpenAIEmbeddings"
                  },
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "request_timeout": {
                  "info": "",
                  "list": false,
                  "name": "request_timeout",
                  "show": true,
                  "type": "int",
                  "value": 200,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Request Timeout",
                  "model_config": {}
                },
                "embedding_ctx_length": {
                  "info": "",
                  "list": false,
                  "name": "embedding_ctx_length",
                  "show": true,
                  "type": "int",
                  "value": 8192,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Embedding Ctx Length",
                  "model_config": {}
                }
              },
              "description": "Use the embedding model that has been launched in model management ",
              "base_classes": [
                "Embeddings",
                "BishengEmbedding"
              ],
              "display_name": "BishengEmbedding",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengEmbedding",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 273,
          "dragging": false,
          "position": {
            "x": 390.035554735752,
            "y": 1105.577580188958
          },
          "selected": true,
          "positionAbsolute": {
            "x": 390.035554735752,
            "y": 1105.577580188958
          }
        }
      ],
      "viewport": {
        "x": 543.6795293445036,
        "y": 101.93050532990264,
        "zoom": 0.5416165288707682
      }
    },
    "order_num": 7339982,
    "guide_word": null
  },
  {
    "update_time": "2024-09-20 18:40:48",
    "parameters": null,
    "name": "演示-券商研报生成",
    "description": "生成关于某家公司的研究报告",
    "flow_id": "7bbdcd64287343f98effc90a70119f0a",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-09-20 18:40:48",
    "id": 192,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-CombineDocsChain-foMvuCombineDocsChain|CombineDocsChain-foMvu|BaseCombineDocumentsChain|function-RetrievalQA-1fCXFBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-1fCXF",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-foMvu",
          "target": "RetrievalQA-1fCXF",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-foMvu|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-1fCXF"
        },
        {
          "id": "reactflow__edge-RetrievalQA-1fCXFRetrievalQA|RetrievalQA-1fCXF|Chain|BaseRetrievalQA|RetrievalQA|function-Report-fSFx4function|chains|Report-fSFx4",
          "style": {
            "stroke": "#555"
          },
          "source": "RetrievalQA-1fCXF",
          "target": "Report-fSFx4",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "RetrievalQA|RetrievalQA-1fCXF|Generic|Chain|Runnable|RetrievalQA|RunnableSerializable|BaseRetrievalQA|function",
          "targetHandle": "function|chains|Report-fSFx4"
        },
        {
          "id": "reactflow__edge-Milvus-E2BnsMilvus|Milvus-E2Bns|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever-RetrievalQA-1fCXFBaseRetriever|retriever|RetrievalQA-1fCXF",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-E2Bns",
          "target": "RetrievalQA-1fCXF",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Milvus|Milvus-E2Bns|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-1fCXF"
        },
        {
          "id": "reactflow__edge-ProxyChatLLM-CzZfAProxyChatLLM|ProxyChatLLM-CzZfA|BaseLanguageModel|BaseChatModel|ProxyChatLLM|BaseLLM-CombineDocsChain-foMvuBaseLanguageModel|llm|CombineDocsChain-foMvu",
          "style": {
            "stroke": "#555"
          },
          "source": "ProxyChatLLM-CzZfA",
          "target": "CombineDocsChain-foMvu",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "ProxyChatLLM|ProxyChatLLM-CzZfA|Generic|BaseLanguageModel|Runnable|ProxyChatLLM|RunnableSerializable|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-foMvu"
        },
        {
          "id": "reactflow__edge-RetrievalQA-QWfeURetrievalQA|RetrievalQA-QWfeU|Chain|BaseRetrievalQA|RetrievalQA|function-Report-fSFx4function|chains|Report-fSFx4",
          "style": {
            "stroke": "#555"
          },
          "source": "RetrievalQA-QWfeU",
          "target": "Report-fSFx4",
          "animated": true,
          "className": "",
          "sourceHandle": "RetrievalQA|RetrievalQA-QWfeU|Generic|Chain|Runnable|RetrievalQA|RunnableSerializable|BaseRetrievalQA|function",
          "targetHandle": "function|chains|Report-fSFx4"
        },
        {
          "id": "reactflow__edge-CombineDocsChain-48oi2CombineDocsChain|CombineDocsChain-48oi2|BaseCombineDocumentsChain|function-RetrievalQA-QWfeUBaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-QWfeU",
          "style": {
            "stroke": "#555"
          },
          "source": "CombineDocsChain-48oi2",
          "target": "RetrievalQA-QWfeU",
          "animated": true,
          "className": "",
          "sourceHandle": "CombineDocsChain|CombineDocsChain-48oi2|BaseCombineDocumentsChain|function",
          "targetHandle": "BaseCombineDocumentsChain|combine_documents_chain|RetrievalQA-QWfeU"
        },
        {
          "id": "reactflow__edge-ProxyChatLLM-3oL2CProxyChatLLM|ProxyChatLLM-3oL2C|BaseLanguageModel|BaseChatModel|ProxyChatLLM|BaseLLM-CombineDocsChain-48oi2BaseLanguageModel|llm|CombineDocsChain-48oi2",
          "style": {
            "stroke": "#555"
          },
          "source": "ProxyChatLLM-3oL2C",
          "target": "CombineDocsChain-48oi2",
          "animated": true,
          "className": "",
          "sourceHandle": "ProxyChatLLM|ProxyChatLLM-3oL2C|Generic|BaseLanguageModel|Runnable|ProxyChatLLM|RunnableSerializable|BaseChatModel|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|CombineDocsChain-48oi2"
        },
        {
          "id": "reactflow__edge-Milvus-YOosCMilvus|Milvus-YOosC|VectorStore|Milvus|BaseRetriever|VectorStoreRetriever-RetrievalQA-QWfeUBaseRetriever|retriever|RetrievalQA-QWfeU",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-YOosC",
          "target": "RetrievalQA-QWfeU",
          "animated": true,
          "className": "",
          "sourceHandle": "Milvus|Milvus-YOosC|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalQA-QWfeU"
        },
        {
          "id": "reactflow__edge-InputNode-IZUU3InputNode|InputNode-IZUU3|input-RetrievalQA-QWfeUinput|input_node|RetrievalQA-QWfeU",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-IZUU3",
          "target": "RetrievalQA-QWfeU",
          "animated": true,
          "className": "",
          "sourceHandle": "InputNode|InputNode-IZUU3|input",
          "targetHandle": "input|input_node|RetrievalQA-QWfeU"
        },
        {
          "id": "reactflow__edge-InputNode-NXC32InputNode|InputNode-NXC32|input-RetrievalQA-1fCXFinput|input_node|RetrievalQA-1fCXF",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-NXC32",
          "target": "RetrievalQA-1fCXF",
          "animated": true,
          "className": "",
          "sourceHandle": "InputNode|InputNode-NXC32|input",
          "targetHandle": "input|input_node|RetrievalQA-1fCXF"
        },
        {
          "id": "reactflow__edge-PromptTemplate-wxEKtPromptTemplate|PromptTemplate-wxEKt|BasePromptTemplate|PromptTemplate|StringPromptTemplate-CombineDocsChain-48oi2BasePromptTemplate|prompt|CombineDocsChain-48oi2",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-wxEKt",
          "target": "CombineDocsChain-48oi2",
          "animated": true,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-wxEKt|Generic|PromptTemplate|StringPromptTemplate|Runnable|RunnableSerializable|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|CombineDocsChain-48oi2"
        },
        {
          "id": "reactflow__edge-PromptTemplate-ot33yPromptTemplate|PromptTemplate-ot33y|BasePromptTemplate|PromptTemplate|StringPromptTemplate-CombineDocsChain-foMvuBasePromptTemplate|prompt|CombineDocsChain-foMvu",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-ot33y",
          "target": "CombineDocsChain-foMvu",
          "animated": true,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-ot33y|Generic|PromptTemplate|StringPromptTemplate|Runnable|RunnableSerializable|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|CombineDocsChain-foMvu"
        },
        {
          "id": "reactflow__edge-VariableNode-d14a6VariableNode|VariableNode-d14a6|VariableNode-Report-fSFx4VariableNode|variables|Report-fSFx4",
          "style": {
            "stroke": "#555"
          },
          "source": "VariableNode-d14a6",
          "target": "Report-fSFx4",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "VariableNode|VariableNode-d14a6|VariableNode",
          "targetHandle": "VariableNode|variables|Report-fSFx4"
        }
      ],
      "nodes": [
        {
          "id": "Report-fSFx4",
          "data": {
            "id": "Report-fSFx4",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "Report",
                "chains": {
                  "info": "",
                  "list": true,
                  "name": "chains",
                  "show": true,
                  "type": "function",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "functions"
                },
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": false,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": false,
                  "type": "str",
                  "value": "report_name",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "stop_flag": {
                  "info": "",
                  "list": false,
                  "name": "stop_flag",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "variables": {
                  "info": "",
                  "list": true,
                  "name": "variables",
                  "show": true,
                  "type": "VariableNode",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": false,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": false,
                  "type": "str",
                  "value": "text",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "report_name": {
                  "info": "the file name we generate",
                  "list": false,
                  "name": "report_name",
                  "show": true,
                  "type": "str",
                  "value": "行业研报",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Report Name"
                }
              },
              "description": "",
              "base_classes": [
                "Generic",
                "Report",
                "Chain",
                "Runnable",
                "RunnableSerializable"
              ],
              "display_name": "Report",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "Report",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 359,
          "dragging": false,
          "position": {
            "x": 3290.5383305655187,
            "y": 409.3538527610235
          },
          "selected": true,
          "positionAbsolute": {
            "x": 3290.5383305655187,
            "y": 409.3538527610235
          }
        },
        {
          "id": "InputNode-IZUU3",
          "data": {
            "id": "InputNode-IZUU3",
            "node": {
              "template": {
                "_type": "input",
                "input": {
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "公司的核心业务和主要产品和服务",
                    "公司在行业中的地位和市场份额",
                    "公司的核心竞争力，如专利技术、品牌影响力等",
                    "对公司进行核心竞争力、盈利模式及可持续性分析",
                    "影响公司业务的风险，包括市场风险、财务风险、法规风险",
                    "公司的创新能力和技术水平",
                    "公司未来展望和战略规划"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 555,
          "dragging": false,
          "position": {
            "x": 2071.9473113130907,
            "y": -480.7563001986203
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2071.9473113130907,
            "y": -480.7563001986203
          }
        },
        {
          "id": "RetrievalQA-1fCXF",
          "data": {
            "id": "RetrievalQA-1fCXF",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "Generic",
                "Chain",
                "Runnable",
                "RetrievalQA",
                "RunnableSerializable",
                "BaseRetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "dragging": false,
          "position": {
            "x": 2237.06298695131,
            "y": 1483.4909209372413
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2237.06298695131,
            "y": 1483.4909209372413
          }
        },
        {
          "id": "CombineDocsChain-foMvu",
          "data": {
            "id": "CombineDocsChain-foMvu",
            "node": {
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "document_prompt": {
                  "info": "",
                  "list": false,
                  "name": "document_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 449,
          "dragging": false,
          "position": {
            "x": 1552.0278708162225,
            "y": 1323.4452741641828
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1552.0278708162225,
            "y": 1323.4452741641828
          }
        },
        {
          "id": "Milvus-E2Bns",
          "data": {
            "id": "Milvus-E2Bns",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_type": {
                  "info": "",
                  "list": false,
                  "name": "search_type",
                  "show": true,
                  "type": "str",
                  "value": "similarity",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "AI行业研报",
                  "l2_name": "行业库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": 1855
                },
                "connection_args": {
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "dragging": false,
          "position": {
            "x": 1559.8817737276297,
            "y": 1858.4770607573223
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1559.8817737276297,
            "y": 1858.4770607573223
          }
        },
        {
          "id": "ProxyChatLLM-CzZfA",
          "data": {
            "id": "ProxyChatLLM-CzZfA",
            "node": {
              "template": {
                "n": {
                  "info": "",
                  "list": false,
                  "name": "n",
                  "show": false,
                  "type": "int",
                  "value": 1,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ProxyChatLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": false,
                  "type": "bool",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 0.9,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "client": {
                  "info": "",
                  "list": false,
                  "name": "client",
                  "show": false,
                  "type": "Any",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "headers": {
                  "info": "",
                  "list": false,
                  "name": "headers",
                  "show": false,
                  "type": "code",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "max_tokens": {
                  "info": "",
                  "list": false,
                  "name": "max_tokens",
                  "show": true,
                  "type": "int",
                  "value": 2048,
                  "advanced": true,
                  "password": true,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": true,
                  "type": "str",
                  "value": "gpt-3.5-turbo-16k-0613",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "max_retries": {
                  "info": "",
                  "list": false,
                  "name": "max_retries",
                  "show": false,
                  "type": "int",
                  "value": 0,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.7,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "model_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "model_kwargs",
                  "show": true,
                  "type": "code",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "elemai_api_key": {
                  "info": "",
                  "list": false,
                  "name": "elemai_api_key",
                  "show": true,
                  "type": "str",
                  "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJiaXNoZW5nX29wZW42IiwiZXhwIjoxNzEzNzU0MjUyfQ.ww1l-GTBYJiHV3-U1JcacvWOqYPd-QMpuJIeuO9_OM8",
                  "advanced": false,
                  "password": true,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "elemai_base_url": {
                  "info": "",
                  "list": false,
                  "name": "elemai_base_url",
                  "show": true,
                  "type": "str",
                  "value": "http://192.168.106.12:6001/v1/chatcompletion",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "request_timeout": {
                  "info": "",
                  "list": false,
                  "name": "request_timeout",
                  "show": false,
                  "type": "float",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "tiktoken_model_name": {
                  "info": "",
                  "list": false,
                  "name": "tiktoken_model_name",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Wrapper around proxy Chat large language models.",
              "base_classes": [
                "Generic",
                "BaseLanguageModel",
                "Runnable",
                "ProxyChatLLM",
                "RunnableSerializable",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "ProxyChatLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ProxyChatLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 501,
          "dragging": false,
          "position": {
            "x": 1021.6972307239736,
            "y": 950.9394648638606
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1021.6972307239736,
            "y": 950.9394648638606
          }
        },
        {
          "id": "RetrievalQA-QWfeU",
          "data": {
            "id": "RetrievalQA-QWfeU",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalQA",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_documents_chain": {
                  "info": "",
                  "list": false,
                  "name": "combine_documents_chain",
                  "show": true,
                  "type": "BaseCombineDocumentsChain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain for question-answering against an index.",
              "base_classes": [
                "Generic",
                "Chain",
                "Runnable",
                "RetrievalQA",
                "RunnableSerializable",
                "BaseRetrievalQA",
                "function"
              ],
              "display_name": "RetrievalQA",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/vector_db_qa"
            },
            "type": "RetrievalQA",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "dragging": false,
          "position": {
            "x": 2621.435785834929,
            "y": 5.613751609646442
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2621.435785834929,
            "y": 5.613751609646442
          }
        },
        {
          "id": "CombineDocsChain-48oi2",
          "data": {
            "id": "CombineDocsChain-48oi2",
            "node": {
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "LLM"
                },
                "_type": "load_qa_chain",
                "prompt": {
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                },
                "token_max": {
                  "info": "只对Stuff类型生效",
                  "list": false,
                  "name": "token_max",
                  "show": true,
                  "type": "int",
                  "value": -1,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "token_max"
                },
                "chain_type": {
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "document_prompt": {
                  "info": "",
                  "list": false,
                  "name": "document_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Load question answering chain.",
              "base_classes": [
                "BaseCombineDocumentsChain",
                "function"
              ],
              "display_name": "CombineDocsChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "CombineDocsChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 449,
          "dragging": false,
          "position": {
            "x": 1557.52279817175,
            "y": -432.4678010752729
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1557.52279817175,
            "y": -432.4678010752729
          }
        },
        {
          "id": "ProxyChatLLM-3oL2C",
          "data": {
            "id": "ProxyChatLLM-3oL2C",
            "node": {
              "template": {
                "n": {
                  "info": "",
                  "list": false,
                  "name": "n",
                  "show": false,
                  "type": "int",
                  "value": 1,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ProxyChatLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": false,
                  "type": "bool",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 0.9,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "client": {
                  "info": "",
                  "list": false,
                  "name": "client",
                  "show": false,
                  "type": "Any",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "headers": {
                  "info": "",
                  "list": false,
                  "name": "headers",
                  "show": false,
                  "type": "code",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": true,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "max_tokens": {
                  "info": "",
                  "list": false,
                  "name": "max_tokens",
                  "show": true,
                  "type": "int",
                  "value": 2048,
                  "advanced": true,
                  "password": true,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": true,
                  "type": "str",
                  "value": "gpt-3.5-turbo-16k-0613",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "max_retries": {
                  "info": "",
                  "list": false,
                  "name": "max_retries",
                  "show": false,
                  "type": "int",
                  "value": 0,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.7,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "model_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "model_kwargs",
                  "show": true,
                  "type": "code",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "elemai_api_key": {
                  "info": "",
                  "list": false,
                  "name": "elemai_api_key",
                  "show": true,
                  "type": "str",
                  "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJiaXNoZW5nX29wZW42IiwiZXhwIjoxNzEzNzU0MjUyfQ.ww1l-GTBYJiHV3-U1JcacvWOqYPd-QMpuJIeuO9_OM8",
                  "advanced": false,
                  "password": true,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "elemai_base_url": {
                  "info": "",
                  "list": false,
                  "name": "elemai_base_url",
                  "show": true,
                  "type": "str",
                  "value": "http://192.168.106.12:6001/v1/chatcompletion",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "request_timeout": {
                  "info": "",
                  "list": false,
                  "name": "request_timeout",
                  "show": false,
                  "type": "float",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "tiktoken_model_name": {
                  "info": "",
                  "list": false,
                  "name": "tiktoken_model_name",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Wrapper around proxy Chat large language models.",
              "base_classes": [
                "Generic",
                "BaseLanguageModel",
                "Runnable",
                "ProxyChatLLM",
                "RunnableSerializable",
                "BaseChatModel",
                "BaseLLM"
              ],
              "display_name": "ProxyChatLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "ProxyChatLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 501,
          "dragging": false,
          "position": {
            "x": 1024.1163217007638,
            "y": -520.5274231154001
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1024.1163217007638,
            "y": -520.5274231154001
          }
        },
        {
          "id": "InputNode-NXC32",
          "data": {
            "id": "InputNode-NXC32",
            "node": {
              "template": {
                "_type": "input",
                "input": {
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "人工智能行业的市场概况，如市场规模等",
                    "“AI人工智能”行业的趋势、动态和主要推动因素，例如技术创新、市场需求变化等",
                    "“AI人工智能”涉及哪些领域，分析各个领域的特点、规模和增长前景",
                    "”AI人工智能“行业的优势、劣势、机会和威胁进行评估",
                    "“AI人工智能”行业影响较大的法规、政策和法律环境",
                    "“AI人工智能”行业中的投资机会，可能影响行业表现的风险因素",
                    "“AI人工智能”行业未来发展趋势和预测的观点，考虑到技术发展、市场需求变化等因素",
                    "写一个“AI人工智能“行业的现状的总结题目，15个字以内，示例：AI+产品矩阵完善，利润端短期承压"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": "",
                  "display_name": "输入内容"
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 595,
          "dragging": false,
          "position": {
            "x": 1618.88491687723,
            "y": 660.651152090995
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1618.88491687723,
            "y": 660.651152090995
          }
        },
        {
          "id": "Milvus-YOosC",
          "data": {
            "id": "Milvus-YOosC",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_type": {
                  "info": "",
                  "list": false,
                  "name": "search_type",
                  "show": true,
                  "type": "str",
                  "value": "similarity",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "l2": true,
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "昆仑万维年报",
                  "l2_name": "公司库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": 1557
                },
                "connection_args": {
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 393,
          "dragging": false,
          "position": {
            "x": 2093.7332965707155,
            "y": 167.43148034535486
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2093.7332965707155,
            "y": 167.43148034535486
          }
        },
        {
          "id": "PromptTemplate-wxEKt",
          "data": {
            "id": "PromptTemplate-wxEKt",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "template": {
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "参考文本：\n{context}\n\n----------------------\n# Role：行业分析师\n\n# Background :\n- 你是一名行业分析师。你的日常工作是根据【参考文本】的内容总结问题。\n\n# Goals:\n- 以上【参考文本】中是从企业知识库中查找到的相关信息，\n- 尽可能体现你的专业性，将答案尽可能详细阐述。\n- 用中文回答问题，并且答案要严谨、专业、清晰、可读性好。\n- 拥有排版审美, 会利用序号, 缩进, 分隔线和换行符等等来美化信息排版。\n- 只回复内容，在段落的开头和结尾，不要有“根据文本内容”和“希望对你有帮助”等过渡语句。\n\n\n----------------------\n\n用户问题: {question}\n你的回答:",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_types": {
                  "info": "",
                  "list": false,
                  "name": "input_types",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "context",
                    "question"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "Union[Literal['f-string'], Literal['jinja2']]",
                  "value": "f-string",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A prompt template for a language model.",
              "base_classes": [
                "Generic",
                "PromptTemplate",
                "StringPromptTemplate",
                "Runnable",
                "RunnableSerializable",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "context",
                  "question"
                ],
                "template": [
                  "context",
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 291,
          "dragging": false,
          "position": {
            "x": 1023.4514262700376,
            "y": 11.02496084544926
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1023.4514262700376,
            "y": 11.02496084544926
          }
        },
        {
          "id": "PromptTemplate-ot33y",
          "data": {
            "id": "PromptTemplate-ot33y",
            "node": {
              "name": "",
              "template": {
                "_type": "PromptTemplate",
                "template": {
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "参考文本：\n{context}\n\n----------------------\n# Role：行业分析师\n\n# Background :\n- 你是一名行业分析师。你的日常工作是根据【参考文本】的内容总结问题。\n\n# Goals:\n- 以上【参考文本】中是从企业知识库中查找到的相关信息，\n- 尽可能体现你的专业性，将答案尽可能详细阐述。\n- 用中文回答问题，并且答案要严谨、专业、清晰、可读性好。\n- 拥有排版审美, 会利用序号, 缩进, 分隔线和换行符等等来美化信息排版。\n- 只回复内容，在段落的开头和结尾，不要有“根据文本内容”和“希望对你有帮助”等过渡语句。\n\n\n----------------------\n\n用户问题: {question}\n你的回答:",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "input_types": {
                  "info": "",
                  "list": false,
                  "name": "input_types",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "context",
                    "question"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "Union[Literal['f-string'], Literal['jinja2']]",
                  "value": "f-string",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "A prompt template for a language model.",
              "base_classes": [
                "Generic",
                "PromptTemplate",
                "StringPromptTemplate",
                "Runnable",
                "RunnableSerializable",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "context",
                  "question"
                ],
                "template": [
                  "context",
                  "question"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 291,
          "dragging": false,
          "position": {
            "x": 858.2666097750891,
            "y": 1523.0705323867192
          },
          "selected": false,
          "positionAbsolute": {
            "x": 858.2666097750891,
            "y": 1523.0705323867192
          }
        },
        {
          "id": "VariableNode-d14a6",
          "data": {
            "id": "VariableNode-d14a6",
            "node": {
              "template": {
                "_type": "VariableNode",
                "variables": {
                  "info": "",
                  "list": true,
                  "name": "variables",
                  "show": true,
                  "type": "variable",
                  "value": [
                    "公司名称"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "variable_value": {
                  "info": "",
                  "list": true,
                  "name": "variable_value",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "用来设置变量",
              "base_classes": [
                "VariableNode"
              ],
              "display_name": "VariableNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "VariableNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 283,
          "position": {
            "x": 2566.3869873706526,
            "y": 567.5902839403417
          },
          "positionAbsolute": {
            "x": 2566.3869873706526,
            "y": 567.5902839403417
          }
        }
      ],
      "viewport": {
        "x": 87.48881258369431,
        "y": 160.39352066140611,
        "zoom": 0.243342122449621
      }
    },
    "order_num": 7405517,
    "guide_word": null
  },
  {
    "update_time": "2024-10-15 18:43:05",
    "parameters": null,
    "name": "⭐️先检索 QA 后检索文档知识库问答",
    "description": "优先检索 QA 知识库，有则直接返回答案，无则继续检索文档知识库，基于 RAG 生成回复",
    "flow_id": "c7fa82f69d4e495e87e4e44a6ab44f30",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-10-15 18:40:16",
    "id": 194,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-PythonFunction-wBU1iPythonFunction|PythonFunction-wBU1i|function-RuleBasedRouter-apZIqfunction|rule_function|RuleBasedRouter-apZIq",
          "style": {
            "stroke": "#555"
          },
          "source": "PythonFunction-wBU1i",
          "target": "RuleBasedRouter-apZIq",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "PythonFunction|PythonFunction-wBU1i|function",
          "targetHandle": "function|rule_function|RuleBasedRouter-apZIq"
        },
        {
          "id": "reactflow__edge-PythonFunction-ChvDxPythonFunction|PythonFunction-ChvDx|function-TransformChain-jBTgXfunction|transform|TransformChain-jBTgX",
          "style": {
            "stroke": "#555"
          },
          "source": "PythonFunction-ChvDx",
          "target": "TransformChain-jBTgX",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "PythonFunction|PythonFunction-ChvDx|function",
          "targetHandle": "function|transform|TransformChain-jBTgX"
        },
        {
          "id": "reactflow__edge-RetrievalChain-ryEdkRetrievalChain|RetrievalChain-ryEdk|Chain|RetrievalChain|function-SequentialChain-ZcqZ1Chain|chains|SequentialChain-ZcqZ1",
          "style": {
            "stroke": "#555"
          },
          "source": "RetrievalChain-ryEdk",
          "target": "SequentialChain-ZcqZ1",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "RetrievalChain|RetrievalChain-ryEdk|Chain|RetrievalChain|function",
          "targetHandle": "Chain|chains|SequentialChain-ZcqZ1"
        },
        {
          "id": "reactflow__edge-Milvus-8pyknMilvus|Milvus-8pykn|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever-RetrievalChain-ryEdkBaseRetriever|retriever|RetrievalChain-ryEdk",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-8pykn",
          "target": "RetrievalChain-ryEdk",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "Milvus|Milvus-8pykn|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|RetrievalChain-ryEdk"
        },
        {
          "id": "reactflow__edge-ConversationBufferMemory-i1PuBConversationBufferMemory|ConversationBufferMemory-i1PuB|BaseMemory|ConversationBufferMemory|BaseChatMemory-ConversationalRetrievalChain-aS5HYBaseChatMemory|memory|ConversationalRetrievalChain-aS5HY",
          "style": {
            "stroke": "#555"
          },
          "source": "ConversationBufferMemory-i1PuB",
          "target": "ConversationalRetrievalChain-aS5HY",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "ConversationBufferMemory|ConversationBufferMemory-i1PuB|BaseMemory|ConversationBufferMemory|BaseChatMemory",
          "targetHandle": "BaseChatMemory|memory|ConversationalRetrievalChain-aS5HY"
        },
        {
          "id": "reactflow__edge-Milvus-u5L3KMilvus|Milvus-u5L3K|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever-ConversationalRetrievalChain-aS5HYBaseRetriever|retriever|ConversationalRetrievalChain-aS5HY",
          "style": {
            "stroke": "#555"
          },
          "source": "Milvus-u5L3K",
          "target": "ConversationalRetrievalChain-aS5HY",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "Milvus|Milvus-u5L3K|Milvus|VectorStore|BaseRetriever|VectorStoreRetriever",
          "targetHandle": "BaseRetriever|retriever|ConversationalRetrievalChain-aS5HY"
        },
        {
          "id": "reactflow__edge-ConversationalRetrievalChain-aS5HYConversationalRetrievalChain|ConversationalRetrievalChain-aS5HY|BaseConversationalRetrievalChain|ConversationalRetrievalChain|Chain|function-MultiRuleChain-s5i5CChain|default_chain|MultiRuleChain-s5i5C",
          "style": {
            "stroke": "#555"
          },
          "source": "ConversationalRetrievalChain-aS5HY",
          "target": "MultiRuleChain-s5i5C",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "ConversationalRetrievalChain|ConversationalRetrievalChain-aS5HY|BaseConversationalRetrievalChain|ConversationalRetrievalChain|Chain|function",
          "targetHandle": "Chain|default_chain|MultiRuleChain-s5i5C"
        },
        {
          "id": "reactflow__edge-RuleBasedRouter-apZIqRuleBasedRouter|RuleBasedRouter-apZIq|Chain|RuleBasedRouter|RouterChain|function-MultiRuleChain-s5i5CRouterChain|router_chain|MultiRuleChain-s5i5C",
          "style": {
            "stroke": "#555"
          },
          "source": "RuleBasedRouter-apZIq",
          "target": "MultiRuleChain-s5i5C",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "RuleBasedRouter|RuleBasedRouter-apZIq|Chain|RuleBasedRouter|RouterChain|function",
          "targetHandle": "RouterChain|router_chain|MultiRuleChain-s5i5C"
        },
        {
          "id": "reactflow__edge-TransformChain-jBTgXTransformChain|TransformChain-jBTgX|TransformChain|Chain|function-MultiRuleChain-s5i5CChain|LLMChains|MultiRuleChain-s5i5C",
          "style": {
            "stroke": "#555"
          },
          "source": "TransformChain-jBTgX",
          "target": "MultiRuleChain-s5i5C",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "TransformChain|TransformChain-jBTgX|TransformChain|Chain|function",
          "targetHandle": "Chain|LLMChains|MultiRuleChain-s5i5C"
        },
        {
          "id": "reactflow__edge-MultiRuleChain-s5i5CMultiRuleChain|MultiRuleChain-s5i5C|MultiRouteChain|Chain|MultiRuleChain|function-SequentialChain-ZcqZ1Chain|chains|SequentialChain-ZcqZ1",
          "style": {
            "stroke": "#555"
          },
          "source": "MultiRuleChain-s5i5C",
          "target": "SequentialChain-ZcqZ1",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "MultiRuleChain|MultiRuleChain-s5i5C|MultiRouteChain|Chain|MultiRuleChain|function",
          "targetHandle": "Chain|chains|SequentialChain-ZcqZ1"
        },
        {
          "id": "reactflow__edge-BishengLLM-90fb5BishengLLM|BishengLLM-90fb5|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-ConversationalRetrievalChain-aS5HYBaseLanguageModel|llm|ConversationalRetrievalChain-aS5HY",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-90fb5",
          "target": "ConversationalRetrievalChain-aS5HY",
          "animated": false,
          "selected": false,
          "className": "stroke-gray-900 ",
          "sourceHandle": "BishengLLM|BishengLLM-90fb5|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ConversationalRetrievalChain-aS5HY"
        }
      ],
      "nodes": [
        {
          "id": "RuleBasedRouter-apZIq",
          "data": {
            "id": "RuleBasedRouter-apZIq",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RuleBasedRouter",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "rule_function": {
                  "info": "",
                  "list": false,
                  "name": "rule_function",
                  "show": true,
                  "type": "function",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "result"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "",
              "base_classes": [
                "Chain",
                "RuleBasedRouter",
                "RouterChain",
                "function"
              ],
              "display_name": "RuleBasedRouter",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "RuleBasedRouter",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 343,
          "position": {
            "x": 1080.3103197789733,
            "y": 1337.4878712865757
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1080.3103197789733,
            "y": 1337.4878712865757
          }
        },
        {
          "id": "PythonFunction-wBU1i",
          "data": {
            "id": "PythonFunction-wBU1i",
            "node": {
              "template": {
                "code": {
                  "info": "",
                  "list": false,
                  "name": "code",
                  "show": true,
                  "type": "code",
                  "value": "def rule_fuc(inputs: dict) -> dict:\n    if not len(inputs['result']):\n        return {'destination': None, 'next_inputs': {\"question\": inputs['query']}}\n    else:\n        return {'destination': 'norm', 'next_inputs': inputs}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "_type": "PythonFunction"
              },
              "description": "Python function to be executed.",
              "base_classes": [
                "function"
              ],
              "display_name": "PythonFunction",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "PythonFunction",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "position": {
            "x": 522.7838419708218,
            "y": 1571.2197796319172
          },
          "selected": false,
          "positionAbsolute": {
            "x": 522.7838419708218,
            "y": 1571.2197796319172
          }
        },
        {
          "id": "PythonFunction-ChvDx",
          "data": {
            "id": "PythonFunction-ChvDx",
            "node": {
              "template": {
                "code": {
                  "info": "",
                  "list": false,
                  "name": "code",
                  "show": true,
                  "type": "code",
                  "value": "def func(inputs: dict) -> dict:\n    return {'answer': inputs['result'][0], 'source_documents':''} # 仅取第一个",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "_type": "PythonFunction"
              },
              "description": "Python function to be executed.",
              "base_classes": [
                "function"
              ],
              "display_name": "PythonFunction",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "PythonFunction",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "position": {
            "x": 549.6671717852333,
            "y": 187.7892888367361
          },
          "selected": false,
          "positionAbsolute": {
            "x": 549.6671717852333,
            "y": 187.7892888367361
          }
        },
        {
          "id": "TransformChain-jBTgX",
          "data": {
            "id": "TransformChain-jBTgX",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "TransformChain",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "transform": {
                  "info": "",
                  "list": false,
                  "name": "transform",
                  "show": true,
                  "type": "function",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "result"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_variables": {
                  "info": "",
                  "list": true,
                  "name": "output_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "answer",
                    "source_documents"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain transform chain output.",
              "base_classes": [
                "TransformChain",
                "Chain",
                "function"
              ],
              "display_name": "TransformChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "TransformChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 495,
          "position": {
            "x": 1069.678074540037,
            "y": 153.32667222210148
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1069.678074540037,
            "y": 153.32667222210148
          }
        },
        {
          "id": "SequentialChain-ZcqZ1",
          "data": {
            "id": "SequentialChain-ZcqZ1",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "SequentialChain",
                "chains": {
                  "info": "",
                  "list": true,
                  "name": "chains",
                  "show": true,
                  "type": "Chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "return_all": {
                  "info": "",
                  "list": false,
                  "name": "return_all",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "chain_order": {
                  "info": "",
                  "list": false,
                  "name": "chain_order",
                  "show": true,
                  "type": "str",
                  "value": "[\"RetrievalChain-ryEdk\", \"MultiRuleChain-s5i5C\"]",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "query"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_variables": {
                  "info": "",
                  "list": true,
                  "name": "output_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "answer",
                    "source_documents"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain where the outputs of one chain feed directly into next.",
              "base_classes": [
                "SequentialChain",
                "Chain",
                "function"
              ],
              "display_name": "SequentialChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "SequentialChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 597,
          "position": {
            "x": 2554.0955901640964,
            "y": 323.87489548587064
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2554.0955901640964,
            "y": 323.87489548587064
          }
        },
        {
          "id": "RetrievalChain-ryEdk",
          "data": {
            "id": "RetrievalChain-ryEdk",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "RetrievalChain",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "info": "",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "query",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "output_key": {
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "result",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain to use to combine the documents.",
              "base_classes": [
                "Chain",
                "RetrievalChain",
                "function"
              ],
              "display_name": "RetrievalChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "RetrievalChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 281,
          "position": {
            "x": 2047.2642182152017,
            "y": 258.5734077753632
          },
          "selected": false,
          "positionAbsolute": {
            "x": 2047.2642182152017,
            "y": 258.5734077753632
          }
        },
        {
          "id": "Milvus-u5L3K",
          "data": {
            "id": "Milvus-u5L3K",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_type": {
                  "info": "",
                  "list": false,
                  "name": "search_type",
                  "type": "str",
                  "value": "similarity",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "BISHENG产品文档20240529版本",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": 6642
                },
                "connection_args": {
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 391,
          "position": {
            "x": 520.0097972326654,
            "y": 1125.7035041561169
          },
          "selected": false,
          "positionAbsolute": {
            "x": 520.0097972326654,
            "y": 1125.7035041561169
          }
        },
        {
          "id": "Milvus-8pykn",
          "data": {
            "id": "Milvus-8pykn",
            "node": {
              "template": {
                "_type": "Milvus",
                "drop_old": {
                  "info": "",
                  "list": false,
                  "name": "drop_old",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "documents": {
                  "info": "",
                  "list": true,
                  "name": "documents",
                  "show": true,
                  "type": "Document",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Documents"
                },
                "embedding": {
                  "info": "",
                  "list": false,
                  "name": "embedding",
                  "show": false,
                  "type": "Embeddings",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Embedding"
                },
                "metadatas": {
                  "info": "",
                  "list": true,
                  "name": "metadatas",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_type": {
                  "info": "",
                  "list": false,
                  "name": "search_type",
                  "show": true,
                  "type": "str",
                  "value": "similarity_score_threshold",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "index_params": {
                  "info": "",
                  "list": false,
                  "name": "index_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "search_kwargs",
                  "show": true,
                  "type": "code",
                  "value": "{\"k\": 1, \"score_threshold\": 0.8}",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "search_params": {
                  "info": "",
                  "list": false,
                  "name": "search_params",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "collection_name": {
                  "info": "",
                  "list": false,
                  "name": "collection_name",
                  "show": true,
                  "type": "str",
                  "value": "毕昇 QA 知识库",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "collection_id": 6938
                },
                "connection_args": {
                  "info": "",
                  "list": false,
                  "name": "connection_args",
                  "show": true,
                  "type": "code",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "consistency_level": {
                  "info": "",
                  "list": false,
                  "name": "consistency_level",
                  "show": false,
                  "type": "str",
                  "value": "Session",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Create a Milvus collection, indexes it with HNSW, and insert data.",
              "base_classes": [
                "Milvus",
                "VectorStore",
                "BaseRetriever",
                "VectorStoreRetriever"
              ],
              "display_name": "Milvus",
              "output_types": [],
              "custom_fields": {},
              "documentation": "http://192.168.106.116:8030"
            },
            "type": "Milvus",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 555,
          "position": {
            "x": 1570.1640482171665,
            "y": 20
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1570.1640482171665,
            "y": 20
          }
        },
        {
          "id": "ConversationalRetrievalChain-aS5HY",
          "data": {
            "id": "ConversationalRetrievalChain-aS5HY",
            "node": {
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "ConversationalRetrievalChain",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseChatMemory",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": false,
                  "name": "callbacks",
                  "show": false,
                  "type": "Callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "retriever": {
                  "info": "",
                  "list": false,
                  "name": "retriever",
                  "show": true,
                  "type": "BaseRetriever",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "chain_type": {
                  "info": "",
                  "list": true,
                  "name": "chain_type",
                  "show": true,
                  "type": "str",
                  "value": "stuff",
                  "options": [
                    "stuff",
                    "map_reduce",
                    "map_rerank",
                    "refine"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "document_prompt": {
                  "info": "",
                  "list": false,
                  "name": "document_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "condense_question_llm": {
                  "info": "",
                  "list": false,
                  "name": "condense_question_llm",
                  "show": false,
                  "type": "BaseLanguageModel",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_source_documents": {
                  "info": "",
                  "list": false,
                  "name": "return_source_documents",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Return source documents"
                },
                "condense_question_prompt": {
                  "info": "",
                  "list": false,
                  "name": "condense_question_prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "value": {
                    "_type": "prompt",
                    "template": "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, in its original language.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone question:",
                    "output_parser": null,
                    "input_variables": [
                      "chat_history",
                      "question"
                    ],
                    "template_format": "f-string",
                    "partial_variables": {},
                    "validate_template": true
                  },
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "combine_docs_chain_kwargs": {
                  "info": "",
                  "list": false,
                  "name": "combine_docs_chain_kwargs",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "prompt"
                }
              },
              "description": "Convenience method to load chain from LLM and retriever.",
              "base_classes": [
                "BaseConversationalRetrievalChain",
                "ConversationalRetrievalChain",
                "Chain",
                "function"
              ],
              "display_name": "ConversationalRetrievalChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/popular/chat_vector_db"
            },
            "type": "ConversationalRetrievalChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 531,
          "position": {
            "x": 1076.7431790118962,
            "y": 720.4023383381091
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1076.7431790118962,
            "y": 720.4023383381091
          }
        },
        {
          "id": "ConversationBufferMemory-i1PuB",
          "data": {
            "id": "ConversationBufferMemory-i1PuB",
            "node": {
              "template": {
                "_type": "ConversationBufferMemory",
                "ai_prefix": {
                  "info": "",
                  "list": false,
                  "name": "ai_prefix",
                  "show": false,
                  "type": "str",
                  "value": "AI",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_key": {
                  "info": "The variable to be used as Chat Input when more than one variable is available.",
                  "list": false,
                  "name": "input_key",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "memory_key": {
                  "info": "",
                  "list": false,
                  "name": "memory_key",
                  "show": true,
                  "type": "str",
                  "value": "chat_history",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "info": "The variable to be used as Chat Output (e.g. answer in a ConversationalRetrievalChain)",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "answer",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "chat_memory": {
                  "info": "",
                  "list": false,
                  "name": "chat_memory",
                  "show": true,
                  "type": "BaseChatMessageHistory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "human_prefix": {
                  "info": "",
                  "list": false,
                  "name": "human_prefix",
                  "show": false,
                  "type": "str",
                  "value": "Human",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_messages": {
                  "info": "",
                  "list": false,
                  "name": "return_messages",
                  "show": true,
                  "type": "bool",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Buffer for storing conversation memory.",
              "base_classes": [
                "BaseMemory",
                "ConversationBufferMemory",
                "BaseChatMemory"
              ],
              "display_name": "ConversationBufferMemory",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/memory/how_to/buffer"
            },
            "type": "ConversationBufferMemory",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 527,
          "position": {
            "x": 519.6689261937935,
            "y": 539.0200298494985
          },
          "selected": false,
          "positionAbsolute": {
            "x": 519.6689261937935,
            "y": 539.0200298494985
          }
        },
        {
          "id": "MultiRuleChain-s5i5C",
          "data": {
            "id": "MultiRuleChain-s5i5C",
            "node": {
              "template": {
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "MultiRuleChain",
                "memory": {
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "LLMChains": {
                  "info": "",
                  "list": true,
                  "name": "LLMChains",
                  "show": true,
                  "type": "Chain",
                  "value": "[]",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "router_chain": {
                  "info": "",
                  "list": false,
                  "name": "router_chain",
                  "show": true,
                  "type": "RouterChain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "default_chain": {
                  "info": "",
                  "list": false,
                  "name": "default_chain",
                  "show": true,
                  "type": "Chain",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "silent_errors": {
                  "info": "",
                  "list": false,
                  "name": "silent_errors",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_variables": {
                  "info": "",
                  "list": true,
                  "name": "output_variables",
                  "show": true,
                  "type": "str",
                  "value": [
                    "source_documents",
                    "answer"
                  ],
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "destination_chains": {
                  "info": "",
                  "list": false,
                  "name": "destination_chains",
                  "show": false,
                  "type": "code",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "destination_chain_name": {
                  "info": "{chain_id: name}",
                  "list": true,
                  "name": "destination_chain_name",
                  "show": true,
                  "type": "NestedDict",
                  "value": "{\"TransformChain-jBTgX\": \"norm\"}",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "",
              "base_classes": [
                "MultiRouteChain",
                "Chain",
                "MultiRuleChain",
                "function"
              ],
              "display_name": "MultiRuleChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": ""
            },
            "type": "MultiRuleChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 549,
          "position": {
            "x": 1787.231955024217,
            "y": 753.8514799486979
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1787.231955024217,
            "y": 753.8514799486979
          }
        },
        {
          "id": "BishengLLM-90fb5",
          "data": {
            "id": "BishengLLM-90fb5",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 4,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "ChatOpenAI",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "Use the llm model that has been launched in model management",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 427,
          "position": {
            "x": 18.000000000000004,
            "y": 309.62500515920107
          },
          "selected": false,
          "positionAbsolute": {
            "x": 18.000000000000004,
            "y": 309.62500515920107
          }
        }
      ],
      "viewport": {
        "x": 194.6566973414132,
        "y": 31.460215170984327,
        "zoom": 0.4474437869053313
      }
    },
    "order_num": null,
    "guide_word": null
  },
  {
    "update_time": "2024-10-17 16:44:57",
    "parameters": null,
    "name": "⭐️ 查询数据库并画图",
    "description": "大模型根据用户请求可查询SQL数据库并画图（若用户没有要求画图则不会画图），画图是通过调用代码运行环境绘制图表并最终保存为图片存储到Minio，然后以Markdown格式返回图片地址在前端展示。\n\n我们提供了模板技能，运行该应用对模型能力有一定要求，测试Qwen2.5-72B可以运行成功，但会有一些不稳定，可以多尝试换几种问法。",
    "flow_id": "387757240d3e4f3a9b5cea781bdb4d48",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-10-17 16:44:57",
    "id": 196,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-BishengLLM-bc7dcBishengLLM|BishengLLM-bc7dc|BaseChatModel|BaseLanguageModel|BishengLLM|BaseLLM-SQLDatabaseChain-01203BaseLanguageModel|llm|SQLDatabaseChain-01203",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-bc7dc",
          "target": "SQLDatabaseChain-01203",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "BishengLLM|BishengLLM-bc7dc|BaseChatModel|BaseLanguageModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|SQLDatabaseChain-01203"
        },
        {
          "id": "reactflow__edge-SQLDatabase-14a1bSQLDatabase|SQLDatabase-14a1b|SQLDatabase|function-SQLDatabaseChain-01203SQLDatabase|db|SQLDatabaseChain-01203",
          "style": {
            "stroke": "#555"
          },
          "source": "SQLDatabase-14a1b",
          "target": "SQLDatabaseChain-01203",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "SQLDatabase|SQLDatabase-14a1b|SQLDatabase|function",
          "targetHandle": "SQLDatabase|db|SQLDatabaseChain-01203"
        },
        {
          "id": "reactflow__edge-PromptTemplate-06f11PromptTemplate|PromptTemplate-06f11|BasePromptTemplate|StringPromptTemplate|PromptTemplate-SQLDatabaseChain-01203BasePromptTemplate|prompt|SQLDatabaseChain-01203",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-06f11",
          "target": "SQLDatabaseChain-01203",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-06f11|BasePromptTemplate|StringPromptTemplate|PromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|SQLDatabaseChain-01203"
        },
        {
          "id": "reactflow__edge-BishengLLM-bc7dcBishengLLM|BishengLLM-bc7dc|BaseChatModel|BaseLanguageModel|BishengLLM|BaseLLM-ZeroShotAgent-50e40BaseLanguageModel|llm|ZeroShotAgent-50e40",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-bc7dc",
          "target": "ZeroShotAgent-50e40",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "BishengLLM|BishengLLM-bc7dc|BaseChatModel|BaseLanguageModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|ZeroShotAgent-50e40"
        },
        {
          "id": "reactflow__edge-SQLDatabaseChain-01203SQLDatabaseChain|SQLDatabaseChain-01203|SQLDatabaseChain|Chain|function-Tool-f4cb0function|func|Tool-f4cb0",
          "style": {
            "stroke": "#555"
          },
          "source": "SQLDatabaseChain-01203",
          "target": "Tool-f4cb0",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "SQLDatabaseChain|SQLDatabaseChain-01203|SQLDatabaseChain|Chain|function",
          "targetHandle": "function|func|Tool-f4cb0"
        },
        {
          "id": "reactflow__edge-Tool-f4cb0Tool|Tool-f4cb0|Tool|BaseTool-ZeroShotAgent-50e40BaseTool|tools|ZeroShotAgent-50e40",
          "style": {
            "stroke": "#555"
          },
          "source": "Tool-f4cb0",
          "target": "ZeroShotAgent-50e40",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "Tool|Tool-f4cb0|Tool|BaseTool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-50e40"
        },
        {
          "id": "reactflow__edge-Data-2e84bData|Data-2e84b|BaseTool|Tool-ZeroShotAgent-50e40BaseTool|tools|ZeroShotAgent-50e40",
          "style": {
            "stroke": "#555"
          },
          "source": "Data-2e84b",
          "target": "ZeroShotAgent-50e40",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "Data|Data-2e84b|BaseTool|Tool",
          "targetHandle": "BaseTool|tools|ZeroShotAgent-50e40"
        }
      ],
      "nodes": [
        {
          "id": "SQLDatabaseChain-01203",
          "data": {
            "id": "SQLDatabaseChain-01203",
            "node": {
              "beta": false,
              "template": {
                "db": {
                  "info": "",
                  "list": false,
                  "name": "db",
                  "show": true,
                  "type": "SQLDatabase",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Db",
                  "model_config": {}
                },
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "_type": "SQLDatabaseChain",
                "prompt": {
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Prompt",
                  "model_config": {}
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Preset Question",
                  "model_config": {}
                }
              },
              "description": "Create a SQLDatabaseChain from an LLM and a database connection.",
              "base_classes": [
                "SQLDatabaseChain",
                "Chain",
                "function"
              ],
              "display_name": "SQLDatabaseChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "SQLDatabaseChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": 676.0138039780265,
            "y": 556.0498254993254
          },
          "selected": false,
          "positionAbsolute": {
            "x": 676.0138039780265,
            "y": 556.0498254993254
          }
        },
        {
          "id": "BishengLLM-bc7dc",
          "data": {
            "id": "BishengLLM-bc7dc",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 27,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "ChatOpenAI",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "Use the llm model that has been launched in model management",
              "base_classes": [
                "BaseChatModel",
                "BaseLanguageModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 427,
          "position": {
            "x": 18,
            "y": 20
          },
          "selected": false,
          "positionAbsolute": {
            "x": 18,
            "y": 20
          }
        },
        {
          "id": "SQLDatabase-14a1b",
          "data": {
            "id": "SQLDatabase-14a1b",
            "node": {
              "beta": false,
              "template": {
                "_type": "SQLDatabase",
                "engine_args": {
                  "info": "",
                  "list": false,
                  "name": "engine_args",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Engine Args",
                  "model_config": {}
                },
                "database_uri": {
                  "info": "",
                  "list": false,
                  "name": "database_uri",
                  "show": true,
                  "type": "str",
                  "value": "mysql+pymysql://root:E1SkG0PaDMEPTAxY@192.168.106.116:3306/company_stock",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Database Uri",
                  "model_config": {}
                }
              },
              "description": "Construct a SQLAlchemy engine from URI.",
              "base_classes": [
                "SQLDatabase",
                "function"
              ],
              "display_name": "SQLDatabase",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "SQLDatabase",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "position": {
            "x": 18.61695520886218,
            "y": 577.4905684719494
          },
          "selected": false,
          "positionAbsolute": {
            "x": 18.61695520886218,
            "y": 577.4905684719494
          }
        },
        {
          "id": "PromptTemplate-06f11",
          "data": {
            "id": "PromptTemplate-06f11",
            "node": {
              "beta": false,
              "icon": null,
              "name": "",
              "error": null,
              "template": {
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "PromptTemplate",
                "input": {
                  "info": "",
                  "list": false,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "input",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "template": {
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "你是一个与 SQL 数据库交互的智能代理。\n\n## 规则\n1. 给定一个输入问题，输出一个语法正确的 mysql 查询来运行。\n2. 除非用户指定了希望获得的示例的具体数量，否则始终将查询限制为最多5个结果。\n3. 切勿查询特定表中的所有列，只查询问题中的相关列。\n4. 一定要严格根据查询结果来回答，如果查询结果为空，表示未找到相关记录。\n5. 请用中文回答用户的问题。\n6. 当前系统时间是2024年x月xx日。\n7. 如果SQL查询为空，不要输出错误，则回答为空。\n8. 如果出现SQL相关报错，请调整后重试。\n9. 文件链接前不需要添加额外的https或者http前缀\n\n## 供参考的信息\n`stock_price` 为股价表。字段及含义如下：\nid: 主键，自动递增。\nsotck_no: 股票代码。\nname: 股票名称。\ncomment: 千股千评，可能是指对该股票的评论或分析。\nnew_price: 最新价。\nchange_amount: 涨跌额。\namplitude: 涨跌幅。\nprev_close_price: 昨日收盘价。\nopen_price: 今日开盘价。\nhighest: 最高价。\nlowest: 最低价。\ntrade_volume: 成交量（万股）。\ntrade_money: 成交额（万元）。\n\n#####\n用户问题：\n{input}\n\n问题对应sql（注意开头不要包含”sql“标识符，直接输入sql语句即可）：",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Template",
                  "model_config": {}
                },
                "input_types": {
                  "info": "",
                  "list": false,
                  "name": "input_types",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Input Types",
                  "model_config": {}
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": true,
                  "type": "BaseOutputParser",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Output Parser",
                  "model_config": {}
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "input"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Input Variables",
                  "model_config": {}
                },
                "template_format": {
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "Literal['f-string', 'mustache', 'jinja2']",
                  "value": "f-string",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Template Format",
                  "model_config": {}
                },
                "partial_variables": {
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Partial Variables",
                  "model_config": {}
                },
                "validate_template": {
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Validate Template",
                  "model_config": {}
                }
              },
              "full_path": null,
              "description": "Prompt template for a language model.",
              "base_classes": [
                "BasePromptTemplate",
                "StringPromptTemplate",
                "PromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "input"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 373,
          "position": {
            "x": 25.822320988711738,
            "y": 874.460009094774
          },
          "selected": false,
          "positionAbsolute": {
            "x": 25.822320988711738,
            "y": 874.460009094774
          }
        },
        {
          "id": "ZeroShotAgent-50e40",
          "data": {
            "id": "ZeroShotAgent-50e40",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "_type": "ZeroShotAgent",
                "tools": {
                  "info": "",
                  "list": true,
                  "name": "tools",
                  "show": true,
                  "type": "BaseTool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tools",
                  "model_config": {}
                },
                "prefix": {
                  "info": "",
                  "list": false,
                  "name": "prefix",
                  "show": true,
                  "type": "str",
                  "value": "Answer the following questions as best you can. \n一般来讲需要先根据用户的问题使用”数据库查询“tool来查询数据，然后使用”Python REPL Tool“tool来绘制图表，”Python REPL Tool“tool绘制完成的图片会存储到对象存储并返回存储的链接，最终请用Markdown的语法来输出链接\nYou have access to the following tools:",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Prefix",
                  "model_config": {}
                },
                "suffix": {
                  "info": "",
                  "list": false,
                  "name": "suffix",
                  "show": true,
                  "type": "str",
                  "value": "Begin!\n\nQuestion: {input}\nThought:{agent_scratchpad}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Suffix",
                  "model_config": {}
                },
                "input_node": {
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Preset Question",
                  "model_config": {}
                },
                "output_parser": {
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "AgentOutputParser",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Output Parser",
                  "model_config": {}
                },
                "input_variables": {
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": true,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Input Variables",
                  "model_config": {}
                },
                "callback_manager": {
                  "info": "",
                  "list": false,
                  "name": "callback_manager",
                  "show": false,
                  "type": "BaseCallbackManager",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callback Manager",
                  "model_config": {}
                },
                "format_instructions": {
                  "info": "",
                  "list": false,
                  "name": "format_instructions",
                  "show": true,
                  "type": "str",
                  "value": "Use the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [{tool_names}]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Format Instructions",
                  "model_config": {}
                }
              },
              "description": "Construct an agent from an LLM and tools.",
              "base_classes": [
                "BaseSingleActionAgent",
                "Agent",
                "ZeroShotAgent",
                "function"
              ],
              "display_name": "ZeroShotAgent",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/agents/how_to/custom_mrkl_agent",
              "field_formatters": {}
            },
            "type": "ZeroShotAgent",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 609,
          "position": {
            "x": 1881.5603475961273,
            "y": 749.2188069126355
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1881.5603475961273,
            "y": 749.2188069126355
          }
        },
        {
          "id": "Tool-f4cb0",
          "data": {
            "id": "Tool-f4cb0",
            "node": {
              "beta": false,
              "template": {
                "func": {
                  "info": "",
                  "list": false,
                  "name": "func",
                  "show": true,
                  "type": "function",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Func",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": true,
                  "type": "str",
                  "value": "数据库查询",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "_type": "Tool",
                "args_schema": {
                  "info": "",
                  "list": false,
                  "name": "args_schema",
                  "show": true,
                  "type": "NestedDict",
                  "value": "{\"arg1\": {\"type\": \"string\"}}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Args Schema",
                  "model_config": {}
                },
                "description": {
                  "info": "",
                  "list": false,
                  "name": "description",
                  "show": true,
                  "type": "str",
                  "value": "用户问题先从数据库中查询结果",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Description",
                  "model_config": {}
                },
                "return_direct": {
                  "info": "",
                  "list": false,
                  "name": "return_direct",
                  "show": true,
                  "type": "bool",
                  "value": false,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Return Direct",
                  "model_config": {}
                }
              },
              "description": "Converts a chain, agent or function into a tool.",
              "base_classes": [
                "Tool",
                "BaseTool"
              ],
              "display_name": "Tool",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "Tool",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 529,
          "dragging": false,
          "position": {
            "x": 1207.7539633864767,
            "y": 636.1580608046685
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1207.7539633864767,
            "y": 636.1580608046685
          }
        },
        {
          "id": "Data-2e84b",
          "data": {
            "id": "Data-2e84b",
            "node": {
              "beta": true,
              "template": {
                "code": {
                  "info": "",
                  "list": false,
                  "name": "code",
                  "show": true,
                  "type": "code",
                  "value": "import importlib\r\nimport time\r\nimport re\r\nfrom typing import Any\r\n\r\nfrom langchain_experimental.utilities.python import PythonREPL\r\nfrom langchain.callbacks.manager import (\r\n    AsyncCallbackManagerForToolRun,\r\n    CallbackManagerForToolRun,\r\n)\r\nfrom bisheng import CustomComponent\r\nfrom bisheng.utils.minio_client import MinioClient\r\nfrom langchain_core.tools import Tool\r\n\r\n\r\nclass PythonREPLToolComponent(CustomComponent):\r\n    display_name = \"Python REPL Tool\"\r\n    description = \"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.\"\r\n    name = \"PythonREPLTool\"\r\n\r\n    def build_config(self):\r\n        return {\r\n            \"name\": {\"display_name\": \"Name\", \"info\": \"The name of the tool.\"},\r\n            \"description\": {\"display_name\": \"Description\", \"info\": \"A description of the tool.\"},\r\n            \"global_imports\": {\r\n                \"display_name\": \"Global Imports\",\r\n                \"info\": \"A list of modules to import globally, e.g. ['math', 'numpy'].\",\r\n            },\r\n        }\r\n\r\n    def get_globals(self, globals: list[str]) -> dict:\r\n        \"\"\"\r\n        Retrieves the global variables from the specified modules.\r\n\r\n        Args:\r\n            globals (list[str]): A list of module names.\r\n\r\n        Returns:\r\n            dict: A dictionary containing the global variables from the specified modules.\r\n        \"\"\"\r\n        global_dict = {}\r\n        for module in globals:\r\n            try:\r\n                imported_module = importlib.import_module(module)\r\n                global_dict[imported_module.__name__] = imported_module\r\n            except ImportError:\r\n                raise ImportError(f\"Could not import module {module}\")\r\n        return global_dict\r\n\r\n    def build(\r\n        self,\r\n        name: str = \"python_repl\",\r\n        description: str = \"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.\",\r\n        global_imports: list[str] = [\"math\"],\r\n    ) -> Tool:\r\n        \"\"\"\r\n        Builds a Python REPL tool.\r\n\r\n        Args:\r\n            name (str, optional): The name of the tool. Defaults to \"python_repl\".\r\n            description (str, optional): The description of the tool. Defaults to \"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`. \".\r\n            global_imports (list[str], optional): A list of global imports to be available in the Python REPL. Defaults to [\"math\"].\r\n\r\n        Returns:\r\n            Tool: The built Python REPL tool.\r\n        \"\"\"\r\n        _globals = self.get_globals(global_imports)\r\n        python_repl = PythonREPL(_globals=_globals)\r\n        \r\n        class PersonalTool(Tool):\r\n            def _run(\r\n                self,\r\n                query: str,\r\n                run_manager: Optional[CallbackManagerForToolRun] = None,\r\n            ) -> Any:\r\n                \"\"\"Use the tool.\"\"\"\r\n                print(\"-----start---\")\r\n                \r\n                minio_client = MinioClient()\r\n                query = re.compile('plt.savefig(.*)').sub(\"\", query)\r\n                \r\n                # 把图片存到本地\r\n                file_path = f\"/tmp/{int(time.time())}.png\"\r\n                query = query.replace(\"plt.show()\", f\"plt.savefig('{file_path}')\")\r\n                query = 'import matplotlib\\nmatplotlib.rc(\"font\", family=\"WenQuanYi Zen Hei\")\\n' + query\r\n                print(f\"-----exec code: {query}\")\r\n                \r\n                result = super(PersonalTool, self)._run(query, run_manager=run_manager)\r\n                print(\"-----code exec over-----\")\r\n                # 上传文件到minio\r\n                \r\n                minio_client.upload_minio(file_path, file_path)\r\n                file_url = minio_client.get_share_link(file_path)\r\n                file_url = minio_client.clear_minio_share_host(file_url)\r\n                print(f\"-----over---\", file_url)\r\n                return file_url\r\n        \r\n            async def _arun(\r\n                self,\r\n                query: str,\r\n                run_manager: Optional[AsyncCallbackManagerForToolRun] = None,\r\n            ) -> Any:\r\n                \"\"\"Use the tool asynchronously.\"\"\"\r\n                print(\"-----astart---\")\r\n                result = await super(PersonalTool, self)._arun(query, run_manager=run_manager)\r\n                print(\"---aover---\")\r\n                return result\r\n        \r\n        tool = PersonalTool(\r\n            name=name,\r\n            description=description,\r\n            func=python_repl.run,\r\n        )\r\n        return tool\r\n\r\n",
                  "dynamic": true,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Code",
                  "model_config": {}
                },
                "name": {
                  "info": "The name of the tool.",
                  "list": false,
                  "name": "name",
                  "show": true,
                  "type": "str",
                  "value": "python_repl",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "_type": "CustomComponent",
                "description": {
                  "info": "A description of the tool.",
                  "list": false,
                  "name": "description",
                  "show": true,
                  "type": "str",
                  "value": "A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Description",
                  "model_config": {}
                },
                "global_imports": {
                  "info": "A list of modules to import globally, e.g. ['math', 'numpy'].",
                  "list": true,
                  "name": "global_imports",
                  "show": true,
                  "type": "str",
                  "value": [
                    "math"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Global Imports",
                  "model_config": {}
                }
              },
              "description": "A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.",
              "base_classes": [
                "BaseTool",
                "Tool"
              ],
              "display_name": "Python REPL Tool",
              "output_types": [
                "Tool"
              ],
              "custom_fields": {
                "name": null,
                "description": null,
                "global_imports": null
              },
              "documentation": "",
              "field_formatters": {}
            },
            "type": "Data",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 561,
          "dragging": false,
          "position": {
            "x": 778.9175511051337,
            "y": 1149.9902599062198
          },
          "selected": true,
          "positionAbsolute": {
            "x": 778.9175511051337,
            "y": 1149.9902599062198
          }
        }
      ],
      "viewport": {
        "x": 339.1544304743195,
        "y": 29.21939842035414,
        "zoom": 0.45266644261865624
      }
    },
    "order_num": 7471052,
    "guide_word": null
  },
  {
    "update_time": "2024-10-28 15:51:35",
    "parameters": null,
    "name": "⭐️ 指定Keyvalue信息提取",
    "description": "上传文件，指定需要提取的Keyvalue，分号分隔，点击【开始】按钮",
    "flow_id": "caae4fa4c0b6405ba3ebfda20895849e",
    "api_parameters": null,
    "flow_type": 1,
    "create_time": "2024-10-28 15:51:35",
    "id": 197,
    "data": {
      "edges": [
        {
          "id": "reactflow__edge-PromptTemplate-5UHOIPromptTemplate|PromptTemplate-5UHOI|StringPromptTemplate|PromptTemplate|BasePromptTemplate-LLMChain-aSC8HBasePromptTemplate|prompt|LLMChain-aSC8H",
          "style": {
            "stroke": "#555"
          },
          "source": "PromptTemplate-5UHOI",
          "target": "LLMChain-aSC8H",
          "animated": false,
          "selected": false,
          "className": "",
          "sourceHandle": "PromptTemplate|PromptTemplate-5UHOI|StringPromptTemplate|PromptTemplate|BasePromptTemplate",
          "targetHandle": "BasePromptTemplate|prompt|LLMChain-aSC8H"
        },
        {
          "id": "reactflow__edge-BishengLLM-2763fBishengLLM|BishengLLM-2763f|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM-LLMChain-aSC8HBaseLanguageModel|llm|LLMChain-aSC8H",
          "style": {
            "stroke": "#555"
          },
          "source": "BishengLLM-2763f",
          "target": "LLMChain-aSC8H",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "BishengLLM|BishengLLM-2763f|BaseLanguageModel|BaseChatModel|BishengLLM|BaseLLM",
          "targetHandle": "BaseLanguageModel|llm|LLMChain-aSC8H"
        },
        {
          "id": "reactflow__edge-InputNode-3ccbfInputNode|InputNode-3ccbf|input-LLMChain-aSC8Hinput|input_node|LLMChain-aSC8H",
          "style": {
            "stroke": "#555"
          },
          "source": "InputNode-3ccbf",
          "target": "LLMChain-aSC8H",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputNode|InputNode-3ccbf|input",
          "targetHandle": "input|input_node|LLMChain-aSC8H"
        },
        {
          "id": "reactflow__edge-InputFileNode-fc806InputFileNode|InputFileNode-fc806|fileNode-ElemUnstructuredLoaderV0-293c3fileNode|file_path|ElemUnstructuredLoaderV0-293c3",
          "style": {
            "stroke": "#555"
          },
          "source": "InputFileNode-fc806",
          "target": "ElemUnstructuredLoaderV0-293c3",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "InputFileNode|InputFileNode-fc806|fileNode",
          "targetHandle": "fileNode|file_path|ElemUnstructuredLoaderV0-293c3"
        },
        {
          "id": "reactflow__edge-ElemUnstructuredLoaderV0-293c3ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-293c3|Document-PromptTemplate-5UHOIDocument;BaseOutputParser;VariableNode|context|PromptTemplate-5UHOI",
          "style": {
            "stroke": "#555"
          },
          "source": "ElemUnstructuredLoaderV0-293c3",
          "target": "PromptTemplate-5UHOI",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "ElemUnstructuredLoaderV0|ElemUnstructuredLoaderV0-293c3|Document",
          "targetHandle": "Document;BaseOutputParser;VariableNode|context|PromptTemplate-5UHOI"
        },
        {
          "id": "reactflow__edge-VariableNode-e314cVariableNode|VariableNode-e314c|VariableNode-PromptTemplate-5UHOIDocument;BaseOutputParser;VariableNode|keyvalue|PromptTemplate-5UHOI",
          "style": {
            "stroke": "#555"
          },
          "source": "VariableNode-e314c",
          "target": "PromptTemplate-5UHOI",
          "animated": true,
          "className": "stroke-foreground  stroke-connection",
          "sourceHandle": "VariableNode|VariableNode-e314c|VariableNode",
          "targetHandle": "Document;BaseOutputParser;VariableNode|keyvalue|PromptTemplate-5UHOI"
        }
      ],
      "nodes": [
        {
          "id": "LLMChain-aSC8H",
          "data": {
            "id": "LLMChain-aSC8H",
            "node": {
              "template": {
                "llm": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": true,
                  "type": "BaseLanguageModel",
                  "l2_name": "llm",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "tags": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "l2_name": "tags",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "_type": "LLMChain",
                "memory": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "memory",
                  "show": true,
                  "type": "BaseMemory",
                  "l2_name": "memory",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "prompt": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "prompt",
                  "show": true,
                  "type": "BasePromptTemplate",
                  "l2_name": "prompt",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "verbose": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "value": false,
                  "l2_name": "verbose",
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "metadata": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "l2_name": "metadata",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "callbacks": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain.callbacks.base.BaseCallbackHandler",
                  "l2_name": "callbacks",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_node": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "input_node",
                  "show": true,
                  "type": "input",
                  "l2_name": "input_node",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": "",
                  "display_name": "Preset Question"
                },
                "llm_kwargs": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "llm_kwargs",
                  "show": false,
                  "type": "code",
                  "l2_name": "llm_kwargs",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_key": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_key",
                  "show": true,
                  "type": "str",
                  "value": "text",
                  "l2_name": "output_key",
                  "advanced": true,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseLLMOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "return_final_only": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "return_final_only",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "return_final_only",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "description": "Chain to run queries against LLMs.",
              "base_classes": [
                "Chain",
                "LLMChain",
                "function"
              ],
              "display_name": "LLMChain",
              "output_types": [],
              "custom_fields": {},
              "documentation": "https://python.langchain.com/docs/modules/chains/foundational/llm_chain"
            },
            "type": "LLMChain",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 317,
          "position": {
            "x": 1313.6980454632887,
            "y": 900.921715712506
          },
          "selected": false,
          "positionAbsolute": {
            "x": 1313.6980454632887,
            "y": 900.921715712506
          }
        },
        {
          "id": "PromptTemplate-5UHOI",
          "data": {
            "id": "PromptTemplate-5UHOI",
            "node": {
              "beta": false,
              "icon": null,
              "name": "",
              "error": null,
              "template": {
                "_type": "PromptTemplate",
                "input": {
                  "info": "",
                  "list": false,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "input",
                  "model_config": {}
                },
                "context": {
                  "info": "",
                  "list": false,
                  "name": "context",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "context",
                  "model_config": {}
                },
                "keyvalue": {
                  "info": "",
                  "list": false,
                  "name": "keyvalue",
                  "show": true,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "input_types": [
                    "Document",
                    "BaseOutputParser",
                    "VariableNode"
                  ],
                  "placeholder": "",
                  "display_name": "keyvalue",
                  "model_config": {}
                },
                "template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template",
                  "show": true,
                  "type": "prompt",
                  "value": "提取以下文本内容中的keyvalue信息，需要抽取的key包括：\n\n{keyvalue}\n\nThe output should be a Markdown code snippet formatted in the following schema, including the leading and trailing \"```json\" and \"```\":\n\n```json\n\"Key1\": Value\n\"Key2\": Value\n```\n\n文本内容\n{context}\n\n{input}",
                  "l2_name": "template",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": true,
                  "placeholder": ""
                },
                "output_parser": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "output_parser",
                  "show": false,
                  "type": "BaseOutputParser",
                  "l2_name": "output_parser",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "input_variables": {
                  "l2": false,
                  "info": "",
                  "list": true,
                  "name": "input_variables",
                  "show": false,
                  "type": "str",
                  "value": [
                    "keyvalue",
                    "context",
                    "input"
                  ],
                  "l2_name": "input_variables",
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "multiline": false,
                  "placeholder": ""
                },
                "template_format": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "template_format",
                  "show": false,
                  "type": "str",
                  "value": "f-string",
                  "l2_name": "template_format",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "partial_variables": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "partial_variables",
                  "show": false,
                  "type": "code",
                  "l2_name": "partial_variables",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                },
                "validate_template": {
                  "l2": false,
                  "info": "",
                  "list": false,
                  "name": "validate_template",
                  "show": false,
                  "type": "bool",
                  "value": true,
                  "l2_name": "validate_template",
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "multiline": false,
                  "placeholder": ""
                }
              },
              "full_path": null,
              "description": "Schema to represent a prompt for an LLM.",
              "base_classes": [
                "StringPromptTemplate",
                "PromptTemplate",
                "BasePromptTemplate"
              ],
              "display_name": "PromptTemplate",
              "output_types": [],
              "custom_fields": {
                "": [
                  "keyvalue",
                  "context",
                  "input"
                ],
                "template": [
                  "context",
                  "input"
                ]
              },
              "documentation": "https://python.langchain.com/docs/modules/model_io/prompts/prompt_templates/",
              "field_formatters": {}
            },
            "type": "PromptTemplate",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 501,
          "dragging": false,
          "position": {
            "x": 809.51004530817,
            "y": 1237.7696518068285
          },
          "selected": false,
          "positionAbsolute": {
            "x": 809.51004530817,
            "y": 1237.7696518068285
          }
        },
        {
          "id": "BishengLLM-2763f",
          "data": {
            "id": "BishengLLM-2763f",
            "node": {
              "beta": false,
              "template": {
                "llm": {
                  "info": "",
                  "list": false,
                  "name": "llm",
                  "show": false,
                  "type": "BaseChatModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm",
                  "model_config": {}
                },
                "name": {
                  "info": "",
                  "list": false,
                  "name": "name",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Name",
                  "model_config": {}
                },
                "tags": {
                  "info": "",
                  "list": true,
                  "name": "tags",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Tags",
                  "model_config": {}
                },
                "_type": "BishengLLM",
                "cache": {
                  "info": "",
                  "list": false,
                  "name": "cache",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Cache",
                  "model_config": {}
                },
                "top_p": {
                  "info": "",
                  "list": false,
                  "name": "top_p",
                  "show": true,
                  "type": "float",
                  "value": 1,
                  "dynamic": false,
                  "advanced": true,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Top P",
                  "model_config": {}
                },
                "verbose": {
                  "info": "",
                  "list": false,
                  "name": "verbose",
                  "show": false,
                  "type": "bool",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Verbose",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": false,
                  "type": "code",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "model_id": {
                  "info": "",
                  "list": false,
                  "name": "model_id",
                  "show": true,
                  "type": "bisheng_model",
                  "value": 31,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "callbacks": {
                  "info": "",
                  "list": true,
                  "name": "callbacks",
                  "show": false,
                  "type": "langchain_core.callbacks.base.BaseCallbackHandler",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Callbacks",
                  "model_config": {}
                },
                "streaming": {
                  "info": "",
                  "list": false,
                  "name": "streaming",
                  "show": true,
                  "type": "bool",
                  "value": true,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Streaming",
                  "model_config": {}
                },
                "model_info": {
                  "info": "",
                  "list": false,
                  "name": "model_info",
                  "show": false,
                  "type": "LLMModel",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Info",
                  "model_config": {}
                },
                "model_name": {
                  "info": "",
                  "list": false,
                  "name": "model_name",
                  "show": false,
                  "type": "str",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Model Name",
                  "model_config": {}
                },
                "server_info": {
                  "info": "",
                  "list": false,
                  "name": "server_info",
                  "show": false,
                  "type": "LLMServer",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Server Info",
                  "model_config": {}
                },
                "temperature": {
                  "info": "",
                  "list": false,
                  "name": "temperature",
                  "show": true,
                  "type": "float",
                  "value": 0.3,
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Temperature",
                  "model_config": {}
                },
                "llm_node_type": {
                  "info": "",
                  "list": false,
                  "name": "llm_node_type",
                  "show": false,
                  "type": "code",
                  "value": {
                    "qwen": "ChatOpenAI",
                    "vllm": "ChatOpenAI",
                    "spark": "ChatOpenAI",
                    "zhipu": "ChatOpenAI",
                    "ollama": "ChatOllama",
                    "openai": "ChatOpenAI",
                    "minimax": "MiniMaxChat",
                    "qianfan": "ChatWenxin",
                    "deepseek": "ChatOpenAI",
                    "llamacpp": "ChatOpenAI",
                    "anthropic": "ChatAnthropic",
                    "bisheng_rt": "HostChatGLM",
                    "xinference": "ChatOpenAI",
                    "azure_openai": "AzureChatOpenAI"
                  },
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Llm Node Type",
                  "model_config": {}
                },
                "custom_get_token_ids": {
                  "info": "",
                  "list": true,
                  "name": "custom_get_token_ids",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Custom Get Token Ids",
                  "model_config": {}
                }
              },
              "description": "依赖bisheng后端服务的llm组件",
              "base_classes": [
                "BaseLanguageModel",
                "BaseChatModel",
                "BishengLLM",
                "BaseLLM"
              ],
              "display_name": "BishengLLM",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "BishengLLM",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 408,
          "position": {
            "x": -68.63553056857684,
            "y": 696.600000304993
          },
          "positionAbsolute": {
            "x": -68.63553056857684,
            "y": 696.600000304993
          }
        },
        {
          "id": "ElemUnstructuredLoaderV0-293c3",
          "data": {
            "id": "ElemUnstructuredLoaderV0-293c3",
            "node": {
              "beta": false,
              "template": {
                "_type": "ElemUnstructuredLoaderV0",
                "kwargs": {
                  "info": "",
                  "list": false,
                  "name": "kwargs",
                  "show": true,
                  "type": "dict",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "kwargs",
                  "model_config": {}
                },
                "metadata": {
                  "info": "",
                  "list": false,
                  "name": "metadata",
                  "show": true,
                  "type": "code",
                  "value": "{}",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Metadata",
                  "model_config": {}
                },
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "fileNode",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    ".xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "unstructured_api_url": {
                  "info": "",
                  "list": false,
                  "name": "unstructured_api_url",
                  "show": true,
                  "type": "str",
                  "value": "https://bisheng.dataelem.com/api/v1/etl4llm/predict",
                  "dynamic": false,
                  "advanced": false,
                  "password": true,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "unstructured_api_url",
                  "model_config": {}
                }
              },
              "description": "The appropriate parser is automatically selected based on the file format and OCR is supported",
              "base_classes": [
                "Document"
              ],
              "display_name": "ElemUnstructuredLoaderV0",
              "output_types": [
                "Document"
              ],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "ElemUnstructuredLoaderV0",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 477,
          "position": {
            "x": 237.30334166517488,
            "y": 1166.7647849898744
          },
          "positionAbsolute": {
            "x": 237.30334166517488,
            "y": 1166.7647849898744
          }
        },
        {
          "id": "InputNode-3ccbf",
          "data": {
            "id": "InputNode-3ccbf",
            "node": {
              "beta": false,
              "template": {
                "_type": "input",
                "input": {
                  "info": "",
                  "list": true,
                  "name": "input",
                  "show": true,
                  "type": "str",
                  "value": [
                    "开始"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": true,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "输入内容",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "input"
              ],
              "display_name": "InputNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 255,
          "position": {
            "x": 809.0064819287146,
            "y": 663.3484087022575
          },
          "positionAbsolute": {
            "x": 809.0064819287146,
            "y": 663.3484087022575
          }
        },
        {
          "id": "InputFileNode-fc806",
          "data": {
            "id": "InputFileNode-fc806",
            "node": {
              "beta": false,
              "template": {
                "_type": "InputFileNode",
                "file_path": {
                  "info": "",
                  "list": false,
                  "name": "file_path",
                  "show": true,
                  "type": "file",
                  "value": "",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "suffixes": [
                    ".html",
                    ".md",
                    ".txt",
                    ".bmp",
                    ".jpg",
                    ".png",
                    ".jpeg",
                    ".doc",
                    ".docx",
                    ".pdf",
                    ".ppt",
                    ".pptx",
                    "..xls",
                    ".xlsx",
                    ".tsv",
                    ".csv",
                    ".tiff"
                  ],
                  "fileTypes": [
                    "html",
                    "md",
                    "txt",
                    "bmp",
                    "jpg",
                    "png",
                    "jpeg",
                    "doc",
                    "docx",
                    "pdf",
                    "ppt",
                    "pptx",
                    ".xls",
                    "xlsx",
                    "tsv",
                    "csv",
                    "tiff"
                  ],
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "File Path",
                  "model_config": {}
                },
                "file_type": {
                  "info": "Tips for which file should upload",
                  "list": false,
                  "name": "file_type",
                  "show": true,
                  "type": "str",
                  "value": "请上传文件",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "提示上传文件类型",
                  "display_name": "Name",
                  "model_config": {}
                }
              },
              "description": "输入节点，用来自动对接输入",
              "base_classes": [
                "fileNode"
              ],
              "display_name": "InputFileNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "InputFileNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 337,
          "dragging": false,
          "position": {
            "x": -283.58174168605024,
            "y": 1208.0544562311302
          },
          "selected": false,
          "positionAbsolute": {
            "x": -283.58174168605024,
            "y": 1208.0544562311302
          }
        },
        {
          "id": "VariableNode-e314c",
          "data": {
            "id": "VariableNode-e314c",
            "node": {
              "beta": false,
              "template": {
                "_type": "VariableNode",
                "variables": {
                  "info": "",
                  "list": true,
                  "name": "variables",
                  "show": true,
                  "type": "variable",
                  "value": [
                    "要素"
                  ],
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": true,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Variables",
                  "model_config": {}
                },
                "variable_value": {
                  "info": "",
                  "list": true,
                  "name": "variable_value",
                  "show": false,
                  "type": "str",
                  "dynamic": false,
                  "advanced": false,
                  "password": false,
                  "required": false,
                  "file_path": "",
                  "multiline": false,
                  "title_case": true,
                  "placeholder": "",
                  "display_name": "Variable Value",
                  "model_config": {}
                }
              },
              "description": "用来设置变量",
              "base_classes": [
                "VariableNode"
              ],
              "display_name": "VariableNode",
              "output_types": [],
              "custom_fields": {},
              "documentation": "",
              "field_formatters": {}
            },
            "type": "VariableNode",
            "value": null
          },
          "type": "genericNode",
          "width": 384,
          "height": 283,
          "position": {
            "x": 191.2097358237865,
            "y": 1669.692405161968
          },
          "positionAbsolute": {
            "x": 191.2097358237865,
            "y": 1669.692405161968
          }
        }
      ],
      "viewport": {
        "x": 186.80586866476656,
        "y": -288.498161293062,
        "zoom": 0.4797259326255045
      }
    },
    "order_num": 7536587,
    "guide_word": null
  },
  {
    "update_time": "2026-02-05 19:54:04",
    "parameters": null,
    "name": "文档知识库问答",
    "description": "功能简介：这是文档知识库问答流程，通过 “开始” 引导用户提问，“输入” 模块支持对话或表单录入文档内容，“文档知识库问答” 模块利用配置参数，基于文档知识解答用户问题 。\n使用说明：在 “开始” 填引导语与示例问题；“输入” 选录入方式，设置文档相关参数；“文档知识库问答” 配置模型、问题等参数，保存后点击 “运行” 测试，确认无误可 “上线” 使用 。",
    "flow_id": "0da365f9709842e29a5b1476d94ba8d9",
    "api_parameters": null,
    "create_time": "2026-02-05 19:54:04",
    "id": 358,
    "data": {
      "edges": [
        {
          "id": "xy-edge__start_fa9afright_handle-input_cc36cleft_handle",
          "type": "customEdge",
          "source": "start_fa9af",
          "target": "input_cc36c",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_cc36cright_handle-rag_896caleft_handle",
          "type": "customEdge",
          "source": "input_cc36c",
          "target": "rag_896ca",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_896caright_handle-input_cc36cleft_handle",
          "type": "customEdge",
          "source": "rag_896ca",
          "target": "input_cc36c",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_fa9af",
          "data": {
            "v": 3,
            "id": "start_fa9af",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "e6c745",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 711
          },
          "position": {
            "x": 469,
            "y": 150
          },
          "selected": false
        },
        {
          "id": "rag_896ca",
          "data": {
            "v": 3,
            "id": "rag_896ca",
            "name": "文档知识库问答",
            "type": "rag",
            "expand": true,
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "input_cc36c.user_input"
                    ],
                    "varZh": {
                      "input_cc36c.user_input": "输入/user_input",
                      "input_e1758.user_input": "输入/user_input",
                      "start_fa9af.current_time": "开始/current_time"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "knowledge",
                      "value": [
                        {
                          "key": 1283,
                          "label": "毕昇文档知识库"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一个知识库问答助手： \n1.用中文回答用户问题，并且答案要严谨专业。\n2.你需要依据以下【参考文本】中的内容来回答，当【参考文本】中有明确与用户问题相关的内容时才进行回答，不可根据自己的知识来回答。\n3.由于【参考文本】可能包含多个来自不同信息源的信息，所以根据这些不同的信息源可能得出有差异甚至冲突的答案，当发现这种情况时，这些答案都列举出来；如果没有冲突或差异，则只需要给出一个最终结果。\n4.若【参考文本】中内容与用户问题不相关则回复“没有找到相关内容”。",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户问题：{{#rag_896ca.user_question#}}\n参考文本：{{#rag_896ca.retrieved_result#}}\n你的回答：",
                    "varZh": {
                      "rag_896ca.user_question": "user_question",
                      "rag_896ca.retrieved_result": "retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output_user_input",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_user_input",
                        "label": "output_user_input"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 1275
          },
          "position": {
            "x": 1338.9283536315477,
            "y": 152.54665865258175
          },
          "selected": true
        },
        {
          "id": "input_cc36c",
          "data": {
            "v": "3",
            "id": "input_cc36c",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "measured": {
            "width": 334,
            "height": 570
          },
          "position": {
            "x": 935.6608232521362,
            "y": 163.53933298957216
          }
        }
      ],
      "viewport": {
        "x": -365.03852145949816,
        "y": -107.15501189516708,
        "zoom": 0.6295427860409281
      }
    },
    "order_num": 12238723,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 20:05:11",
    "parameters": null,
    "name": "优先知识库问答+搜索引擎兜底",
    "description": "功能简介：这是 “优先知识库问答 + 搜索引擎兜底” 工作流，先借 “开始” 引导对话，“输入” 模块获取用户提问与文件，经 “文档知识库问答” 检索知识；若未匹配内容，“条件分支” 触发 “助手” 调用搜索引擎补充，最终 “输出” 回答，保障问答覆盖度。\n使用说明：“开始” 填引导语；“输入” 选录入方式，设文件参数。\n运行流程，“文档知识库问答” 优先检索知识；若output_user含 “没有找到相关内容”，触发 “助手” 用搜索引擎兜底。",
    "flow_id": "2853ac0e3e3e483985a414911e409463",
    "api_parameters": null,
    "create_time": "2026-02-05 20:05:11",
    "id": 360,
    "data": {
      "edges": [
        {
          "id": "xy-edge__condition_448edright_handle-output_2a3beleft_handle",
          "type": "customEdge",
          "source": "condition_448ed",
          "target": "output_2a3be",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_3e24bright_handle-condition_448edleft_handle",
          "type": "customEdge",
          "source": "rag_3e24b",
          "target": "condition_448ed",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_448ed78028559-agent_49ec7left_handle",
          "type": "customEdge",
          "source": "condition_448ed",
          "target": "agent_49ec7",
          "animated": true,
          "sourceHandle": "78028559",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_9f092right_handle-input_c284fleft_handle",
          "type": "customEdge",
          "source": "start_9f092",
          "target": "input_c284f",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_c284fright_handle-rag_3e24bleft_handle",
          "type": "customEdge",
          "source": "input_c284f",
          "target": "rag_3e24b",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_2a3beright_handle-input_c284fleft_handle",
          "type": "customEdge",
          "source": "output_2a3be",
          "target": "input_c284f",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__agent_49ec7right_handle-input_c284fleft_handle",
          "type": "customEdge",
          "source": "agent_49ec7",
          "target": "input_c284f",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_9f092",
          "data": {
            "v": 3,
            "id": "start_9f092",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "你好，我是问答助手",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "a3a02e",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 711
          },
          "position": {
            "x": 237.20000000000005,
            "y": -161
          },
          "selected": false
        },
        {
          "id": "condition_448ed",
          "data": {
            "id": "condition_448ed",
            "name": "条件分支",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "78028559",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "59451337",
                            "left_var": "rag_3e24b.output_user_input",
                            "left_label": "output_user_input",
                            "right_label": "",
                            "right_value": "没有找到相关内容",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 562,
            "height": 347
          },
          "position": {
            "x": 1614.1888377214964,
            "y": -254.09438817125263
          },
          "selected": false
        },
        {
          "id": "output_2a3be",
          "data": {
            "v": 2,
            "id": "output_2a3be",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "{{#rag_3e24b.output_user_input#}}",
                      "files": []
                    },
                    "varZh": {
                      "agent_140fe.output": "助手/output",
                      "rag_3e24b.output_user_input": "文档知识库问答/output_user_input"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 463
          },
          "position": {
            "x": 2260.2238409262695,
            "y": 26.60625066348959
          },
          "selected": false
        },
        {
          "id": "rag_3e24b",
          "data": {
            "v": 3,
            "id": "rag_3e24b",
            "name": "文档知识库问答",
            "type": "rag",
            "expand": false,
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "input_c284f.user_input"
                    ],
                    "varZh": {
                      "input_1b610.user_input": "输入/user_input",
                      "input_2d0d4.user_input": "输入/user_input",
                      "input_c284f.user_input": "输入/user_input"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "knowledge",
                      "value": [
                        {
                          "key": 1301,
                          "label": "毕昇产品文档"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一个知识库问答助手： \n1.用中文回答用户问题，并且答案要严谨专业。\n2.你需要依据以上【参考文本】中的内容来回答，当【参考文本】中有明确与用户问题相关的内容时才进行回答，不可根据自己的知识来回答。\n3.由于【参考文本】可能包含多个来自不同信息源的信息，所以根据这些不同的信息源可能得出有差异甚至冲突的答案，当发现这种情况时，这些答案都列举出来；如果没有冲突或差异，则只需要给出一个最终结果。\n4.若【参考文本】中内容与用户问题不相关则回复“没有找到相关内容”。",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户问题：{{#rag_3e24b.user_question#}}\n参考文本：{{#rag_3e24b.retrieved_result#}}\n你的回答：",
                    "varZh": {
                      "rag_3e24b.user_question": "user_question",
                      "rag_3e24b.retrieved_result": "retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output_user_input",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_user_input",
                        "label": "output_user_input"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 150
          },
          "position": {
            "x": 1145.3311585293775,
            "y": -159.21938594285209
          },
          "selected": false
        },
        {
          "id": "agent_49ec7",
          "data": {
            "v": 2,
            "id": "agent_49ec7",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "助手",
            "type": "agent",
            "expand": false,
            "description": "AI 自主进行任务规划，选择合适的知识库或工具进行调用。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "agent_model",
                    "label": "模型",
                    "value": 274,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "# role \n\n你是一个善于根据互联网搜索引擎获取信息并回答用户问题的 AI 助理# skill\n\n根据用户问题，调用 Bing Web 工具检索需要的信息，并结合检索结果回答用户问题。",
                    "required": true,
                    "placeholder": "助手画像"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c284f.user_input#}}",
                    "varZh": {
                      "input_c284f.user_input": "输入/user_input"
                    },
                    "required": true,
                    "placeholder": "用户消息内容"
                  },
                  {
                    "key": "chat_history_flag",
                    "help": "带入模型上下文的历史消息条数，为 0 时代表不包含上下文信息。",
                    "step": 1,
                    "type": "slide_switch",
                    "label": "历史聊天记录",
                    "scope": [
                      0,
                      100
                    ],
                    "value": {
                      "flag": true,
                      "value": 50
                    }
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": ""
                  }
                ]
              },
              {
                "name": "知识库",
                "params": [
                  {
                    "key": "knowledge_id",
                    "type": "knowledge_select_multi",
                    "label": "检索知识库范围",
                    "value": {
                      "type": "knowledge",
                      "value": []
                    },
                    "placeholder": "请选择知识库"
                  }
                ]
              },
              {
                "name": "数据库",
                "params": [
                  {
                    "key": "sql_agent",
                    "type": "sql_config",
                    "value": {
                      "open": false,
                      "db_name": "",
                      "db_address": "",
                      "db_password": "",
                      "db_username": "",
                      "database_engine": "mysql"
                    }
                  }
                ]
              },
              {
                "name": "工具",
                "params": [
                  {
                    "key": "tool_list",
                    "type": "add_tool",
                    "label": "+ 添加工具",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 150
          },
          "position": {
            "x": 2265.0840022667044,
            "y": -456.86140838548886
          },
          "selected": true
        },
        {
          "id": "input_c284f",
          "data": {
            "v": "3",
            "id": "input_c284f",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 570
          },
          "position": {
            "x": 735.2652144940947,
            "y": -165.84643370976673
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": -69.1807775874338,
        "y": 311.2637313881481,
        "zoom": 0.5741179493568034
      }
    },
    "order_num": 12369793,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 20:11:36",
    "parameters": null,
    "name": "五步翻译法",
    "description": "功能简介\n这是翻译工作流，通过 “输入” 环节录入文本，经 “英文要点直译”“中文意图反译” 等多轮模型处理，利用大模型分步骤优化翻译内容，最终输出高质量译文，适用于需精准翻译的场景。\n使用说明\n在 “输入” 节点填入待翻译文本，依次运行 “英文要点直译”“中文意图反译” 等后续节点，各环节依托大模型自动处理，流程结束后在 “结束” 节点查看最终翻译结果，可按需调整模型参数优化效果。",
    "flow_id": "a2fb8daa1af942d58c306c164d2e7c9e",
    "api_parameters": null,
    "create_time": "2026-02-05 20:11:36",
    "id": 361,
    "data": {
      "edges": [
        {
          "id": "xy-edge__llm_ebfb8right_handle-llm_3fa0dleft_handle",
          "type": "customEdge",
          "source": "llm_ebfb8",
          "target": "llm_3fa0d",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_3fa0dright_handle-llm_834d3left_handle",
          "type": "customEdge",
          "source": "llm_3fa0d",
          "target": "llm_834d3",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_834d3right_handle-llm_9ae96left_handle",
          "type": "customEdge",
          "source": "llm_834d3",
          "target": "llm_9ae96",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_9ae96right_handle-llm_414d9left_handle",
          "type": "customEdge",
          "source": "llm_9ae96",
          "target": "llm_414d9",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_414d9right_handle-end_6ee61left_handle",
          "type": "customEdge",
          "source": "llm_414d9",
          "target": "end_6ee61",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_faec1right_handle-input_c5b73left_handle",
          "type": "customEdge",
          "source": "start_faec1",
          "target": "input_c5b73",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_c5b73right_handle-llm_ebfb8left_handle",
          "type": "customEdge",
          "source": "input_c5b73",
          "target": "llm_ebfb8",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_faec1",
          "data": {
            "v": 3,
            "id": "start_faec1",
            "name": "开始",
            "type": "start",
            "expand": true,
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "五步翻译法，适合论文等对于翻译质量有较高要求的场景，包含 5 个环节： 1）直译初稿 2）意译初稿 3）回译 4）编辑校对 5）意译终稿 。\n\n请发送您要翻译的英文材料：",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "63e87c",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 711
          },
          "position": {
            "x": 138.9223951864526,
            "y": 81.99792129963708
          },
          "selected": false
        },
        {
          "id": "end_6ee61",
          "data": {
            "id": "end_6ee61",
            "name": "结束",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2946.3789207819623,
            "y": 403.8501940420881
          },
          "selected": false
        },
        {
          "id": "llm_ebfb8",
          "data": {
            "v": 2,
            "id": "llm_ebfb8",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "英文教授直译",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "# role \n\n你是一位资深英语教授，能精确的理解英文并用中文表达，同时也是一名熟悉神经科学、machine learning、deep learning、NLP和CV领域的教授，掌握这些领域的专业术语。  \n\n# task  \n\n翻译解释一篇专业的技术文章成简体中文给本科生阅读，务必遵守原意，翻译时保持原始英文的段落结构，不要合并分段。\n\n# Rules\n\n- 翻译时要准确传达学术论文的事实和背景，同时风格上保持为通俗易懂并且严谨的科普文风格。\n\n- 保留特定的英文术语、数字或名字，并在其前后加上空格，例如：\"中 UN 文\"，\"不超过 10 秒\"。\n\n- 即使意译也要保留术语，例如 token、transformer、LLM、zero-shot 等。保留公司缩写，例如 Microsoft, Amazon 等。\n\n- 保留引用的论文，例如 [20] 这样的引用；同时也要保留针对图例的引用，例如保留 Figure 1 并翻译为图 1。\n\n- 输入格式为 Markdown 格式，输出格式也必须保留原始 Markdown 格式。- 翻译时全角括号换成半角括号，并在左括号前面加半角空格，右括号后面加半角空格。\n\n"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c5b73.user_input#}}",
                    "varZh": {
                      "input_c5b73.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 1107.194280093113,
            "y": 84.7835136533582
          },
          "selected": false
        },
        {
          "id": "llm_3fa0d",
          "data": {
            "v": 2,
            "id": "llm_3fa0d",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "中文教授意译初稿",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "# role\n\n你是一位资深中文教授，擅长按照中文使用习惯，撰写通俗易懂的科普文。  \n\n# task  \n\n对英语教授翻译的内容重新意译，遵守原意的前提下让内容更通俗易懂，符合中文表达习惯，但不要增加和删减内容，保持原始分段。\n\n"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "# 英文原文\n{{#input_c5b73.user_input#}}\n\n\n# 英文教授直译文  \n\n{{#llm_ebfb8.output#}}\n",
                    "varZh": {
                      "llm_ebfb8.output": "英文教授直译/output",
                      "input_c5b73.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 1574.4947033403798,
            "y": 85.49355402754313
          },
          "selected": false
        },
        {
          "id": "llm_834d3",
          "data": {
            "v": 2,
            "id": "llm_834d3",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "英文教授回译",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "# role \n\n你是一位资深英语教授，能精确的理解英文并用中文表达，同时也是一名熟悉神经科学、machine learning、deep learning、NLP和CV领域的教授，掌握这些领域的专业术语。  \n\n# task   \n\n将中文教授的中文意译稿反向翻译成英文回译稿。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "# 中文教授中文意译稿  \n{{#llm_3fa0d.output#}}\n",
                    "varZh": {
                      "llm_3fa0d.output": "中文教授意译初稿/output"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2030.102513363393,
            "y": 89.35591616008031
          },
          "selected": false
        },
        {
          "id": "llm_9ae96",
          "data": {
            "v": 2,
            "id": "llm_9ae96",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "审查编辑校对",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "# role \n\n你是一位资深出版编辑，精通中文和英文，擅长校对审查。\n\n你现在手上有3份文稿：\n\n- 英文原稿。  \n\n- 中文译稿。 \n\n- 英文回译稿（原稿翻译成中文后，重新回译成英文的回译稿）  \n\n# task  \n\n1. 通过对比【英文原稿】和【英文回译稿】的出入，便于找到中文译稿中不恰当的地方（重复以下列表，直到列出所有有出入并且需要修改译文的内容）： \n\n- 回译稿对比原文缺失或表达歧义部分[1...n]: \n\n- 原文：“{English}” \n\n- 回译文：“{English}”\n\n- 中文译文：“{译文}” \n\n- 建议：{译文修改建议}  \n\n2. 指出中文翻译表达不符合中文习惯的部分（重复以下列表，直到列出所有需要修改的内容）：  \n\n- 修改{1...n}:   \n\n- 原文：“{English}” \n\n- 译文：“{译文}”   \n\n- 建议：{译文修改建议}\n\n\n\n"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c5b73.user_input#}}# 英文原稿\n``````\n\n# 英文回译稿  \n```{{#llm_834d3.output#}}```\n# 中文译稿```{{#llm_3fa0d.output#}}```",
                    "varZh": {
                      "llm_3fa0d.output": "中文教授意译初稿/output",
                      "llm_834d3.output": "英文教授回译/output",
                      "input_c5b73.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2464.072445850047,
            "y": 90.30383209830156
          },
          "selected": true
        },
        {
          "id": "llm_414d9",
          "data": {
            "v": 2,
            "id": "llm_414d9",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "中文教授意译终稿",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "# role\n你是一位资深中文教授，擅长按照中文使用习惯，撰写通俗易懂的科普文。\n\n\n# task\n对照英文原文材料，在意译初稿的基础上，针对出版编辑的修改建议，翻译出意译终稿。\n\n\n\n\n\n\n"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "# 英文原文\n```{{#input_c5b73.user_input#}}```\n# 意译初稿\n```{{#llm_3fa0d.output#}}```\n# 出版编辑修改意见    \n```{{#llm_9ae96.output#}}```",
                    "varZh": {
                      "llm_3fa0d.output": "中文教授意译初稿/output",
                      "llm_9ae96.output": "审查编辑校对/output",
                      "input_c5b73.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2916.394693106114,
            "y": 97.6941646914677
          },
          "selected": false
        },
        {
          "id": "input_c5b73",
          "data": {
            "v": "3",
            "id": "input_c5b73",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "expand": false,
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 150
          },
          "position": {
            "x": 634.423952924182,
            "y": 85.4401521708546
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": -48.47172678094421,
        "y": 123.7367237461774,
        "zoom": 0.4280931573424512
      }
    },
    "order_num": 12435328,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 20:27:30",
    "parameters": null,
    "name": "基于产品知识库的 AI 营销文案生成 + 人类意见迭代",
    "description": "功能简介\n基于产品知识库，通过输入用户需求，经文本识别、拆分等处理，调用大模型生成营销文案，辅助高效产出贴合产品知识的推广内容 。\n使用说明\n在 “输入” 节点填用户需求，依次运行 “文本识别”“拆分” 等节点，配置各环节参数（如文本长度、模型选择），最后经大模型节点生成营销文案，在 “输出” 查看结果 。",
    "flow_id": "60338b009bb44d6d80086c2edeffcad9",
    "api_parameters": null,
    "create_time": "2026-02-05 20:27:30",
    "id": 362,
    "data": {
      "edges": [
        {
          "id": "xy-edge__output_204469212bf1c-end_ed5e5left_handle",
          "type": "customEdge",
          "source": "output_20446",
          "target": "end_ed5e5",
          "animated": true,
          "sourceHandle": "9212bf1c",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_2044664f4c390-output_84247left_handle",
          "type": "customEdge",
          "source": "output_20446",
          "target": "output_84247",
          "animated": true,
          "sourceHandle": "64f4c390",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_20bedright_handle-output_7d6b6left_handle",
          "type": "customEdge",
          "source": "rag_20bed",
          "target": "output_7d6b6",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_7d6b6right_handle-rag_2b974left_handle",
          "type": "customEdge",
          "source": "output_7d6b6",
          "target": "rag_2b974",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_2b974right_handle-output_20446left_handle",
          "type": "customEdge",
          "source": "rag_2b974",
          "target": "output_20446",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_84247right_handle-llm_c66feleft_handle",
          "type": "customEdge",
          "source": "output_84247",
          "target": "llm_c66fe",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_c66feright_handle-output_20446left_handle",
          "type": "customEdge",
          "source": "llm_c66fe",
          "target": "output_20446",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_d602dright_handle-input_60a99left_handle",
          "type": "customEdge",
          "source": "start_d602d",
          "target": "input_60a99",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_60a99right_handle-rag_20bedleft_handle",
          "type": "customEdge",
          "source": "input_60a99",
          "target": "rag_20bed",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_d602d",
          "data": {
            "v": 3,
            "id": "start_d602d",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "您好，我是 AI 营销文案助手，请输入您想要生成文案的主题。",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "452b35",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 711
          },
          "position": {
            "x": -42.66122923778269,
            "y": 241.06330242522972
          },
          "selected": false
        },
        {
          "id": "output_20446",
          "data": {
            "v": 2,
            "id": "output_20446",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "是否需要对以上营销文案进一步修改润色？",
                      "files": []
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "choose",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [
                      {
                        "id": "64f4c390",
                        "label": "是",
                        "value": ""
                      },
                      {
                        "id": "9212bf1c",
                        "label": "否",
                        "value": ""
                      }
                    ],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 622
          },
          "position": {
            "x": 2311.53466926792,
            "y": 197.65713275159808
          },
          "selected": false
        },
        {
          "id": "output_7d6b6",
          "data": {
            "v": 2,
            "id": "output_7d6b6",
            "name": "输出2",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "根据产品知识库的相关信息，我总结产品功能亮点如下，你可以直接在其基础上进行修改，接下来我会根据这些亮点生成营销文案。",
                      "files": []
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "input",
                      "value": "{{#rag_20bed.output_user_input#}}"
                    },
                    "varZh": {
                      "llm_07892.output": "大模型2/output",
                      "rag_20bed.output_user_input": "文档知识库问答/output_user_input"
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 615
          },
          "position": {
            "x": 1268.3128337196854,
            "y": 235.8165936047889
          },
          "selected": false
        },
        {
          "id": "end_ed5e5",
          "data": {
            "id": "end_ed5e5",
            "name": "结束",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2912.857796074366,
            "y": 1292.741328658892
          },
          "selected": false
        },
        {
          "id": "output_84247",
          "data": {
            "v": 2,
            "id": "output_84247",
            "name": "输出3",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "请输入您的润色建议：",
                      "files": []
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "input",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 615
          },
          "position": {
            "x": 2792.23765505673,
            "y": 179.75492008835002
          },
          "selected": false
        },
        {
          "id": "rag_20bed",
          "data": {
            "v": 3,
            "id": "rag_20bed",
            "name": "文档知识库问答",
            "type": "rag",
            "expand": true,
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "input_60a99.user_input"
                    ],
                    "varZh": {
                      "input_1936c.user_input": "输入/user_input",
                      "input_60a99.user_input": "输入/user_input"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "knowledge",
                      "value": [
                        {
                          "key": 1283,
                          "label": "毕昇文档知识库"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一个营销助手，专注于根据用户指令结合相关参考资料，提取关键信息和数据，帮助用户找到相关产品的功能和亮点，以便后续生成具有吸引力的营销文案。 ",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "# 用户需求\n{{#input_60a99.user_input#}}\n# 参考资料：\n{{#rag_20bed.retrieved_result#}}\n----\n\n产品功能亮点：",
                    "varZh": {
                      "input_60a99.user_input": "输入/user_input",
                      "rag_20bed.user_question": "user_question",
                      "rag_20bed.retrieved_result": "retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output_user_input",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_user_input",
                        "label": "output_user_input"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 1275
          },
          "position": {
            "x": 826.2000049926346,
            "y": 237.0998165893505
          },
          "selected": true
        },
        {
          "id": "rag_2b974",
          "data": {
            "v": 3,
            "id": "rag_2b974",
            "name": "文档知识库问答2",
            "type": "rag",
            "expand": false,
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "input_60a99.user_input"
                    ],
                    "varZh": {
                      "input_1936c.user_input": "输入/user_input",
                      "input_60a99.user_input": "输入/user_input"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "knowledge",
                      "value": [
                        {
                          "key": 1301,
                          "label": "毕昇产品文档"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一个具有多年资深经验的产品营销大师，专注于根据用户指令，结合相关参考资料，突出产品功能和亮点，生成富有创意、情感共鸣、具有吸引力的营销文案。",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "# 用户需求\n{{#input_60a99.user_input#}}\n# 参考资料\n{{#rag_2b974.retrieved_result#}}\n\n# 产品功能亮点\n{{#output_7d6b6.output_result#}}\n\n\n\n\n",
                    "varZh": {
                      "input_60a99.user_input": "输入/user_input",
                      "rag_2b974.user_question": "user_question",
                      "output_7d6b6.output_result": "输出2/output_result",
                      "rag_2b974.retrieved_result": "文档知识库问答2/retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output_user_input",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_user_input",
                        "label": "output_user_input"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 150
          },
          "position": {
            "x": 1733.012638288989,
            "y": 241.24634805976703
          },
          "selected": false
        },
        {
          "id": "llm_c66fe",
          "data": {
            "v": 2,
            "id": "llm_c66fe",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型",
            "type": "llm",
            "expand": true,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一个具有多年资深经验的产品营销大师，专注于根据用户部门修改建议，对原始营销文案进行修改润色，以帮助企业提升品牌知名度和销售业绩。 "
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "# 原文\n{{#rag_2b974.output_user_input#}}\n\n\n\n# 用户修改建议\n\n{{#output_84247.output_result#}}\n\n# 润色修改后文案\n\n\n\n\n\n\n",
                    "varZh": {
                      "output_84247.output_result": "输出3/output_result",
                      "rag_2b974.output_user_input": "文档知识库问答2/output_user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 833
          },
          "position": {
            "x": 3243.668406668528,
            "y": 182.05670813263373
          },
          "selected": false
        },
        {
          "id": "input_60a99",
          "data": {
            "v": "3",
            "id": "input_60a99",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 570
          },
          "position": {
            "x": 411.31336047282423,
            "y": 234.7627660417411
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": -933.842567126535,
        "y": -504.2152476262525,
        "zoom": 1.4199819732946106
      }
    },
    "order_num": 12500863,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 20:45:48",
    "parameters": null,
    "name": "分诊场景",
    "description": "该流程用于分诊场景，用户输入内容后，经大模型判断是否完整，通过条件分支决策，再由大模型生成科室，输出分诊结果，辅助高效分诊 。\n使用说明\n在 “输入” 节点填内容，选 “大模型 - 判断是否完整” 配置参数运行，根据分支结果，经 “大模型 - 推荐科室” 处理，最后在 “输出” 查看分诊结论 。",
    "flow_id": "7353cc101f434234bbee3a61eb17959d",
    "api_parameters": null,
    "create_time": "2026-02-05 20:45:48",
    "id": 364,
    "data": {
      "edges": [
        {
          "id": "xy-edge__condition_63775right_handle-output_15b82left_handle",
          "type": "customEdge",
          "source": "condition_63775",
          "target": "output_15b82",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_8bbeeright_handle-condition_63775left_handle",
          "type": "customEdge",
          "source": "llm_8bbee",
          "target": "condition_63775",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_637750eda50f7-llm_2cf38left_handle",
          "type": "customEdge",
          "source": "condition_63775",
          "target": "llm_2cf38",
          "animated": true,
          "sourceHandle": "0eda50f7",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_2cf38right_handle-end_1341eleft_handle",
          "type": "customEdge",
          "source": "llm_2cf38",
          "target": "end_1341e",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_68c76right_handle-input_85ed8left_handle",
          "type": "customEdge",
          "source": "start_68c76",
          "target": "input_85ed8",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_85ed8right_handle-llm_8bbeeleft_handle",
          "type": "customEdge",
          "source": "input_85ed8",
          "target": "llm_8bbee",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_15b82right_handle-input_85ed8left_handle",
          "type": "customEdge",
          "source": "output_15b82",
          "target": "input_85ed8",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_68c76",
          "data": {
            "v": 3,
            "id": "start_68c76",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "您好，请描述您的症状，并且提供您的性别、年龄信息。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ]
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "366504",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 711
          },
          "position": {
            "x": -283.54706809376773,
            "y": -86.40776212614759
          },
          "selected": false
        },
        {
          "id": "condition_63775",
          "data": {
            "id": "condition_63775",
            "name": "条件分支",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "0eda50f7",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "b78beaf9",
                            "left_var": "llm_8bbee.output",
                            "left_label": "output",
                            "right_label": "",
                            "right_value": "完整",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 545,
            "height": 347
          },
          "position": {
            "x": 1031.063648112229,
            "y": -84.34903331683131
          },
          "selected": false
        },
        {
          "id": "end_1341e",
          "data": {
            "id": "end_1341e",
            "name": "结束",
            "type": "end",
            "description": "工作流运行到此结束",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2099.286704970077,
            "y": -113.81885566422974
          },
          "selected": false
        },
        {
          "id": "output_15b82",
          "data": {
            "v": 2,
            "id": "output_15b82",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "{{#llm_8bbee.output#}}",
                      "files": []
                    },
                    "varZh": {
                      "llm_8bbee.output": "大模型-判断信息是否完整/output",
                      "llm_a46d8.output": "大模型/output"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 463
          },
          "position": {
            "x": 1681.5053754933697,
            "y": 244.61489030268024
          },
          "selected": false
        },
        {
          "id": "llm_8bbee",
          "data": {
            "v": 2,
            "id": "llm_8bbee",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-判断信息是否完整",
            "type": "llm",
            "expand": true,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "您是一名分诊医生。请判断以下用户提供的信息是否完整，需要包含性别、年龄、症状三项信息。若用户提供了完整信息则回复“信息完整”，若不完整则反问用户，让对方补充相应缺失的信息。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "你们的对话记录：\n\n```\n\n{{#start_68c76.chat_history#}}\n\n```\n\n你的回复：\n\n\n\n",
                    "varZh": {
                      "start_68c76.chat_history": "开始/chat_history"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 833
          },
          "position": {
            "x": 622.8451256124496,
            "y": -74.78472706554999
          },
          "selected": false
        },
        {
          "id": "llm_2cf38",
          "data": {
            "v": 2,
            "id": "llm_2cf38",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-推荐科室",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "1. 根据提供的性别、年龄和症状，判断患者应该去医院的哪个科室就诊。\n\n2. 首先，分析患者的性别和年龄，这可能会影响某些症状的严重性和可能的科室选择。\n\n3. 然后，仔细阅读并理解患者的症状，确定这些症状可能与哪些科室相关。\n\n4. 根据常见的医疗科室和其对应的症状，匹配患者的症状到最合适的科室。\n\n5. 输出结果时，只需提供科室名称，不要包含任何XML标签。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "完整的用户信息包含在以下聊天记录中：\n\n```\n\n{{#start_68c76.chat_history#}}\n\n```\n\n推荐科室：\n\n\n\n",
                    "varZh": {
                      "start_68c76.chat_history": "开始/chat_history"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 1686.1706694671357,
            "y": -81.72638198724074
          },
          "selected": false
        },
        {
          "id": "input_85ed8",
          "data": {
            "v": "3",
            "id": "input_85ed8",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 570
          },
          "position": {
            "x": 151.22647818562317,
            "y": -68.89763571499358
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": 208.5212914927622,
        "y": 177.1875221661041,
        "zoom": 0.499110403236339
      }
    },
    "order_num": 12631933,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 20:51:03",
    "parameters": null,
    "name": "工具调用",
    "description": "功能简介\n该流程用于内容处理，经输入、大模型处理、PMI 分析等环节，利用大模型完成任务，输出处理后的内容，支持单 / 批量运行，实现文本内容的智能化加工 。\n使用说明\n选择输入方式（对话 / 文件），配置大模型参数，设置 PMI 工具参数，确认各节点连接，点击 “运行”，流程自动执行，输出结果可查看调用大模型处理后的内容 。\n",
    "flow_id": "7d820dd5dbce46b4b38502af34d8fccb",
    "api_parameters": null,
    "create_time": "2026-02-05 20:51:03",
    "id": 366,
    "data": {
      "edges": [
        {
          "id": "xy-edge__tool_7a316right_handle-output_45121left_handle",
          "type": "customEdge",
          "source": "tool_7a316",
          "target": "output_45121",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_0c3fbright_handle-tool_7a316left_handle",
          "type": "customEdge",
          "source": "llm_0c3fb",
          "target": "tool_7a316",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_148e4right_handle-tool_7a316left_handle",
          "type": "customEdge",
          "source": "llm_148e4",
          "target": "tool_7a316",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_45121right_handle-llm_0fa85left_handle",
          "type": "customEdge",
          "source": "output_45121",
          "target": "llm_0fa85",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_3d920right_handle-input_4c88bleft_handle",
          "type": "customEdge",
          "source": "start_3d920",
          "target": "input_4c88b",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_4c88bright_handle-llm_0c3fbleft_handle",
          "type": "customEdge",
          "source": "input_4c88b",
          "target": "llm_0c3fb",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_4c88bright_handle-llm_148e4left_handle",
          "type": "customEdge",
          "source": "input_4c88b",
          "target": "llm_148e4",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_0fa85right_handle-input_4c88bleft_handle",
          "type": "customEdge",
          "source": "llm_0fa85",
          "target": "input_4c88b",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_3d920",
          "data": {
            "v": 3,
            "id": "start_3d920",
            "name": "开始",
            "type": "start",
            "expand": false,
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      "2024年上半年PMI变化情况",
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "4b91bc",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 293.65992364972067,
            "y": 74.81260064793756
          },
          "selected": false
        },
        {
          "id": "tool_7a316",
          "data": {
            "id": "tool_7a316",
            "name": "PMI",
            "type": "tool",
            "expand": true,
            "tool_key": "macro_china_pmi",
            "description": "中国 PMI （采购经理人指数）月度统计数据。返回数据包括：月份制造业 PMI，制造业 PMI 同比增长，非制造业 PMI，非制造业 PMI 同比增长。",
            "group_params": [
              {
                "name": "工具参数",
                "params": [
                  {
                    "key": "start_date",
                    "desc": "开始月份, 使用YYYY-MM-DD 方式表示",
                    "test": "input",
                    "type": "var_textarea",
                    "label": "start_date",
                    "value": "{{#llm_0c3fb.output#}}",
                    "varZh": {
                      "llm_0c3fb.output": "大模型-提取开始时间/output"
                    },
                    "required": true
                  },
                  {
                    "key": "end_date",
                    "desc": "结束月份, 使用YYYY-MM-DD 方式表示",
                    "test": "input",
                    "type": "var_textarea",
                    "label": "end_date",
                    "value": "{{#llm_148e4.output#}}",
                    "varZh": {
                      "llm_148e4.output": "大模型-提取结束时间/output"
                    },
                    "required": true
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": "",
                    "global": "key"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 602
          },
          "position": {
            "x": 1614.4895326144945,
            "y": 100
          },
          "selected": false
        },
        {
          "id": "output_45121",
          "data": {
            "v": 2,
            "id": "output_45121",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "{{#tool_7a316.output#}}",
                      "files": []
                    },
                    "varZh": {
                      "tool_7a316.output": "PMI/output",
                      "start_3d920.current_time": "开始/current_time"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 463
          },
          "position": {
            "x": 2032.2233877193396,
            "y": 115.19445604716492
          },
          "selected": false
        },
        {
          "id": "llm_0c3fb",
          "data": {
            "v": 2,
            "id": "llm_0c3fb",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-提取开始时间",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "从用户的输入中抽取出开始时间，格式：YYYY-MM-DD，仅输出时间，不要包含其他内容"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_4c88b.user_input#}}",
                    "varZh": {
                      "input_4c88b.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "true",
                    "type": "image_prompt",
                    "label": "true",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 1171.405788440929,
            "y": 76.59789148675313
          },
          "selected": false
        },
        {
          "id": "llm_148e4",
          "data": {
            "v": 2,
            "id": "llm_148e4",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-提取结束时间",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "从用户的输入中抽取出查询的结束时间，格式：YYYY-MM-DD，仅输出时间，不要包含其他内容"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_4c88b.user_input#}}",
                    "varZh": {
                      "input_4c88b.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "true",
                    "type": "image_prompt",
                    "label": "true",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 1175.5581100672648,
            "y": 267.4853845047534
          },
          "selected": true
        },
        {
          "id": "llm_0fa85",
          "data": {
            "v": 2,
            "id": "llm_0fa85",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型",
            "type": "llm",
            "expand": true,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一名宏观经济学家，请点评以下经济数据。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#tool_7a316.output#}}",
                    "varZh": {
                      "tool_7a316.output": "PMI/output"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "true",
                    "type": "image_prompt",
                    "label": "true",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 833
          },
          "position": {
            "x": 2457.846463360472,
            "y": 114.79561323887066
          },
          "selected": false
        },
        {
          "id": "input_4c88b",
          "data": {
            "v": "3",
            "id": "input_4c88b",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 570
          },
          "position": {
            "x": 754.2400379031777,
            "y": 74.30568610625028
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": -111.39676647009968,
        "y": -49.532665393166326,
        "zoom": 0.5427937339527105
      }
    },
    "order_num": 12763003,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 20:57:04",
    "parameters": null,
    "name": "智能简历筛选",
    "description": "上传简历文件触发筛选",
    "flow_id": "7576761af1ae4ea2b6f401b1e0953a57",
    "api_parameters": null,
    "create_time": "2026-02-05 20:57:04",
    "id": 367,
    "data": {
      "edges": [
        {
          "id": "xy-edge__condition_9afcb28a37878-llm_60dfcleft_handle",
          "type": "customEdge",
          "source": "condition_9afcb",
          "target": "llm_60dfc",
          "animated": true,
          "sourceHandle": "28a37878",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_60dfcright_handle-output_08e3dleft_handle",
          "type": "customEdge",
          "source": "llm_60dfc",
          "target": "output_08e3d",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_08e3dright_handle-end_ed827left_handle",
          "type": "customEdge",
          "source": "output_08e3d",
          "target": "end_ed827",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_025afright_handle-output_dc624left_handle",
          "type": "customEdge",
          "source": "llm_025af",
          "target": "output_dc624",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_dc624right_handle-end_ed827left_handle",
          "type": "customEdge",
          "source": "output_dc624",
          "target": "end_ed827",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_743b7right_handle-condition_9afcbleft_handle",
          "type": "customEdge",
          "source": "rag_743b7",
          "target": "condition_9afcb",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_9afcbright_handle-rag_6c446left_handle",
          "type": "customEdge",
          "source": "condition_9afcb",
          "target": "rag_6c446",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_6c446right_handle-llm_025afleft_handle",
          "type": "customEdge",
          "source": "rag_6c446",
          "target": "llm_025af",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_d0027right_handle-input_51222left_handle",
          "type": "customEdge",
          "source": "start_d0027",
          "target": "input_51222",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_51222right_handle-rag_743b7left_handle",
          "type": "customEdge",
          "source": "input_51222",
          "target": "rag_743b7",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_d0027",
          "data": {
            "v": 3,
            "id": "start_d0027",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "6e5db5",
                        "value": "需有AI领域从业经历或为计算机相关专业"
                      },
                      {
                        "key": "33572c",
                        "value": "该候选人总工作时长需要3年以上"
                      },
                      {
                        "key": "677ad0",
                        "value": "工作经验中不能有多段工作经历持续时长低于3个月"
                      },
                      {
                        "key": "622ff1",
                        "value": "会Python"
                      },
                      {
                        "key": "ce9333",
                        "value": "有大模型相关项目经验"
                      },
                      {
                        "key": "2b83e5",
                        "value": "30岁以下"
                      },
                      {
                        "key": "2a3382",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 879
          },
          "position": {
            "x": 183.82157147745,
            "y": 152.22958521319305
          },
          "selected": false
        },
        {
          "id": "condition_9afcb",
          "data": {
            "id": "condition_9afcb",
            "name": "条件分支",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "28a37878",
                        "operator": "or",
                        "conditions": [
                          {
                            "id": "475500db",
                            "left_var": "rag_743b7.output_preset_question_6e5db5",
                            "left_label": "判断候选人是否满足必要要求/output_需有AI领域从业经历或为计算机相关专业",
                            "right_label": "",
                            "right_value": "不满足",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          },
                          {
                            "id": "65e2732f",
                            "left_var": "rag_743b7.output_preset_question_33572c",
                            "left_label": "判断候选人是否满足必要要求/output_该候选人总工作时长需要3年以上",
                            "right_label": "",
                            "right_value": "不满足",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          },
                          {
                            "id": "316abb7b",
                            "left_var": "rag_743b7.output_preset_question_677ad0",
                            "left_label": "判断候选人是否满足必要要求/output_工作经验中不能有多段工作经历持续时长低于3个月",
                            "right_label": "",
                            "right_value": "不满足",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 562,
            "height": 419
          },
          "position": {
            "x": 1488.6523613323277,
            "y": 145.17597465560576
          },
          "selected": false
        },
        {
          "id": "llm_60dfc",
          "data": {
            "v": 2,
            "id": "llm_60dfc",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "总结未通过简历筛选原因",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "input",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "以下是某个候选人简历评估的结果。由于但凡有一项“不满足”则无法进入面试环节。请简要（50字以内）总结一下该候选人简历未通过筛选的原因。",
                    "varZh": {
                      "rag_49431.output_preset_question_0": "判断候选人是否满足必要条件/output_需有AI领域从业经历或为计算机相关专业"
                    }
                  },
                  {
                    "key": "user_prompt",
                    "test": "input",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "要求1满足情况：{{#rag_743b7.output_preset_question_6e5db5#}}要求2满足情况：{{#rag_743b7.output_preset_question_33572c#}}\n要求3满足情况：{{#rag_743b7.output_preset_question_677ad0#}}",
                    "varZh": {
                      "rag_49431.output_preset_question_1": "判断候选人是否满足必要要求/output_需要有5年及以上工作经验",
                      "rag_98e0c.output_preset_question_0": "判断候选人是否满足必要条件/output_需有AI领域从业经历或为计算机相关专业",
                      "rag_98e0c.output_preset_question_1": "判断候选人是否满足必要条件/output_需要有5年及以上工作经验",
                      "rag_98e0c.output_preset_question_2": "判断候选人是否满足必要条件/output_工作经验中不能有多段工作经历持续时长低于3个月",
                      "rag_743b7.output_preset_question_33572c": "判断候选人是否满足必要要求/output_该候选人总工作时长需要3年以上",
                      "rag_743b7.output_preset_question_677ad0": "判断候选人是否满足必要要求/output_工作经验中不能有多段工作经历持续时长低于3个月",
                      "rag_743b7.output_preset_question_6e5db5": "判断候选人是否满足必要要求/output_需有AI领域从业经历或为计算机相关专业"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "true",
                    "type": "image_prompt",
                    "label": "true",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2224.0533822371517,
            "y": 147.86184733909764
          },
          "selected": true
        },
        {
          "id": "output_08e3d",
          "data": {
            "v": 2,
            "id": "output_08e3d",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "简历筛选未通过。\n\n{{#llm_60dfc.output#}}",
                      "files": []
                    },
                    "varZh": {
                      "llm_60dfc.output": "总结未通过简历筛选原因/output"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 463
          },
          "position": {
            "x": 2625.826899106754,
            "y": 151.65379821350757
          },
          "selected": false
        },
        {
          "id": "end_ed827",
          "data": {
            "id": "end_ed827",
            "name": "结束",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 3462.9772003335,
            "y": 159.78541998491698
          },
          "selected": false
        },
        {
          "id": "llm_025af",
          "data": {
            "v": 2,
            "id": "llm_025af",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "加分项算分",
            "type": "llm",
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "input",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "以下是某个候选人简历评估中加分项的评估结果。每个“满足”加2分，每个“不满足”扣一分，“不确定”不加不减。输出最后的分数，仅输出数字即可。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "input",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "要求1满足情况：{{#rag_6c446.output_preset_question_622ff1#}}要求2满足情况：{{#rag_6c446.output_preset_question_ce9333#}}要求3满足情况：{{#rag_6c446.output_preset_question_2b83e5#}}",
                    "varZh": {
                      "rag_882f4.output_preset_question_3": "判断加分项/output_会Python",
                      "rag_882f4.output_preset_question_4": "判断加分项/output_有大模型相关项目经验",
                      "rag_882f4.output_preset_question_5": "判断加分项/output_30岁以下",
                      "rag_6c446.output_preset_question_2b83e5": "判断加分情况/output_30岁以下",
                      "rag_6c446.output_preset_question_622ff1": "判断加分情况/output_会Python",
                      "rag_6c446.output_preset_question_ce9333": "判断加分情况/output_有大模型相关项目经验"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "true",
                    "type": "image_prompt",
                    "label": "true",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 833
          },
          "position": {
            "x": 2630.260369780459,
            "y": 630.0457897653762
          },
          "selected": false
        },
        {
          "id": "output_dc624",
          "data": {
            "v": 2,
            "id": "output_dc624",
            "name": "输出2",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "该候选人得分：{{#llm_025af.output#}}",
                      "files": []
                    },
                    "varZh": {
                      "llm_025af.output": "加分项算分/output"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 463
          },
          "position": {
            "x": 3030,
            "y": 631.2632435428188
          },
          "selected": false
        },
        {
          "id": "rag_743b7",
          "data": {
            "v": 3,
            "id": "rag_743b7",
            "name": "判断候选人是否满足必要要求",
            "type": "rag",
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "start_d0027.preset_question#6e5db5",
                      "start_d0027.preset_question#33572c",
                      "start_d0027.preset_question#677ad0"
                    ],
                    "varZh": {
                      "start_d0027.preset_question#33572c": "开始/该候选人总工作时长需要3年以上",
                      "start_d0027.preset_question#677ad0": "开始/工作经验中不能有多段工作经历持续时长低于3个月",
                      "start_d0027.preset_question#6e5db5": "开始/需有AI领域从业经历或为计算机相关专业"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "tmp",
                      "value": [
                        {
                          "key": "input_51222.file",
                          "label": "file(简历)"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一名HR，需要你根据审核项对简历进行审核。审核结论输出符合以下要求：1、包含“本项审核结论”、“结论依据”两项内容。2、“本项审核结论”只输出“满足”、“不满足”或“不确定”3、“结论依据”即对输出该结论的解释，解释中不要包含“满足”、“不满足”或“不确定”字眼。",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "审核项：{{#rag_743b7.user_question#}}\n参考文本：{{#rag_743b7.retrieved_result#}}\n审核结果：",
                    "varZh": {
                      "rag_743b7.user_question": "user_question",
                      "rag_743b7.retrieved_result": "retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output_user_input",
                    "help": "模型输出内容将会存储在该变量中。",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_preset_question_6e5db5",
                        "label": "output_需有AI领域从业经历或为计算机相关专业"
                      },
                      {
                        "key": "output_preset_question_33572c",
                        "label": "output_该候选人总工作时长需要3年以上"
                      },
                      {
                        "key": "output_preset_question_677ad0",
                        "label": "output_工作经验中不能有多段工作经历持续时长低于3个月"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 1421
          },
          "position": {
            "x": 1046.492501246415,
            "y": 150.24255315187906
          },
          "selected": false
        },
        {
          "id": "rag_6c446",
          "data": {
            "v": 3,
            "id": "rag_6c446",
            "name": "判断加分情况",
            "type": "rag",
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "start_d0027.preset_question#622ff1",
                      "start_d0027.preset_question#ce9333",
                      "start_d0027.preset_question#2b83e5"
                    ],
                    "varZh": {
                      "start_d0027.preset_question#2b83e5": "开始/30岁以下",
                      "start_d0027.preset_question#622ff1": "开始/会Python",
                      "start_d0027.preset_question#ce9333": "开始/有大模型相关项目经验"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "tmp",
                      "value": [
                        {
                          "key": "input_51222.file",
                          "label": "file(简历)"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一名HR，需要你根据审核项对简历进行审核。审核结论输出符合以下要求：1、包含“本项审核结论”、“结论依据”两项内容。2、“本项审核结论”只输出“满足”、“不满足”或“不确定”3、“结论依据”即对输出该结论的解释，解释中不要包含“满足”、“不满足”或“不确定”字眼。",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户问题：{{#rag_6c446.user_question#}}\n参考文本：{{#rag_6c446.retrieved_result#}}\n你的回答：",
                    "varZh": {
                      "rag_6c446.user_question": "user_question",
                      "rag_6c446.retrieved_result": "retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output_user_input",
                    "help": "模型输出内容将会存储在该变量中。",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_preset_question_622ff1",
                        "label": "output_会Python"
                      },
                      {
                        "key": "output_preset_question_ce9333",
                        "label": "output_有大模型相关项目经验"
                      },
                      {
                        "key": "output_preset_question_2b83e5",
                        "label": "output_30岁以下"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 1389
          },
          "position": {
            "x": 2212.3843046432144,
            "y": 548.5147332426619
          },
          "selected": false
        },
        {
          "id": "input_51222",
          "data": {
            "v": "3",
            "id": "input_51222",
            "tab": {
              "value": "form_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "value": {},
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "value": {},
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [
                      {
                        "key": "file",
                        "type": "file",
                        "value": "简历",
                        "options": [],
                        "multiple": true,
                        "required": true,
                        "file_path": "",
                        "file_type": "all",
                        "image_file": "",
                        "file_content": "",
                        "file_parse_mode": "ingest_to_temp_kb",
                        "file_content_size": 15000
                      }
                    ],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 311
          },
          "position": {
            "x": 591.9687179846699,
            "y": 149.54936212710822
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": -638.4131557718965,
        "y": -49.3950076425578,
        "zoom": 0.5209290936198073
      }
    },
    "order_num": 12828538,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 21:24:46",
    "parameters": null,
    "name": "文章助手",
    "description": "功能简介\n这是 “文章助手” 工作流，用于文章创作优化。先通过输入明确创作需求，经条件分支判断是否需优化、是知识错误还是缺漏、哪种优化方向，调用大模型完成对应改写、纠错、补漏等操作，辅助产出高质量文章 。\n使用说明\n在 “输入” 节点填创作意图、内容方向，依次运行各节点。按条件分支逻辑，根据需求走 “改写优化”“检查错误 / 缺漏” 等分支，调用对应大模型工具，最终输出优化后的文章内容 。",
    "flow_id": "b483af499e4c49498adf963fdefa692a",
    "api_parameters": null,
    "create_time": "2026-02-05 21:24:46",
    "id": 373,
    "data": {
      "edges": [
        {
          "id": "xy-edge__condition_086c0f0af1112-condition_e4299left_handle",
          "type": "customEdge",
          "source": "condition_086c0",
          "target": "condition_e4299",
          "animated": true,
          "sourceHandle": "f0af1112",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_e4299172c7f82-llm_04f45left_handle",
          "type": "customEdge",
          "source": "condition_e4299",
          "target": "llm_04f45",
          "animated": true,
          "sourceHandle": "172c7f82",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_e4299right_handle-llm_0d11dleft_handle",
          "type": "customEdge",
          "source": "condition_e4299",
          "target": "llm_0d11d",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__flowNode_4325b172c7f82-llm_319a5left_handle",
          "type": "customEdge",
          "source": "flowNode_4325b",
          "target": "llm_319a5",
          "animated": true,
          "sourceHandle": "172c7f82",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__flowNode_4325b341a403c-llm_fcfd0left_handle",
          "type": "customEdge",
          "source": "flowNode_4325b",
          "target": "llm_fcfd0",
          "animated": true,
          "sourceHandle": "341a403c",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__flowNode_4325bright_handle-llm_9b7ableft_handle",
          "type": "customEdge",
          "source": "flowNode_4325b",
          "target": "llm_9b7ab",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_04f45right_handle-end_c54b8left_handle",
          "type": "customEdge",
          "source": "llm_04f45",
          "target": "end_c54b8",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_0d11dright_handle-end_d3a29left_handle",
          "type": "customEdge",
          "source": "llm_0d11d",
          "target": "end_d3a29",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_319a5right_handle-end_95a69left_handle",
          "type": "customEdge",
          "source": "llm_319a5",
          "target": "end_95a69",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_fcfd0right_handle-end_b740cleft_handle",
          "type": "customEdge",
          "source": "llm_fcfd0",
          "target": "end_b740c",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_9b7abright_handle-end_7a9d0left_handle",
          "type": "customEdge",
          "source": "llm_9b7ab",
          "target": "end_7a9d0",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_c0564right_handle-condition_086c0left_handle",
          "type": "customEdge",
          "source": "input_c0564",
          "target": "condition_086c0",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_68c76right_handle-input_c0564left_handle",
          "type": "customEdge",
          "source": "start_68c76",
          "target": "input_c0564",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_086c0right_handle-input_93a57left_handle",
          "type": "customEdge",
          "source": "condition_086c0",
          "target": "input_93a57",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_93a57right_handle-flowNode_4325bleft_handle",
          "type": "customEdge",
          "source": "input_93a57",
          "target": "flowNode_4325b",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_68c76",
          "data": {
            "v": 3,
            "id": "start_68c76",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "文章撰写助手。\n"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      ""
                    ]
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "fdf2f6",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 711
          },
          "position": {
            "x": -254.5074365009976,
            "y": -54.95034320067019
          },
          "selected": false
        },
        {
          "id": "condition_086c0",
          "data": {
            "id": "condition_086c0",
            "name": "条件分支-是否为优化改写",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "f0af1112",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "b5744201",
                            "left_var": "input_c0564.category",
                            "left_label": "输入/category",
                            "right_label": "",
                            "right_value": "改写优化",
                            "right_value_type": "input",
                            "comparison_operation": "not_contains"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 562,
            "height": 347
          },
          "position": {
            "x": 652.6065106681506,
            "y": -56.557347234989656
          },
          "selected": false
        },
        {
          "id": "condition_e4299",
          "data": {
            "id": "condition_e4299",
            "name": "条件分支-检查错误还是起标题",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "172c7f82",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "1a0126bd",
                            "left_var": "input_c0564.category",
                            "left_label": "输入/category",
                            "right_label": "",
                            "right_value": "检查错误",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 562,
            "height": 347
          },
          "position": {
            "x": 1403.6380617911316,
            "y": -53.541044883239984
          },
          "selected": false
        },
        {
          "id": "flowNode_4325b",
          "data": {
            "id": "flowNode_4325b",
            "name": "条件分支-哪种优化",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "172c7f82",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "1a0126bd",
                            "left_var": "input_93a57.category2",
                            "left_label": "选择优化方向/category2",
                            "right_label": "",
                            "right_value": "变长",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          }
                        ]
                      },
                      {
                        "id": "341a403c",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "887e9105",
                            "left_var": "input_93a57.category2",
                            "left_label": "选择优化方向/category2",
                            "right_label": "",
                            "right_value": "变短",
                            "right_value_type": "input",
                            "comparison_operation": "contains"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 562,
            "height": 463
          },
          "position": {
            "x": 1710.9835717741546,
            "y": 352.22981329527255
          },
          "selected": false
        },
        {
          "id": "llm_04f45",
          "data": {
            "v": 2,
            "id": "llm_04f45",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-检查错误",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是文章撰写专家，请检查以下文本中的错误，并一一列举出来"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c0564.text_input#}}",
                    "varZh": {
                      "input_c0564.a4089e": "输入/a4089e",
                      "input_c0564.text_input": "输入/text_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2357.376350158347,
            "y": -99.5882796942481
          },
          "selected": false
        },
        {
          "id": "llm_0d11d",
          "data": {
            "v": 2,
            "id": "llm_0d11d",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-起标题",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是文章撰写专家，请基于以下文本内容起一个标题"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c0564.text_input#}}",
                    "varZh": {
                      "input_93a57.category2": "选择优化方向/category2",
                      "input_c0564.text_input": "输入/text_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2366.37878639579,
            "y": 135.57804927695716
          },
          "selected": false
        },
        {
          "id": "llm_319a5",
          "data": {
            "v": 2,
            "id": "llm_319a5",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-变长",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是文章撰写专家，请将以下内容改写得更长。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c0564.text_input#}}",
                    "varZh": {
                      "input_c0564.text_input": "输入/text_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2364.2222119477274,
            "y": 311.77105431340004
          },
          "selected": false
        },
        {
          "id": "llm_fcfd0",
          "data": {
            "v": 2,
            "id": "llm_fcfd0",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-变短",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是文章撰写专家，请将以下内容改写得更短。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c0564.text_input#}}",
                    "varZh": {
                      "input_c0564.text_input": "输入/text_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2380.2587980739713,
            "y": 523.9445747167125
          },
          "selected": false
        },
        {
          "id": "llm_9b7ab",
          "data": {
            "v": 2,
            "id": "llm_9b7ab",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-讽刺口吻",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是文章撰写专家，请将以下内容用讽刺的口吻改写一遍。"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "{{#input_c0564.text_input#}}",
                    "varZh": {
                      "input_c0564.text_input": "输入/text_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2382.1177403285865,
            "y": 716.8035163539979
          },
          "selected": true
        },
        {
          "id": "end_c54b8",
          "data": {
            "id": "end_c54b8",
            "name": "结束",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2808.1668882050744,
            "y": -42.43221090899556
          },
          "selected": false
        },
        {
          "id": "end_d3a29",
          "data": {
            "id": "end_d3a29",
            "name": "结束2",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2814.629079906689,
            "y": 129.02998079261903
          },
          "selected": false
        },
        {
          "id": "end_95a69",
          "data": {
            "id": "end_95a69",
            "name": "结束3",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2807.319452039774,
            "y": 319.3509041526474
          },
          "selected": false
        },
        {
          "id": "end_b740c",
          "data": {
            "id": "end_b740c",
            "name": "结束4",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2790.9481643515182,
            "y": 514.5879452405269
          },
          "selected": false
        },
        {
          "id": "end_7a9d0",
          "data": {
            "id": "end_7a9d0",
            "name": "结束5",
            "type": "end",
            "description": "工作流运行到此结束。",
            "group_params": []
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 134
          },
          "position": {
            "x": 2805.2370410878793,
            "y": 703.8147945606022
          },
          "selected": false
        },
        {
          "id": "input_c0564",
          "data": {
            "v": "3",
            "id": "input_c0564",
            "tab": {
              "value": "form_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [
                      {
                        "key": "category",
                        "type": "select",
                        "value": "帮您做什么",
                        "options": [
                          {
                            "id": "55078e1a",
                            "text": "检查错误",
                            "type": ""
                          },
                          {
                            "id": "314f10d4",
                            "text": "改写优化",
                            "type": ""
                          },
                          {
                            "id": "beea95fb",
                            "text": "起一个标题",
                            "type": ""
                          }
                        ],
                        "multiple": false,
                        "required": true,
                        "file_path": "file_path",
                        "file_type": "all",
                        "image_file": "image_file",
                        "file_content": "file_content",
                        "file_parse_mode": "extract_text",
                        "file_content_size": 15000
                      },
                      {
                        "key": "text_input",
                        "type": "text",
                        "value": "需要改写的内容\n\n",
                        "options": [],
                        "multiple": false,
                        "required": true,
                        "file_path": "file_path",
                        "file_type": "all",
                        "image_file": "image_file",
                        "file_content": "file_content",
                        "file_parse_mode": "extract_text",
                        "file_content_size": 15000
                      }
                    ],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 356
          },
          "position": {
            "x": 210.10966500379396,
            "y": -57.43844277479269
          },
          "selected": false
        },
        {
          "id": "input_93a57",
          "data": {
            "v": "3",
            "id": "input_93a57",
            "tab": {
              "value": "form_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "选择优化方向",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [
                      {
                        "key": "category2",
                        "type": "select",
                        "value": "需要优化的方向",
                        "options": [
                          {
                            "id": "1df7e6d8",
                            "text": "变长",
                            "type": ""
                          },
                          {
                            "id": "e8ce5e3e",
                            "text": "变短",
                            "type": ""
                          },
                          {
                            "id": "723fa2e1",
                            "text": "改成讽刺口吻",
                            "type": ""
                          }
                        ],
                        "multiple": false,
                        "required": true,
                        "file_path": "file_path",
                        "file_type": "all",
                        "image_file": "image_file",
                        "file_content": "file_content",
                        "file_parse_mode": "extract_text",
                        "file_content_size": 15000
                      }
                    ],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 311
          },
          "position": {
            "x": 1301.034049020076,
            "y": 362.6108337624355
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": 168.41000286983763,
        "y": 188.33690890750776,
        "zoom": 0.39845595187329674
      }
    },
    "order_num": 13221748,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 21:29:08",
    "parameters": null,
    "name": "大模型竞技场 ",
    "description": "功能简介 这是 “大模型竞技场” 工作流，支持 “对话框 / 表单” 2 种输入形式，调用 gpt40mini、混元、qwen 2.5 三个大模型并行处理任务，最后通过 “输出 2” 节点，以无交互、选择型交互或输入型交互方式，反馈模型处理结果 。\n使用说明\n在 “输入” 节点选交互形式（对话框 / 表单），填入内容、上传文件（可选），运行流程。三个大模型会同时处理输入，完成后在 “输出 2” 节点，根据需求选交互类型，查看 / 使用模型输出结果 。",
    "flow_id": "fba9c65151184d629348219f05a70e27",
    "api_parameters": null,
    "create_time": "2026-02-05 21:29:08",
    "id": 374,
    "data": {
      "edges": [
        {
          "id": "xy-edge__start_68c76right_handle-input_ac896left_handle",
          "type": "customEdge",
          "source": "start_68c76",
          "target": "input_ac896",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_ac896right_handle-llm_1c15aleft_handle",
          "type": "customEdge",
          "source": "input_ac896",
          "target": "llm_1c15a",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_ac896right_handle-llm_0bbf3left_handle",
          "type": "customEdge",
          "source": "input_ac896",
          "target": "llm_0bbf3",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_ac896right_handle-llm_5b4ebleft_handle",
          "type": "customEdge",
          "source": "input_ac896",
          "target": "llm_5b4eb",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_1c15aright_handle-output_074afleft_handle",
          "type": "customEdge",
          "source": "llm_1c15a",
          "target": "output_074af",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_0bbf3right_handle-output_074afleft_handle",
          "type": "customEdge",
          "source": "llm_0bbf3",
          "target": "output_074af",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__llm_5b4ebright_handle-output_074afleft_handle",
          "type": "customEdge",
          "source": "llm_5b4eb",
          "target": "output_074af",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_074afright_handle-input_ac896left_handle",
          "type": "customEdge",
          "source": "output_074af",
          "target": "input_ac896",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_68c76",
          "data": {
            "v": 3,
            "id": "start_68c76",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "大模型竞技场"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      "你是谁~",
                      ""
                    ]
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "18b2f7",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 753
          },
          "position": {
            "x": -182.1450323475628,
            "y": -13.21802815370333
          },
          "selected": false
        },
        {
          "id": "llm_1c15a",
          "data": {
            "v": 2,
            "id": "llm_1c15a",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-gpt4omini ",
            "type": "llm",
            "expand": true,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "友好的助手"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户：{{#input_ac896.user_input#}}你的回复：",
                    "varZh": {
                      "input_ac896.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 836
          },
          "position": {
            "x": 660.2576202218669,
            "y": -7.589292442416962
          },
          "selected": false
        },
        {
          "id": "llm_0bbf3",
          "data": {
            "v": 2,
            "id": "llm_0bbf3",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-混元",
            "type": "llm",
            "expand": false,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "友好的助手"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户：{{#input_ac896.user_input#}}你的回复：",
                    "varZh": {
                      "input_ac896.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 135
          },
          "position": {
            "x": 663.5982291778208,
            "y": 160.9498553634532
          },
          "selected": false
        },
        {
          "id": "llm_5b4eb",
          "data": {
            "v": 2,
            "id": "llm_5b4eb",
            "tab": {
              "value": "single",
              "options": [
                {
                  "key": "single",
                  "label": "单次运行"
                },
                {
                  "key": "batch",
                  "label": "批量运行"
                }
              ]
            },
            "name": "大模型-qwen 2.5",
            "type": "llm",
            "expand": true,
            "description": "调用大模型回答用户问题或者处理任务。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "batch_variable",
                    "tab": "batch",
                    "help": "选择需要批处理的变量，将会多次运行本节点，每次运行时从选择的变量中取一项赋值给batch_variable进行处理。",
                    "type": "user_question",
                    "label": "批处理变量",
                    "value": [],
                    "global": "self",
                    "linkage": "output",
                    "required": true,
                    "placeholder": "请选择批处理变量"
                  }
                ]
              },
              {
                "name": "模型设置",
                "params": [
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "提示词",
                "params": [
                  {
                    "key": "system_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "友好的助手"
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户：{{#input_ac896.user_input#}}你的回复：",
                    "varZh": {
                      "input_ac896.user_input": "输入/user_input"
                    },
                    "required": true
                  },
                  {
                    "key": "image_prompt",
                    "help": "当使用多模态大模型时，可通过此功能传入图片，结合图像内容进行问答",
                    "type": "image_prompt",
                    "label": "视觉",
                    "value": []
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景可开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": false
                  },
                  {
                    "key": "output",
                    "type": "var",
                    "label": "输出变量",
                    "value": [],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 836
          },
          "position": {
            "x": 666.4815464404269,
            "y": 386.324186907184
          },
          "selected": false
        },
        {
          "id": "input_ac896",
          "data": {
            "v": "3",
            "id": "input_ac896",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 572
          },
          "position": {
            "x": 241.1814647549988,
            "y": -10.967656001848963
          },
          "selected": false
        },
        {
          "id": "output_074af",
          "data": {
            "v": "2",
            "id": "output_074af",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送文本和文件，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "true",
                    "value": {
                      "msg": "\n# GPT-4o-mini  \n{{#llm_1c15a.output#}}\n\n\n# 混元  \n{{#llm_0bbf3.output#}}  \n\n\n# 千问  \n{{#llm_5b4eb.output#}}  \n\n\n\n",
                      "files": []
                    },
                    "varZh": {
                      "llm_0bbf3.output": "大模型-混元/output",
                      "llm_1c15a.output": "大模型-gpt4omini/output",
                      "llm_5b4eb.output": "大模型-qwen 2.5/output"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 465
          },
          "position": {
            "x": 1116.4196010933445,
            "y": -4.140951751970215
          },
          "selected": true
        }
      ],
      "viewport": {
        "x": -397.1989979664372,
        "y": 59.476134021867665,
        "zoom": 1.0694829253528593
      }
    },
    "order_num": 13287283,
    "guide_word": null,
    "flow_type": 10
  },
  {
    "update_time": "2026-02-05 21:44:36",
    "parameters": null,
    "name": "先检索 QA 后检索文档知识库问答",
    "description": "功能简介\n这是 “先检索 QA 后检索文档知识” 工作流，通过 “开始” 引导对话，“输入” 模块采集用户内容，先经 “QA 知识检索” 查问答库，无结果则触发 “文档知识问答” 补充回答，保障信息覆盖。\n使用说明\n在 “开始” 填引导语、示例问题；“输入” 选录入方式，设置文件参数。\n运行流程，优先用 “QA 知识检索” 查问答库；无结果自动走 “文档知识问答”。\n测试无误后点 “上线”，即可接入业务，接收用户提问并智能回答 。",
    "flow_id": "6445ac25c5c0433091df2827963a762e",
    "api_parameters": null,
    "create_time": "2026-02-05 21:44:36",
    "id": 376,
    "data": {
      "edges": [
        {
          "id": "xy-edge__condition_6c26160b32025-output_bf694left_handle",
          "type": "customEdge",
          "source": "condition_6c261",
          "target": "output_bf694",
          "animated": true,
          "sourceHandle": "60b32025",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__condition_6c261right_handle-rag_01223left_handle",
          "type": "customEdge",
          "source": "condition_6c261",
          "target": "rag_01223",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__qa_retriever_3bb15right_handle-condition_6c261left_handle",
          "type": "customEdge",
          "source": "qa_retriever_3bb15",
          "target": "condition_6c261",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__start_d8f27right_handle-input_46939left_handle",
          "type": "customEdge",
          "source": "start_d8f27",
          "target": "input_46939",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__input_46939right_handle-qa_retriever_3bb15left_handle",
          "type": "customEdge",
          "source": "input_46939",
          "target": "qa_retriever_3bb15",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__output_bf694right_handle-input_46939left_handle",
          "type": "customEdge",
          "source": "output_bf694",
          "target": "input_46939",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        },
        {
          "id": "xy-edge__rag_01223right_handle-input_46939left_handle",
          "type": "customEdge",
          "source": "rag_01223",
          "target": "input_46939",
          "animated": true,
          "sourceHandle": "right_handle",
          "targetHandle": "left_handle"
        }
      ],
      "nodes": [
        {
          "id": "start_d8f27",
          "data": {
            "v": 3,
            "id": "start_d8f27",
            "name": "开始",
            "type": "start",
            "description": "工作流运行的起始节点。",
            "group_params": [
              {
                "name": "开场引导",
                "params": [
                  {
                    "key": "guide_word",
                    "type": "textarea",
                    "label": "开场白",
                    "value": "先检索QA库中是否有类似问答，如果没有找到答案则进行文档知识库问答",
                    "placeholder": "每次工作流开始执行时向用户发送此消息，支持 Markdown 格式，为空时不发送。"
                  },
                  {
                    "key": "guide_question",
                    "help": "为用户提供推荐问题，引导用户输入，超过3个时将随机选取3个。",
                    "type": "input_list",
                    "label": "引导问题",
                    "value": [
                      "毕昇是什么？",
                      "大模型应用开发平台有哪些？",
                      ""
                    ],
                    "placeholder": "请输入引导问题"
                  }
                ]
              },
              {
                "name": "全局变量",
                "params": [
                  {
                    "key": "user_info",
                    "type": "var",
                    "label": "true",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "current_time",
                    "type": "var",
                    "label": "当前时间",
                    "value": "",
                    "global": "key"
                  },
                  {
                    "key": "chat_history",
                    "type": "chat_history_num",
                    "value": 10,
                    "global": "key"
                  },
                  {
                    "key": "preset_question",
                    "help": "适合文档审核、报告生成等场景，利用提前预置的问题批量进行 RAG 问答。",
                    "type": "input_list",
                    "label": "预置问题列表",
                    "value": [
                      {
                        "key": "0023a4",
                        "value": ""
                      }
                    ],
                    "global": "item:input_list",
                    "placeholder": "输入批量预置问题"
                  },
                  {
                    "key": "custom_variables",
                    "help": "true",
                    "type": "global_var",
                    "label": "true",
                    "value": [],
                    "global": "item:input_list"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 793
          },
          "position": {
            "x": -322.001475694825,
            "y": -74.5314588248279
          },
          "selected": false
        },
        {
          "id": "condition_6c261",
          "data": {
            "id": "condition_6c261",
            "name": "条件分支",
            "type": "condition",
            "description": "根据条件表达式执行不同的分支。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "condition",
                    "type": "condition",
                    "label": "",
                    "value": [
                      {
                        "id": "60b32025",
                        "operator": "and",
                        "conditions": [
                          {
                            "id": "37b199ff",
                            "left_var": "qa_retriever_3bb15.retrieved_result",
                            "left_label": "retrieved_result",
                            "right_label": "",
                            "right_value": "",
                            "right_value_type": "input",
                            "comparison_operation": "is_not_empty"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 322,
            "height": 348
          },
          "position": {
            "x": 1041.11058653272,
            "y": -61.43751998557724
          },
          "selected": false
        },
        {
          "id": "output_bf694",
          "data": {
            "v": 2,
            "id": "output_bf694",
            "name": "输出",
            "type": "output",
            "description": "可向用户发送消息，并且支持进行更丰富的交互，例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。",
            "group_params": [
              {
                "params": [
                  {
                    "key": "message",
                    "type": "var_textarea_file",
                    "label": "消息内容",
                    "value": {
                      "msg": "{{#qa_retriever_3bb15.retrieved_result#}}",
                      "files": []
                    },
                    "varZh": {
                      "qa_retriever_12db4.retrieved_result": "QA知识库检索2/retrieved_result",
                      "qa_retriever_3bb15.retrieved_result": "QA知识库检索/retrieved_result",
                      "qa_retriever_913d3.retrieval_result": "QA知识库检索/retrieval_result"
                    },
                    "global": "key",
                    "required": true,
                    "placeholder": "输入需要发送给用户的消息，例如“接下来我将执行 XX 操作，请您确认”，“以下是我的初版草稿，您可以在其基础上进行修改”"
                  },
                  {
                    "key": "output_result",
                    "type": "output_form",
                    "label": "用户输入内容",
                    "value": {
                      "type": "",
                      "value": ""
                    },
                    "global": "value.type=input",
                    "options": [],
                    "required": false
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 465
          },
          "position": {
            "x": 1615.0030925136334,
            "y": -284.24496879143226
          },
          "selected": false
        },
        {
          "id": "rag_01223",
          "data": {
            "v": 3,
            "id": "rag_01223",
            "name": "文档知识库问答",
            "type": "rag",
            "expand": true,
            "description": "根据用户问题从知识库中检索相关内容，结合检索结果调用大模型生成最终结果，支持多个问题并行执行。",
            "group_params": [
              {
                "name": "知识库检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "help": "当选择多个问题时，将会多次运行本节点，每次运行时从批量问题中取一项进行处理。",
                    "test": "var",
                    "type": "user_question",
                    "label": "用户问题",
                    "value": [
                      "input_46939.user_input"
                    ],
                    "varZh": {
                      "input_46939.user_input": "输入/user_input",
                      "input_eb5c4.user_input": "输入/user_input"
                    },
                    "global": "self=user_prompt",
                    "linkage": "output_user_input",
                    "required": true,
                    "placeholder": "请选择用户问题"
                  },
                  {
                    "key": "knowledge",
                    "type": "knowledge_select_multi",
                    "label": "检索范围",
                    "value": {
                      "type": "knowledge",
                      "value": [
                        {
                          "key": 2941,
                          "label": "230 release知识库回归"
                        }
                      ]
                    },
                    "required": true,
                    "placeholder": "请选择知识库"
                  },
                  {
                    "key": "metadata_filter",
                    "type": "metadata_filter",
                    "label": "true",
                    "value": {
                      "enabled": false
                    }
                  },
                  {
                    "key": "advanced_retrieval_switch",
                    "type": "search_switch",
                    "label": "true",
                    "value": {
                      "user_auth": false,
                      "rerank_flag": false,
                      "rerank_model": "",
                      "search_switch": true,
                      "vector_weight": 0.5,
                      "keyword_weight": 0.5,
                      "max_chunk_size": 15000
                    }
                  },
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "global": "self=user_prompt"
                  }
                ]
              },
              {
                "name": "AI回复生成设置",
                "params": [
                  {
                    "key": "system_prompt",
                    "type": "var_textarea",
                    "label": "系统提示词",
                    "value": "你是一个知识库问答助手： \n1.用中文回答用户问题，并且答案要严谨专业。\n2.你需要依据【参考文本】中的内容来回答，当【参考文本】中有明确与用户问题相关的内容时才进行回答，不可根据自己的知识来回答。\n3.由于【参考文本】可能包含多个来自不同信息源的信息，所以根据这些不同的信息源可能得出有差异甚至冲突的答案，当发现这种情况时，这些答案都列举出来；如果没有冲突或差异，则只需要给出一个最终结果。\n4.若【参考文本】中内容与用户问题不相关则回复“没有找到相关内容”。",
                    "required": true
                  },
                  {
                    "key": "user_prompt",
                    "test": "var",
                    "type": "var_textarea",
                    "label": "用户提示词",
                    "value": "用户问题：{{#rag_01223.user_question#}}\n参考文本：{{#rag_01223.retrieved_result#}}\n你的回答：",
                    "varZh": {
                      "rag_01223.user_question": "user_question",
                      "rag_01223.retrieved_result": "retrieved_result"
                    },
                    "required": true
                  },
                  {
                    "key": "model_id",
                    "type": "bisheng_model",
                    "label": "模型",
                    "value": 261,
                    "required": true,
                    "placeholder": "请选择模型"
                  },
                  {
                    "key": "temperature",
                    "step": 0.1,
                    "type": "slide",
                    "label": "温度",
                    "scope": [
                      0,
                      2
                    ],
                    "value": 0.7
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "output_user",
                    "help": "一般在问答等场景开启，文档审核、报告生成等场景可关闭。",
                    "type": "switch",
                    "label": "将输出结果展示在会话中",
                    "value": true
                  },
                  {
                    "key": "output_user_input",
                    "type": "var",
                    "label": "输出变量",
                    "value": [
                      {
                        "key": "output_user_input",
                        "label": "output_user_input"
                      }
                    ],
                    "global": "code:value.map(el => ({ label: el.label, value: el.key }))"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 1278
          },
          "position": {
            "x": 1640.164090703263,
            "y": 286.0127309008938
          },
          "selected": false
        },
        {
          "id": "qa_retriever_3bb15",
          "data": {
            "id": "qa_retriever_3bb15",
            "name": "QA知识库检索",
            "type": "qa_retriever",
            "expand": true,
            "description": "从 QA 知识库中检索问题以及对应的答案。",
            "group_params": [
              {
                "name": "检索设置",
                "params": [
                  {
                    "key": "user_question",
                    "test": "var",
                    "type": "var_select",
                    "label": "输入变量",
                    "value": "input_46939.user_input",
                    "varZh": {
                      "input_46939.user_input": "输入/user_input",
                      "input_eb5c4.user_input": "输入/user_input"
                    },
                    "required": true,
                    "placeholder": "请选择检索问题"
                  },
                  {
                    "key": "qa_knowledge_id",
                    "type": "qa_select_multi",
                    "label": "QA知识库",
                    "value": [
                      {
                        "key": 1175,
                        "label": "毕昇 QA 知识库"
                      }
                    ],
                    "required": true,
                    "placeholder": "请选择QA知识库"
                  },
                  {
                    "key": "score",
                    "help": "低于阈值的结果将会被过滤。",
                    "step": 0.01,
                    "type": "slide",
                    "label": "相似度阈值",
                    "scope": [
                      0.01,
                      0.99
                    ],
                    "value": 0.9
                  }
                ]
              },
              {
                "name": "输出",
                "params": [
                  {
                    "key": "retrieved_result",
                    "type": "var",
                    "label": "检索结果",
                    "value": "",
                    "global": "key"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 497
          },
          "position": {
            "x": 573.66669672053,
            "y": -60.24872646754291
          },
          "selected": false
        },
        {
          "id": "input_46939",
          "data": {
            "v": "3",
            "id": "input_46939",
            "tab": {
              "value": "dialog_input",
              "options": [
                {
                  "key": "dialog_input",
                  "help": "true",
                  "label": "true"
                },
                {
                  "key": "form_input",
                  "help": "true",
                  "label": "true"
                }
              ]
            },
            "name": "输入",
            "type": "input",
            "description": "接收用户在会话页面的输入，支持 2 种形式：对话框输入，表单输入。",
            "group_params": [
              {
                "name": "接收文本",
                "params": [
                  {
                    "key": "user_input",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ]
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "user_input_file",
                    "tab": "dialog_input",
                    "value": true,
                    "groupTitle": true
                  },
                  {
                    "key": "file_parse_mode",
                    "tab": "dialog_input",
                    "type": "select_parsemode",
                    "value": "extract_text"
                  },
                  {
                    "key": "dialog_files_content",
                    "tab": "dialog_input",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_files_content_size",
                    "min": 0,
                    "tab": "dialog_input",
                    "type": "char_number",
                    "label": "true",
                    "value": 15000
                  },
                  {
                    "key": "dialog_file_accept",
                    "tab": "dialog_input",
                    "type": "select_fileaccept",
                    "label": "true",
                    "value": "all"
                  },
                  {
                    "key": "dialog_image_files",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  },
                  {
                    "key": "dialog_file_paths",
                    "tab": "dialog_input",
                    "help": "true",
                    "type": "var",
                    "label": "true",
                    "global": "key"
                  }
                ],
                "groupKey": "inputfile"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "recommended_questions_flag",
                    "tab": "dialog_input",
                    "help": "true",
                    "label": "true",
                    "value": false,
                    "hidden": "true",
                    "groupTitle": true
                  },
                  {
                    "key": "recommended_llm",
                    "tab": "dialog_input",
                    "type": "bisheng_model",
                    "label": "true",
                    "value": 261,
                    "required": true,
                    "placeholder": "true"
                  },
                  {
                    "key": "recommended_system_prompt",
                    "tab": "dialog_input",
                    "type": "var_textarea",
                    "label": "true",
                    "value": "# Role\n你是一个极具洞察力的\"对话延续预测专家\"。你的任务是根据当前的对话历史，预测用户接下来最有可能输入的 3 条短语或问题。\n\n# Context Awareness\n在生成预测前，请执行以下深度思考步骤：\n1. **意图分析**：用户当前是在寻求事实、表达情绪、请求建议，还是在尝试结束对话？\n2. **逻辑推演**：根据 AI 上一条回复的内容，用户最自然产生的联想或疑问是什么？\n3. **风格对齐**：观察用户的用词习惯（专业、随性、简短还是详细），预测结果需保持语气一致。\n\n# Goals\n- **多样性**：提供不同方向的后续（例如：一个深入探究的问题，一个相关的新话题，一个反馈性评价）。\n- **简洁性**：预测内容应短小精悍，通常不超过 15 个字，方便用户点击。\n- **前瞻性**：能够预判用户的\"痛点\"，直接提供解决方案的入口。\n\n# Output Format\n请严格遵守 JSON 格式输出。\n返回一个包含单一键名 \"suggestions\" 的 JSON 对象。\n- 所有字符串必须使用**双引号**。\n- 不要输出 Markdown 代码块标记（如 ```json），直接输出 JSON 字符串。\n**示例：**\n{\"suggestions\": [\"你能举个例子吗？\", \"这个方案的成本是多少？\", \"听起来不错，怎么开始？\"]}",
                    "required": true
                  },
                  {
                    "key": "recommended_history_num",
                    "tab": "dialog_input",
                    "help": "true",
                    "step": 1,
                    "type": "slide",
                    "label": "true",
                    "scope": [
                      1,
                      10
                    ],
                    "value": 2
                  }
                ],
                "groupKey": "custom"
              },
              {
                "name": "",
                "params": [
                  {
                    "key": "form_input",
                    "tab": "form_input",
                    "type": "form",
                    "label": "true",
                    "value": [],
                    "global": "item:form_input"
                  }
                ]
              }
            ]
          },
          "type": "flowNode",
          "dragging": false,
          "measured": {
            "width": 334,
            "height": 572
          },
          "position": {
            "x": 143.54412024155707,
            "y": -86.67644166492184
          },
          "selected": false
        }
      ],
      "viewport": {
        "x": 596.1815863554245,
        "y": 166.1856841363313,
        "zoom": 0.4404147755670133
      }
    },
    "order_num": 13418353,
    "guide_word": null,
    "flow_type": 10
  }
]