ms-agent icon indicating copy to clipboard operation
ms-agent copied to clipboard

[codexgraph] codexgraph中的code_generator功能在生成的cypher查询语句有语法错误

Open lqlggg opened this issue 1 year ago • 0 comments

Initial Checks

  • [X] I have searched GitHub for a duplicate issue and I'm sure this is something new
  • [X] I have read and followed the docs & demos and still think this is a bug
  • [X] I am confident that the issue is with modelscope-agent (not my code, or another library in the ecosystem)

What happened + What you expected to happen

使用code_generator功能时生成的cypher查询语句有语法错误 pic 此处生成的模糊查询语句应该为MATCH (mod:MODULE)-[:CONTAINS]->(func:FUNCTION) WHERE func.name =~ '.*KnowledgeBase.*' RETURN func.name, func.code,在neo4j上查询时才会得到结果

Versions / Dependencies

Reproduction script

Issue Severity

None

lqlggg avatar Oct 23 '24 08:10 lqlggg