dify2: test-image



app: description: '' icon: 🤖 icon_background: '#FFEAD5' icon_type: emoji mode: workflow name: test-image use_icon_as_answer_icon: false dependencies: - current_identifier: null type: marketplace value: marketplace_plugin_unique_identifier: langgenius/siliconflow:0.0.59@8f02741bb210eac68b68263c1cbede0e0637f2d1ad082895906e03253461729c version: null kind: app version: 0.7.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: 1786675417039-source-1786675540559-target source: '1786675417039' sourceHandle: source target: '1786675540559' targetHandle: target type: custom zIndex: 0 - data: isInIteration: false isInLoop: false sourceType: llm targetType: end id: 1786675540559--1786675691092-target source: '1786675540559' sourceHandle: source target: '1786675691092' targetHandle: target type: custom zIndex: 0 nodes: - data: selected: false title: 用户输入 type: start variables: - allowed_file_extensions: [] allowed_file_types: - image allowed_file_upload_methods: - local_file - remote_url default: '' hide: false hint: '' label: 车票 options: [] placeholder: '' required: true type: file variable: image height: 109 id: '1786675417039' position: x: 1335 y: 140 positionAbsolute: x: 1335 y: 140 selected: false sourcePosition: right targetPosition: left type: custom width: 242 zIndex: 0 - data: context: enabled: true variable_selector: - '1786675417039' - image model: completion_params: temperature: 0.7 mode: chat name: Pro/moonshotai/Kimi-K2.6 provider: langgenius/siliconflow/siliconflow prompt_template: - id: 669caaf8-fc97-4d78-bb3b-8bdd721d4594 role: system text: "你是一名精准的动车票OCR结构化提取专家。请仔细分析用户上传的动车票图片,严格按照要求提取信息。\n\n# 提取规则(极其重要)\n\ 1. **车次**:提取字母+数字组合(如 G1234, D567),注意区分“G/D/C/K”等字头。\n2. **车站**:必须提取完整的标准站名(如“北京西”、“上海虹桥”),注意区分“发站”(出发站)和“到站”(到达站),不要混淆上下行方向。\n\ 3. **日期与时间**:\n - 日期统一转换为 YYYY-MM-DD 格式。\n - 发车时间和到达时间分别提取,格式为 HH:mm。\n\ 4. **座位信息**:必须完整提取“车厢号 + 座位号”(如“05车 12A”),如果票面包含“二等座/一等座”等座席等级,也需提取。\n\ 5. **票价**:只提取数字部分,保留两位小数,如 553.00。\n6. **乘客信息**:提取姓名;身份证号若票面有显示(通常部分隐藏),如实提取即可。\n\ 7. **检票口**:若有“检票口”或“A/B”等字母数字组合,一并提取。\n8. **容错处理**:如果图片模糊或某个字段完全无法识别,该字段值设为空字符串\ \ \"\",**严禁捏造数据**。\n\n# 输出格式\n请仅输出一个合法的 JSON 对象,不要包含 ```json 标记,不要添加任何解释性文字。" selected: false title: LLM type: llm vision: configs: detail: high variable_selector: - '1786675417039' - image enabled: true height: 88 id: '1786675540559' position: x: 1335 y: 266 positionAbsolute: x: 1335 y: 266 selected: false sourcePosition: right targetPosition: left type: custom width: 242 zIndex: 0 - data: outputs: - value_selector: - '1786675540559' - text value_type: string variable: text selected: false title: 输出 type: end height: 88 id: '1786675691092' position: x: 1343 y: 385 positionAbsolute: x: 1343 y: 385 selected: true sourcePosition: right targetPosition: left type: custom width: 242 zIndex: 0 viewport: x: -331 y: -98.5 zoom: 1 rag_pipeline_variables: []
qq:505645074

浙公网安备 33010602011771号