app:
  description: 新闻标签
  icon: ✉️
  icon_background: '#E0F2FE'
  mode: workflow
  name: 电源信息结构化-DeepseekV3
  use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
  type: marketplace
  value:
    marketplace_plugin_unique_identifier: langgenius/volcengine_maas:0.0.10@ba0a7fc3151e89bf8645cd3abb3ccff971ee59e5b1127efca50b092dbb93bf80
kind: app
version: 0.1.5
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:
        audio_file_size_limit: 50
        batch_count_limit: 5
        file_size_limit: 15
        image_file_size_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: false
    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
        sourceType: start
        targetType: llm
      id: 1727233123593-source-1732778846154-target
      selected: false
      source: '1727233123593'
      sourceHandle: source
      target: '1732778846154'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: llm
        targetType: code
      id: 1732778846154-source-1748241838331-target
      source: '1732778846154'
      sourceHandle: source
      target: '1748241838331'
      targetHandle: target
      type: custom
      zIndex: 0
    - data:
        isInIteration: false
        isInLoop: false
        sourceType: code
        targetType: end
      id: 1748241838331-source-1727235861736-target
      source: '1748241838331'
      sourceHandle: source
      target: '1727235861736'
      targetHandle: target
      type: custom
      zIndex: 0
    nodes:
    - data:
        desc: "{\n  \"msg_info\": \"DeryckWhibley坚称他'不是骗子',前经理否认了性胁迫指控\",\n  \"sys.files\"\
          : [],\n  \"sys.user_id\": \"sl_backend_twitter\"\n}"
        selected: false
        title: 开始
        type: start
        variables:
        - label: msg_info
          max_length: 2000
          options: []
          required: true
          type: paragraph
          variable: msg_info
      height: 197
      id: '1727233123593'
      position:
        x: -36.369609408540725
        y: 274.1424650967822
      positionAbsolute:
        x: -36.369609408540725
        y: 274.1424650967822
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        desc: ''
        outputs:
        - value_selector:
          - '1748241838331'
          - result
          variable: result
        selected: false
        title: 结束
        type: end
      height: 89
      id: '1727235861736'
      position:
        x: 1192.3926665576485
        y: 328.2744664355823
      positionAbsolute:
        x: 1192.3926665576485
        y: 328.2744664355823
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        context:
          enabled: false
          variable_selector: []
        desc: ''
        model:
          completion_params:
            top_p: 0.7
          mode: chat
          name: deepseek-v3-250324
          provider: langgenius/volcengine_maas/volcengine_maas
        prompt_template:
        - id: ff06405d-dfb9-40ca-987a-c24fd3cfd6fb
          role: system
          text: "```xml\n<instruction>\n你是一个专业的数据筛选总结归纳者,请根据提供的文本内容,按照以下结构化格式进行总结归纳,并输出为JSON格式。具体要求如下:\n\
            \n1. 严格按照以下7个分类进行归纳:\n   a. 插头样式与电压(包含插头类型、电压)\n   b. 主要通信运营商(列出所有运营商及联系方式)\n\
            \   c. 网络类型支持(包含4G/5G覆盖范围及频段信息)\n   d. 移动通信制式(明确4G/5G)\n   e. 国际电话拨打规则(包含双向拨打格式)\n\
            \   f. 中国国际漫游使用(运营商合作信息)\n   g. 总结建议(给出实用建议)\n\n2. 处理规则:\n   - 对原文明确的信息直接提取\n\
            \   - 对未提及的信息标注\"未提及\"\n   - 主要通信运营商联系电话号码未提及无需处理,直接不显示\n\n3. 输出格式要求:\n\
            \   - 使用标准JSON数组格式\n   - 每个分类作为独立对象\n   - 对象包含\"key\"和\"value\"字段\n  \
            \ - value字段使用数组格式存储多条信息\n\n4. 特别注意事项:\n   - 不得修改原文数据\n   - 保持数值和单位的完整性\n\
            \   - 中英文标点使用要规范\n   - 不要包含任何XML标签\n   - 缺失信息需明确标注\n\n5. 操作步骤:\n   - \
            \ 将\"网络类型支持\"中的4G覆盖范围、5G覆盖范围分别总结为独立条目\n   - 将\"移动通信制式\"中的4G、5G分别总结为独立条目\n\
            \   - 将\"总结建议\"中的电力适配、通信选择、网络使用、资费提示、通话建议、漫游提醒分别总结为独立条目\n</instruction>\n\
            \n<examples>\n示例1:\n输入:\"该国使用G型插头,电压标准为230V。主要运营商有A公司(12345)和B公司(67890)。4G覆盖主要城市。\"\
            \n输出:\n[\n  {\n    \"key\": \"插头样式与电压\",\n    \"value\": [\"插头类型:G型三脚插头\"\
            , \"电压:230V\"]\n  },\n  {\n    \"key\": \"主要通信运营商\",\n    \"value\": [\"\
            A公司:12345\", \"B公司:67890\"]\n  },\n  {\n    \"key\": \"网络类型支持\",\n   \
            \ \"value\": [\"4G覆盖范围:主要城市\", \"5G覆盖范围:未提及\", \"频段:未提及\"]\n  }\n]"
        - id: 9f485eef-bc41-4f14-b8dd-9d507b6a8d3d
          role: user
          text: '{{#1727233123593.msg_info#}}'
        selected: true
        title: LLM
        type: llm
        variables: []
        vision:
          enabled: false
      height: 89
      id: '1732778846154'
      position:
        x: 349.0335068458452
        y: 328.2744664355823
      positionAbsolute:
        x: 349.0335068458452
        y: 328.2744664355823
      selected: true
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    - data:
        code: "def main(text: str) -> dict:\n    json_part = text.replace(\"```json\"\
          , \"\").replace(\"```\", \"\").replace('\\\\n', '').strip().replace('\\\\\
          ','')\n    data = json.loads(json_part)\n    return {\n        \"result\"\
          : data,\n    }"
        code_language: python3
        desc: ''
        outputs:
          result:
            children: null
            type: array[object]
        selected: false
        title: 代码执行
        type: code
        variables:
        - value_selector:
          - '1732778846154'
          - text
          variable: text
      height: 53
      id: '1748241838331'
      position:
        x: 734.3330920867545
        y: 328.2744664355823
      positionAbsolute:
        x: 734.3330920867545
        y: 328.2744664355823
      selected: false
      sourcePosition: right
      targetPosition: left
      type: custom
      width: 243
    viewport:
      x: 225.5621639208738
      y: 319.1090901244189
      zoom: 0.7085935817233538