소스 검색

新增 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)