Skip to content

Commit 6e60361

Browse files
fix-load-existing-schema (#1061)
1 parent 38eb72e commit 6e60361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,11 +673,11 @@ def get_labels_and_relationtypes(graph):
673673
query = """
674674
RETURN collect {
675675
CALL db.labels() yield label
676-
WHERE NOT label IN ['Document','Chunk','_Bloom_Perspective_', '__Community__', '__Entity__']
676+
WHERE NOT label IN ['Document','Chunk','_Bloom_Perspective_', '__Community__', '__Entity__', 'Session', 'Message']
677677
return label order by label limit 100 } as labels,
678678
collect {
679679
CALL db.relationshipTypes() yield relationshipType as type
680-
WHERE NOT type IN ['PART_OF', 'NEXT_CHUNK', 'HAS_ENTITY', '_Bloom_Perspective_','FIRST_CHUNK','SIMILAR','IN_COMMUNITY','PARENT_COMMUNITY']
680+
WHERE NOT type IN ['PART_OF', 'NEXT_CHUNK', 'HAS_ENTITY', '_Bloom_Perspective_','FIRST_CHUNK','SIMILAR','IN_COMMUNITY','PARENT_COMMUNITY', 'NEXT', 'LAST_MESSAGE']
681681
return type order by type LIMIT 100 } as relationshipTypes
682682
"""
683683
graphDb_data_Access = graphDBdataAccess(graph)

0 commit comments

Comments
 (0)