Skip to content

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

@lqlggg

Description

@lqlggg

Initial Checks

  • I have searched GitHub for a duplicate issue and I'm sure this is something new
  • I have read and followed the docs & demos and still think this is a bug
  • 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions