ms-agent
ms-agent copied to clipboard
[codexgraph] codexgraph中的code_generator功能在生成的cypher查询语句有语法错误
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查询语句有语法错误
此处生成的模糊查询语句应该为MATCH (mod:MODULE)-[:CONTAINS]->(func:FUNCTION) WHERE func.name =~ '.*KnowledgeBase.*' RETURN func.name, func.code,在neo4j上查询时才会得到结果
Versions / Dependencies
无
Reproduction script
无
Issue Severity
None