From f3b53520199104fd12c43df29b8fab758e179697 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 13 Sep 2025 11:17:06 +0800 Subject: [PATCH] Refine default entity types --- lightrag/constants.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lightrag/constants.py b/lightrag/constants.py index de810bc9..b6d4f01c 100644 --- a/lightrag/constants.py +++ b/lightrag/constants.py @@ -24,15 +24,12 @@ DEFAULT_SUMMARY_LENGTH_RECOMMENDED = 600 DEFAULT_SUMMARY_CONTEXT_SIZE = 12000 # Default entities to extract if ENTITY_TYPES is not specified in .env DEFAULT_ENTITY_TYPES = [ - "Organization", "Person", + "Organization", "Location", "Event", - "Technology", - "Equipment", - "Product", - "Document", - "Category", + "Artifact", + "CreativeWork", ] # Separator for graph fields