app:
  description: 用 Wikipedia 工具查主題，再整理成好讀的速覽卡。
  icon: 📚
  icon_background: '#FCE9F1'
  icon_type: emoji
  mode: workflow
  name: 主題速覽卡產生器
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/anthropic:0.3.24@c5e50da8c13c7ac75348df5ac75b9418c79736eb506064669dd7ca06cbd83537
    version: null
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/wikipedia:0.0.8@c9f3723fc727af0e1e69e3a085badf0b6b1b8b27be941b03244ddb5ebc991b1f
    version: null
kind: app
version: 0.6.0
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      allowed_file_extensions:
      - .JPG
      allowed_file_types:
      - image
      allowed_file_upload_methods:
      - local_file
      enabled: false
      fileUploadConfig:
        attachment_image_file_size_limit: 2
        audio_file_size_limit: 50
        batch_count_limit: 5
        file_size_limit: 15
        file_upload_limit: 20
        image_file_batch_limit: 10
        image_file_size_limit: 10
        single_chunk_attachment_limit: 10
        video_file_size_limit: 100
        workflow_file_upload_limit: 10
      image:
        enabled: false
        number_limits: 3
        transfer_methods:
        - local_file
      number_limits: 3
    opening_statement: ''
    retriever_resource:
      enabled: true
    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
        isInLoop: false
        sourceType: start
        targetType: tool
      id: 24s-24tool
      source: 24s
      sourceHandle: source
      target: 24tool
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: tool
        targetType: llm
      id: 24tool-24l
      source: 24tool
      sourceHandle: source
      target: 24l
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: end
      id: 24l-24e
      source: 24l
      sourceHandle: source
      target: 24e
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        selected: false
        title: 開始
        type: start
        variables:
        - default: ''
          hint: ''
          label: 要調查的主題
          max_length: 120
          options: []
          placeholder: 例：固態電池、碳權交易、精實生產
          required: true
          type: text-input
          variable: topic
        - default: ''
          hint: ''
          label: 想切入的角度
          max_length: 120
          options: []
          placeholder: 例：對製造業的影響
          required: false
          type: text-input
          variable: angle
      height: 120
      id: 24s
      position:
        x: 60
        y: 282
      positionAbsolute:
        x: 60
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        provider_id: langgenius/wikipedia/wikipedia
        provider_name: langgenius/wikipedia/wikipedia
        provider_type: builtin
        selected: false
        title: Wikipedia 查詢
        tool_configurations: {}
        tool_label: WikipediaSearch
        tool_name: wikipedia_search
        tool_node_version: '2'
        tool_parameters:
          language:
            type: constant
            value: en
          query:
            type: mixed
            value: '{{#24s.topic#}}'
        type: tool
      height: 120
      id: 24tool
      position:
        x: 360
        y: 282
      positionAbsolute:
        x: 360
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        context:
          enabled: false
          variable_selector: []
        model:
          completion_params:
            temperature: 0.3
          mode: chat
          name: claude-sonnet-5
          provider: langgenius/anthropic/anthropic
        prompt_template:
        - id: s24l
          role: system
          text: '你是研究助理。下方是系統用 Wikipedia 工具查到的『{{#24s.topic#}}』百科資料，請整理成一張好讀的『主題速覽卡』，一律使用繁體中文與
            Markdown：

            ## {{#24s.topic#}}

            ## 一句話定義

            ## 重點速覽（3-5 條）

            ## 關鍵概念/名詞

            ## 切入觀點

            （依使用者關注的角度『{{#24s.angle#}}』延伸；若未填則給一般性重點）


            規則：只根據查到的百科內容整理，不要杜撰；資料若不足以回答某段就註明『資料未涵蓋』。若原文為簡體，請一律改寫成台灣用語的繁體中文。


            【Wikipedia 資料】

            {{#24tool.text#}}'
        - id: u24l
          role: user
          text: 請整理這個主題的速覽卡。
        selected: false
        title: LLM
        type: llm
        vision:
          enabled: false
      height: 98
      id: 24l
      position:
        x: 660
        y: 282
      positionAbsolute:
        x: 660
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        outputs:
        - value_selector:
          - 24l
          - text
          value_type: string
          variable: card
        selected: false
        title: 輸出
        type: end
      height: 110
      id: 24e
      position:
        x: 960
        y: 282
      positionAbsolute:
        x: 960
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    viewport:
      x: 20
      y: 40
      zoom: 0.85
  rag_pipeline_variables: []
