app:
  description: 站在我方立場快速標示合約風險與建議修改方向。
  icon: ⚖️
  icon_background: '#E2E8F0'
  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
      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: 18s-18l
      source: 18s
      sourceHandle: source
      target: 18l
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: end
      id: 18l-18e
      source: 18l
      sourceHandle: source
      target: 18e
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        selected: false
        title: 開始
        type: start
        variables:
        - default: ''
          hint: ''
          label: 我方立場
          max_length: 40
          options: []
          placeholder: 例：乙方（受託／供應方）
          required: true
          type: text-input
          variable: stance
        - default: ''
          hint: ''
          label: 合約條文
          options: []
          placeholder: 貼上要審閱的合約條款（可整份或片段）
          required: true
          type: paragraph
          variable: contract
      height: 135
      id: 18s
      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.2
          mode: chat
          name: claude-sonnet-5
          provider: langgenius/anthropic/anthropic
        prompt_template:
        - id: s18l
          role: system
          text: '你是企業法務助理，協助非法律背景的同仁快速看懂合約風險。站在我方立場審閱條文，一律使用繁體中文與 Markdown。

            我方立場：{{#18s.stance#}}


            合約條文：

            {{#18s.contract#}}


            輸出格式：

            ## 風險總覽

            （用表格：條款重點｜風險等級 高/中/低｜對我方的影響）

            ## 對我方不利的條款

            （逐條指出，說明為什麼不利，並給『建議修改方向』）

            ## 可能缺漏的條款

            （如保密、責任上限、不可抗力、準據法與管轄，若缺漏則提醒補上）

            ## 摘要建議

            （3 點以內：簽署前最該爭取或釐清的事項）


            規則：只根據提供的條文分析，不虛構條款編號或內容；語氣中立務實。

            > ⚠️ 免責聲明：本分析由 AI 產生，僅供內部初步參考，不構成法律意見，正式簽署前請經專業律師審閱。'
        - id: u18l
          role: user
          text: 請開始審閱這份合約。
        selected: false
        title: LLM
        type: llm
        vision:
          enabled: false
      height: 88
      id: 18l
      position:
        x: 382
        y: 282
      positionAbsolute:
        x: 382
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        outputs:
        - value_selector:
          - 18l
          - text
          value_type: string
          variable: review
        selected: false
        title: 輸出
        type: end
      height: 88
      id: 18e
      position:
        x: 684
        y: 282
      positionAbsolute:
        x: 684
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    viewport:
      x: -288.25
      y: 172.90000000000003
      zoom: 0.85
  rag_pipeline_variables: []
