✍️

科普文章作者(嵌套并行)

暂无描述

⬡ 16 节点 ↓ 7 下载 ⚙ advanced-chat ⭐ 85/100 2026-05-28

工作流图谱

YAML 源码

app:
  description: ''
  icon: ✍️
  icon_background: '#FFEAD5'
  mode: advanced-chat
  name: 科普文章作者(嵌套并行)
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/openai:0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6
kind: app
version: 0.1.5
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      allowed_file_extensions:
      - .JPG
      - .JPEG
      - .PNG
      - .GIF
      - .WEBP
      - .SVG
      allowed_file_types:
      - image
      allowed_file_upload_methods:
      - local_file
      - remote_url
      enabled: false
      fileUploadConfig:
        audio_file_size_limit: 50
        batch_count_limit: 5
        file_size_limit: 15
        image_file_size_limit: 10
        video_file_size_limit: 100
        workflow_file_upload_limit: 10
      image:
        enabled: false
        number_limits: 3
        transfer_methods:
        - local_file
        - remote_url
      number_limits: 3
    opening_statement: ''
    retriever_resource:
      enabled: false
    sensitive_word_avoidance:
      enabled: false
    speech_to_text:
      enabled: false
    suggested_questions: []
    suggested_questions_after_answer:
      enabled: false
    text_to_speech:
      enabled: false
      language: ''
      voice: ''
  graph:
    edges:
    - data:
        isInIteration: false
        sourceType: llm
        targetType: tool
      id: 1724743284784-source-1724729837516-target
      selected: false
      source: '1724743284784'
      sourceHandle: source
      target: '1724729837516'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: tool
        targetType: llm
      id: 1724729837516-source-1724750759528-target
      selected: false
      source: '1724729837516'
      sourceHandle: source
      target: '1724750759528'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: llm
      id: 17247515556590-source-1724765507405-target
      selected: false
      source: '17247515556590'
      sourceHandle: source
      target: '1724765507405'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: tool
      id: 1724765507405-source-1724766063131-target
      selected: false
      source: '1724765507405'
      sourceHandle: source
      target: '1724766063131'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: tool
        targetType: answer
      id: 1724766063131-source-1724752250590-target
      selected: false
      source: '1724766063131'
      sourceHandle: source
      target: '1724752250590'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: llm
      id: 1724750759528-source-1724766700191-target
      selected: false
      source: '1724750759528'
      sourceHandle: source
      target: '1724766700191'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: answer
      id: 1724766700191-source-1724752250590-target
      selected: false
      source: '1724766700191'
      sourceHandle: source
      target: '1724752250590'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: llm
      id: 1724743284784-source-1724924800278-target
      selected: false
      source: '1724743284784'
      sourceHandle: source
      target: '1724924800278'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: parameter-extractor
      id: 1724924800278-source-1724925821012-target
      selected: false
      source: '1724924800278'
      sourceHandle: source
      target: '1724925821012'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: parameter-extractor
        targetType: tool
      id: 1724925821012-source-1724925966029-target
      selected: false
      source: '1724925821012'
      sourceHandle: source
      target: '1724925966029'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: tool
        targetType: llm
      id: 1724925966029-source-1724926011843-target
      selected: false
      source: '1724925966029'
      sourceHandle: source
      target: '1724926011843'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: answer
      id: 1724926011843-source-1724752250590-target
      selected: false
      source: '1724926011843'
      sourceHandle: source
      target: '1724752250590'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: start
        targetType: question-classifier
      id: 1724727524982-source-1724927400256-target
      selected: false
      source: '1724727524982'
      sourceHandle: source
      target: '1724927400256'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: question-classifier
        targetType: llm
      id: 1724927400256-1-1724743284784-target
      selected: false
      source: '1724927400256'
      sourceHandle: '1'
      target: '1724743284784'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: question-classifier
        targetType: llm
      id: 1724927400256-1-17247515556590-target
      selected: false
      source: '1724927400256'
      sourceHandle: '1'
      target: '17247515556590'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: question-classifier
        targetType: llm
      id: 1724927400256-2-1724927639466-target
      selected: false
      source: '1724927400256'
      sourceHandle: '2'
      target: '1724927639466'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        sourceType: llm
        targetType: answer
      id: 1724927639466-source-1724927780214-target
      selected: false
      source: '1724927639466'
      sourceHandle: source
      target: '1724927780214'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: ''
        selected: false
        title: 开始
        type: start
        variables: []
      height: 54
      id: '1724727524982'
      position:
        x: 30
        y: 324
      positionAbsolute:
        x: 30
        y: 324
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        desc: ''
        provider_id: serper
        provider_name: serper
        provider_type: builtin
        selected: false
        title: Serper
        tool_configurations: {}
        tool_label: Serper
        tool_name: serper
        tool_parameters:
          query:
            type: mixed
            value: '{{#1724743284784.text#}}'
        type: tool
      height: 54
      id: '1724729837516'
      position:
        x: 955.8711169944238
        y: 506.119699397325
      positionAbsolute:
        x: 955.8711169944238
        y: 506.119699397325
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: gpt-4o-mini
          provider: langgenius/openai/openai
        prompt_template:
        - id: b35e06ed-f87d-4722-95d7-66b67e979c83
          role: system
          text: '你需要从用户的查询中提取主要主题,并将其转化为一个搜索引擎查询。目标是找到关于该主题的常规信息、概念、介绍、定义或解释。

            以下是用户的查询: <user_query> {{#sys.query#}}</user_query>

            你的任务是分析这个查询并提取其核心主题或内容。然后,你应当将其转化为简明的搜索引擎查询,以帮助找到关于该主题的常规信息。

            按照以下步骤操作:

            仔细阅读并理解用户的查询。

            确定查询的主要主题或内容。这可能是一个概念、人物、事件或现象,用户正在询问的。

            去除不必要的细节或上下文,这些对于理解核心主题来说并不重要。

            形成一个简短、清晰的英文搜索查询,重点关注主要主题,并且该查询有可能返回有关此主题的常规信息、定义或解释。

            搜索查询的指南:

            关注与主要主题相关的名词和关键词。

            避免使用人称代词、冠词和不必要的词语。

            请以以下格式用英语提供你的回答: <search_query>Write down the search engine queries you
            have formed.</search_query> '
        selected: false
        title: 提取主题
        type: llm
        variables: []
        vision:
          configs:
            detail: high
          enabled: true
      height: 96
      id: '1724743284784'
      position:
        x: 619.4285714285714
        y: 506.119699397325
      positionAbsolute:
        x: 619.4285714285714
        y: 506.119699397325
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: gpt-4o-mini
          provider: langgenius/openai/openai
        prompt_template:
        - id: 85cb236f-91f8-4629-ab7c-7b3db9ca6c4d
          role: system
          text: '你的角色:你是 百晓生- 世上最好的研究和解释代理。


            你的工作:以各种可能的方式以用户提问的语言解释{{#sys.query#}},使其易于理解。


            您的动机:让学习者对他需要理解的每个{{#sys.query#}}给予“啊哈”时刻。 你可以通过解释事物的艺术来做到这一点。


            学习者简介: 学习者什么都不知道! 他完全是个初学者。 他只听得懂简单的语言,没有行话和繁重的语...(过长已截断)