From 5311083f438678a469ae8b3679931ce052bf8f01 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 14 Sep 2025 02:30:05 +0800 Subject: [PATCH] Rename "Process" entity type to "Method" across all components --- env.example | 2 +- lightrag/constants.py | 2 +- lightrag_webui/src/locales/ar.json | 2 +- lightrag_webui/src/locales/en.json | 2 +- lightrag_webui/src/locales/fr.json | 2 +- lightrag_webui/src/locales/zh.json | 4 ++-- lightrag_webui/src/locales/zh_TW.json | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/env.example b/env.example index 67d81460..b7dc6430 100644 --- a/env.example +++ b/env.example @@ -125,7 +125,7 @@ ENABLE_LLM_CACHE_FOR_EXTRACT=true SUMMARY_LANGUAGE=English ### Entity types that the LLM will attempt to recognize -# ENTITY_TYPES='["Person", "Organization", "Location", "Event", "Concept", "Process", "Content", "Data", "Artifact", "NaturalObject"]' +# ENTITY_TYPES='["Person", "Organization", "Location", "Event", "Concept", "Method", "Content", "Data", "Artifact", "NaturalObject"]' ### Chunk size for document splitting, 500~1500 is recommended # CHUNK_SIZE=1200 diff --git a/lightrag/constants.py b/lightrag/constants.py index abf1c9be..7bc70957 100644 --- a/lightrag/constants.py +++ b/lightrag/constants.py @@ -29,7 +29,7 @@ DEFAULT_ENTITY_TYPES = [ "Location", "Event", "Concept", - "Process", + "Method", "Content", "Data", "Artifact", diff --git a/lightrag_webui/src/locales/ar.json b/lightrag_webui/src/locales/ar.json index 12add579..4a932c28 100644 --- a/lightrag_webui/src/locales/ar.json +++ b/lightrag_webui/src/locales/ar.json @@ -195,7 +195,7 @@ "artifact": "قطعة أثرية", "concept": "مفهوم", "naturalobject": "كائن طبيعي", - "process": "عملية", + "method": "عملية", "other": "أخرى" }, "sideBar": { diff --git a/lightrag_webui/src/locales/en.json b/lightrag_webui/src/locales/en.json index a10133d8..293cba3f 100644 --- a/lightrag_webui/src/locales/en.json +++ b/lightrag_webui/src/locales/en.json @@ -195,7 +195,7 @@ "artifact": "Artifact", "concept": "Concept", "naturalobject": "Natural Object", - "process": "Process", + "method": "Method", "other": "Other" }, "sideBar": { diff --git a/lightrag_webui/src/locales/fr.json b/lightrag_webui/src/locales/fr.json index 4d977cdd..1906ac88 100644 --- a/lightrag_webui/src/locales/fr.json +++ b/lightrag_webui/src/locales/fr.json @@ -195,7 +195,7 @@ "artifact": "Artefact", "concept": "Concept", "naturalobject": "Objet naturel", - "process": "Processus", + "method": "Méthode", "other": "Autre" }, "sideBar": { diff --git a/lightrag_webui/src/locales/zh.json b/lightrag_webui/src/locales/zh.json index 7d9e1ee9..bb1f96c2 100644 --- a/lightrag_webui/src/locales/zh.json +++ b/lightrag_webui/src/locales/zh.json @@ -193,9 +193,9 @@ "content": "内容", "data": "数据", "artifact": "人工制品", - "concept": "抽象概念", + "concept": "概念", "naturalobject": "自然对象", - "process": "过程方法", + "method": "方法", "other": "其他" }, "sideBar": { diff --git a/lightrag_webui/src/locales/zh_TW.json b/lightrag_webui/src/locales/zh_TW.json index 09e1334b..f648b56f 100644 --- a/lightrag_webui/src/locales/zh_TW.json +++ b/lightrag_webui/src/locales/zh_TW.json @@ -193,9 +193,9 @@ "content": "內容", "data": "資料", "artifact": "人工製品", - "concept": "抽象概念", + "concept": "概念", "naturalobject": "自然物件", - "process": "過程方法", + "method": "方法", "other": "其他" }, "sideBar": {