app:
  description: ''
  icon: skull_and_crossbones
  icon_background: '#FFEAD5'
  mode: advanced-chat
  name: boom
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: package
  value:
    plugin_unique_identifier: qin2dim/oai_compatible_edition:0.0.7@0669da7018f93c7a135425c684e6cc88552a36ae72c8f349b05687575d330e6e
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/openai_api_compatible:0.0.7@f20c7275bbcf055ec5d170dd5128e341986e2dcba5266d08fd080d4bdf2288f6
kind: app
version: 0.1.5
workflow:
  conversation_variables: []
  environment_variables: []
  features:
    file_upload:
      allowed_file_extensions: []
      allowed_file_types:
      - audio
      - image
      - document
      allowed_file_upload_methods:
      - remote_url
      - local_file
      enabled: true
      fileUploadConfig:
        audio_file_size_limit: 5000
        batch_count_limit: 5
        file_size_limit: 1000
        image_file_size_limit: 80
        video_file_size_limit: 10000
        workflow_file_upload_limit: 1000
      image:
        enabled: false
        number_limits: 3
        transfer_methods:
        - local_file
        - remote_url
      number_limits: 1
    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: llm
        targetType: answer
      id: 1741865313763-source-answer-target
      selected: false
      source: '1741865313763'
      sourceHandle: source
      target: answer
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: start
        targetType: if-else
      id: 1741852608176-source-1741908028087-target
      source: '1741852608176'
      sourceHandle: source
      target: '1741908028087'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: if-else
        targetType: llm
      id: 1741908028087-false-1741908079535-target
      source: '1741908028087'
      sourceHandle: 'false'
      target: '1741908079535'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: answer
      id: 1741908079535-source-1741908081750-target
      source: '1741908079535'
      sourceHandle: source
      target: '1741908081750'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: if-else
        targetType: llm
      id: 1741908028087-true-1741865313763-target
      selected: false
      source: '1741908028087'
      sourceHandle: 'true'
      target: '1741865313763'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: ''
        selected: false
        title: 开始
        type: start
        variables: []
      height: 54
      id: '1741852608176'
      position:
        x: 30
        y: 263
      positionAbsolute:
        x: 30
        y: 263
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        answer: '{{#1741865313763.text#}}'
        desc: ''
        selected: false
        title: 直接回复
        type: answer
        variables: []
      height: 105
      id: answer
      position:
        x: 942
        y: 408
      positionAbsolute:
        x: 942
        y: 408
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: 第一轮先传音频文件，由这个节点应答。无需处理音频，仅需存在。
        memory:
          query_prompt_template: '{{#sys.query#}}

            '
          role_prefix:
            assistant: ''
            user: ''
          window:
            enabled: false
            size: 50
        model:
          completion_params:
            max_tokens: 16384
            temperature: 0.6
          mode: chat
          name: Qwen/QwQ-32B
          provider: langgenius/openai_api_compatible/openai_api_compatible
        prompt_template:
        - id: cfbd6613-d461-4a3e-92e0-80e8cf921203
          role: system
          text: ''
        retry_config:
          max_retries: 3
          retry_enabled: false
          retry_interval: 1000
        selected: false
        title: PROVIDER-1
        type: llm
        variables: []
        vision:
          enabled: false
      height: 134
      id: '1741865313763'
      position:
        x: 638
        y: 408
      positionAbsolute:
        x: 638
        y: 408
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        cases:
        - case_id: 'true'
          conditions:
          - comparison_operator: not empty
            id: 1c0e59ed-560f-4687-b0f0-6c49710039fc
            value: ''
            varType: array[file]
            variable_selector:
            - sys
            - files
          id: 'true'
          logical_operator: and
        desc: ''
        selected: false
        title: 条件分支 2
        type: if-else
      height: 126
      id: '1741908028087'
      position:
        x: 334
        y: 263
      positionAbsolute:
        x: 334
        y: 263
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: 第二轮正常对话，这个节点的预处理非常慢
        memory:
          query_prompt_template: '{{#sys.query#}}'
          role_prefix:
            assistant: ''
            user: ''
          window:
            enabled: false
            size: 50
        model:
          completion_params:
            max_tokens: 16384
            temperature: 0.6
          mode: chat
          name: Qwen/QwQ-32B
          provider: qin2dim/oai_compatible_edition/openai_api_compatible
        prompt_template:
        - id: 83c5a4a9-1fac-4160-871d-de5d397495d5
          role: system
          text: ''
        selected: false
        title: PROVIDER-2
        type: llm
        variables: []
        vision:
          enabled: false
      height: 134
      id: '1741908079535'
      position:
        x: 638
        y: 263
      positionAbsolute:
        x: 638
        y: 263
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    - data:
        answer: '{{#1741908079535.text#}}'
        desc: ''
        selected: false
        title: 直接回复
        type: answer
        variables: []
      height: 105
      id: '1741908081750'
      position:
        x: 942
        y: 263
      positionAbsolute:
        x: 942
        y: 263
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 244
    viewport:
      x: 131.7119424204775
      y: 49.80797422225751
      zoom: 1.0610015965572788
