💻 源码
app:
  description: 关于电商问题的回答
  icon: 🤖
  icon_background: '#FFEAD5'
  icon_type: emoji
  mode: workflow
  name: 智能客服_工作流版
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/tongyi:0.2.1@0924de1d15a8a35b0cc64ff396c68d5edddcfbc495a1e52ea57e8648434eff4b
    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: knowledge-retrieval
        targetType: llm
      id: 1781947189055-source-1781947225521-target
      source: '1781947189055'
      sourceHandle: source
      target: '1781947225521'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: end
      id: 1781947225521-source-1781947349868-target
      source: '1781947225521'
      sourceHandle: source
      target: '1781947349868'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInLoop: false
        sourceType: start
        targetType: knowledge-retrieval
      id: 1781947013952-source-1781947189055-target
      source: '1781947013952'
      sourceHandle: source
      target: '1781947189055'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        selected: false
        title: 用户输入
        type: start
        variables:
        - default: ''
          hint: ''
          label: answer
          max_length: 256
          options: []
          placeholder: ''
          required: true
          type: text-input
          variable: answer
      height: 108
      id: '1781947013952'
      position:
        x: 320
        y: 279
      positionAbsolute:
        x: 320
        y: 279
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 242
    - data:
        dataset_ids:
        - DtAQOQNwHgBLJWqmzbQr2ekDuLhCjkft7iAYw94eN8OUw77felSjSu5YF1rY6VF7
        multiple_retrieval_config:
          reranking_enable: true
          reranking_mode: reranking_model
          reranking_model:
            model: gte-rerank-v2
            provider: langgenius/tongyi/tongyi
          top_k: 4
        query_attachment_selector: []
        query_variable_selector:
        - '1781947013952'
        - answer
        retrieval_mode: multiple
        selected: false
        title: 知识检索
        type: knowledge-retrieval
      height: 89
      id: '1781947189055'
      position:
        x: 683
        y: 282
      positionAbsolute:
        x: 683
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 241
    - data:
        context:
          enabled: true
          variable_selector:
          - '1781947189055'
          - result
        model:
          completion_params:
            temperature: 0.7
          mode: chat
          name: qwen3.7-max
          provider: langgenius/tongyi/tongyi
        prompt_template:
        - id: ceaf9e98-84a9-4a9a-89c4-cf7c4083c4f0
          role: system
          text: 你是一个润色小助手,将用户输入的问题和知识库检索的内容进行整合润色后进行输出,要求输出的内容格式符合电商平台客服回复标准。
        - id: 8dc6d54e-4485-41ce-adfb-197d7f8ade56
          role: user
          text: '{{#1781947013952.answer#}}{{#context#}}'
        reasoning_format: separated
        selected: false
        structured_output_enabled: true
        title: 润色检索的结果
        type: llm
        vision:
          enabled: false
      height: 87
      id: '1781947225521'
      position:
        x: 984
        y: 282
      positionAbsolute:
        x: 984
        y: 282
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 241
    - data:
        outputs:
        - value_selector:
          - '1781947225521'
          - text
          value_type: string
          variable: text
        selected: false
        title: 输出
        type: end
      height: 87
      id: '1781947349868'
      position:
        x: 1285
        y: 282
      positionAbsolute:
        x: 1285
        y: 282
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 241
    viewport:
      x: -335.9999999999998
      y: 52.50000000000006
      zoom: 0.9999999999999999
  rag_pipeline_variables: []