app:
  description: 把當班零散數據自動彙整成格式一致的生產日報。
  icon: 🏭
  icon_background: '#E0F2FE'
  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
kind: app
version: 0.6.0
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:
        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
        - remote_url
      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: llm
      id: 12s-12l
      source: 12s
      sourceHandle: source
      target: 12l
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: end
      id: 12l-12e
      source: 12l
      sourceHandle: source
      target: 12e
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        selected: false
        title: 開始
        type: start
        variables:
        - default: ''
          hint: ''
          label: 班別
          max_length: 48
          options: []
          placeholder: 例：2026/07/03 早班 A 線
          required: true
          type: text-input
          variable: shift
        - default: ''
          hint: ''
          label: 當班原始數據
          options: []
          placeholder: 貼上產量、稼動、不良、停機、人力等流水資料
          required: true
          type: paragraph
          variable: raw
      height: 135
      id: 12s
      position:
        x: 80
        y: 282
      positionAbsolute:
        x: 80
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - 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: sys-12l
          role: system
          text: '你是製造現場的生產管理幕僚。使用者會提供某一班別的零散原始數據，請你彙整成一份格式固定、主管一眼就能看懂的『生產日報』，一律使用繁體中文與
            Markdown。


            輸出格式：

            ## 生產日報 — {{#12s.shift#}}

            ### 一、產出與稼動

            （用表格列出：計畫產量、實際產量、達成率、稼動率）

            ### 二、品質

            （不良數、不良率、主要不良原因 Top3）

            ### 三、異常與停機

            （停機事件、時長、原因、對策；若無則寫「無」）

            ### 四、明日交班重點

            （3 條以內的具體提醒）


            原始數據如下：

            {{#12s.raw#}}


            缺漏的欄位以「—」表示，不要捏造數字。'
        - id: usr-12l
          role: user
          text: 請產生本班生產日報。
        selected: false
        title: LLM
        type: llm
        vision:
          enabled: false
      height: 88
      id: 12l
      position:
        x: 382
        y: 282
      positionAbsolute:
        x: 382
        y: 282
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        outputs:
        - value_selector:
          - 12l
          - text
          value_type: string
          variable: report
        selected: false
        title: 輸出
        type: end
      height: 88
      id: 12e
      position:
        x: 684
        y: 282
      positionAbsolute:
        x: 684
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    viewport:
      x: -328.5
      y: 156.59999999999997
      zoom: 0.9
  rag_pipeline_variables: []
