浏览代码

新增 requirements的包

luojunhui 1 周之前
父节点
当前提交
7df85e4aea
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      applications/utils/neo4j/models.py

+ 1 - 0
applications/utils/neo4j/models.py

@@ -41,6 +41,7 @@ MERGE (gc:GraphChunk {milvus_id: $milvus_id})
       gc.text_type = $text_type,
       gc.task_type = $task_type,
       gc.doc_id    = $doc_id
+      gc.display_name = $chunk_id + "--" + $doc_id
 
 MERGE (gc)-[:BELONGS_TO]->(d)
 MERGE (d)-[:HAS_CHUNK]->(gc)