Skip to content

[Feature]: 代码健壮性问题 #437

@lcy19930619

Description

@lcy19930619

相关组件

后端服务及API

问题描述

解析图数据等信息时,出现了异常

ERROR[2025-12-08 16:14:51.783] [request_id=4450833b-b3e4-4a15-8af9-6f2bdfd7ed34 extract=2a72a62d-b261-4fc9-9dd1-e963cdd0d89e] extract_entity.go:138[Extract] | failed to parse graph: failed to parse JSON content: invalid character ',' looking for beginning of value

建议的解决方案

个人pc性能有限,ollama没有大模型那么聪明,解析模型回答的数据时,需要对 json 格式和参数进行验证处理,或尝试性修复

替代方案

No response

优先级

低 - 可以稍后考虑

使用场景

No response

补充信息

No response

确认事项

  • 我已经搜索了现有的 issues,确认这是一个新的功能请求
  • 我理解这个功能请求可能需要讨论和评估

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions