This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git


The following commit(s) were added to refs/heads/main by this push:
     new 101f10f1 chore(llm): upgrade pycgraph to v3.2.2 (#307)
101f10f1 is described below

commit 101f10f1f0568ca935928cc5bdaf149eee66e4fe
Author: Linyu <[email protected]>
AuthorDate: Tue Nov 11 17:18:54 2025 +0800

    chore(llm): upgrade pycgraph to v3.2.2 (#307)
---
 hugegraph-llm/pyproject.toml                                        | 3 +--
 hugegraph-llm/src/hugegraph_llm/flows/build_example_index.py        | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/build_schema.py               | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/build_vector_index.py         | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/get_graph_index_info.py       | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/graph_extract.py              | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/import_graph_data.py          | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/prompt_generate.py            | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_only.py        | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_vector.py      | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/rag_flow_raw.py               | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/rag_flow_vector_only.py       | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/scheduler.py                  | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/text2gremlin.py               | 2 +-
 hugegraph-llm/src/hugegraph_llm/flows/update_vid_embeddings.py      | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/base_node.py                  | 2 +-
 .../src/hugegraph_llm/nodes/common_node/merge_rerank_node.py        | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/document_node/chunk_split.py  | 2 +-
 .../src/hugegraph_llm/nodes/hugegraph_node/gremlin_execute.py       | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/schema.py      | 2 +-
 .../hugegraph_llm/nodes/index_node/build_gremlin_example_index.py   | 2 +-
 .../hugegraph_llm/nodes/index_node/gremlin_example_index_query.py   | 2 +-
 .../src/hugegraph_llm/nodes/index_node/semantic_id_query_node.py    | 2 +-
 .../src/hugegraph_llm/nodes/index_node/vector_query_node.py         | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/llm_node/extract_info.py      | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/llm_node/prompt_generate.py   | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/llm_node/schema_build.py      | 2 +-
 hugegraph-llm/src/hugegraph_llm/nodes/util.py                       | 2 +-
 hugegraph-llm/src/hugegraph_llm/state/ai_state.py                   | 2 +-
 style/pylint.conf                                                   | 6 +++---
 30 files changed, 32 insertions(+), 33 deletions(-)

diff --git a/hugegraph-llm/pyproject.toml b/hugegraph-llm/pyproject.toml
index 095ac44f..12b1aeee 100644
--- a/hugegraph-llm/pyproject.toml
+++ b/hugegraph-llm/pyproject.toml
@@ -62,7 +62,7 @@ dependencies = [
     "apscheduler",
     "litellm",
     "hugegraph-python-client",
-    "pycgraph",
+    "pycgraph==3.2.2",
 ]
 
 [project.optional-dependencies]
@@ -97,7 +97,6 @@ allow-direct-references = true
 
 [tool.uv.sources]
 hugegraph-python-client = { workspace = true }
-pycgraph = { git = "https://github.com/ChunelFeng/CGraph.git";, subdirectory = 
"python", tag = "v3.2.0" }
 
 [tool.mypy]
 disable_error_code = ["import-untyped"]
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/build_example_index.py 
b/hugegraph-llm/src/hugegraph_llm/flows/build_example_index.py
index d09cc782..0b0cd9c2 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/build_example_index.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/build_example_index.py
@@ -16,7 +16,7 @@
 import json
 from typing import List, Dict, Optional
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.state.ai_state import WkFlowInput, WkFlowState
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/build_schema.py 
b/hugegraph-llm/src/hugegraph_llm/flows/build_schema.py
index 1554e53f..1bb413ba 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/build_schema.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/build_schema.py
@@ -15,7 +15,7 @@
 
 import json
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.state.ai_state import WkFlowInput, WkFlowState
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/build_vector_index.py 
b/hugegraph-llm/src/hugegraph_llm/flows/build_vector_index.py
index b57cbfbe..ccfd6d02 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/build_vector_index.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/build_vector_index.py
@@ -15,7 +15,7 @@
 
 import json
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.document_node.chunk_split import ChunkSplitNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/get_graph_index_info.py 
b/hugegraph-llm/src/hugegraph_llm/flows/get_graph_index_info.py
index b560918e..1dc98323 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/get_graph_index_info.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/get_graph_index_info.py
@@ -15,7 +15,7 @@
 
 import json
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.config import huge_settings, index_settings
 from hugegraph_llm.flows.common import BaseFlow
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/graph_extract.py 
b/hugegraph-llm/src/hugegraph_llm/flows/graph_extract.py
index f3d16678..b2bfec66 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/graph_extract.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/graph_extract.py
@@ -14,7 +14,7 @@
 #  limitations under the License.
 
 import json
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.document_node.chunk_split import ChunkSplitNode
 from hugegraph_llm.nodes.hugegraph_node.schema import SchemaNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/import_graph_data.py 
b/hugegraph-llm/src/hugegraph_llm/flows/import_graph_data.py
index d0e34ac5..1a8ae748 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/import_graph_data.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/import_graph_data.py
@@ -16,7 +16,7 @@
 import json
 
 import gradio as gr
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.hugegraph_node.commit_to_hugegraph import 
Commit2GraphNode
 from hugegraph_llm.nodes.hugegraph_node.schema import SchemaNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/prompt_generate.py 
b/hugegraph-llm/src/hugegraph_llm/flows/prompt_generate.py
index 16618e13..fe42a442 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/prompt_generate.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/prompt_generate.py
@@ -13,7 +13,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.llm_node.prompt_generate import PromptGenerateNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_only.py 
b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_only.py
index 3029b625..7985e362 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_only.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_only.py
@@ -16,7 +16,7 @@
 
 from typing import Optional, Literal, cast
 
-from PyCGraph import GPipeline, GRegion, GCondition
+from pycgraph import GPipeline, GRegion, GCondition
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.llm_node.keyword_extract_node import 
KeywordExtractNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_vector.py 
b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_vector.py
index 96c4ab85..fbfa4a44 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_vector.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_vector.py
@@ -16,7 +16,7 @@
 
 from typing import Optional, Literal
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.index_node.vector_query_node import VectorQueryNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_raw.py 
b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_raw.py
index ede8f98e..0ae2d63a 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_raw.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_raw.py
@@ -16,7 +16,7 @@
 
 from typing import Optional
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.llm_node.answer_synthesize_node import 
AnswerSynthesizeNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_vector_only.py 
b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_vector_only.py
index 150e3162..98563abf 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_vector_only.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/rag_flow_vector_only.py
@@ -16,7 +16,7 @@
 
 from typing import Optional, Literal
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.index_node.vector_query_node import VectorQueryNode
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/scheduler.py 
b/hugegraph-llm/src/hugegraph_llm/flows/scheduler.py
index bdf59d84..2eef75bc 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/scheduler.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/scheduler.py
@@ -15,7 +15,7 @@
 
 import threading
 from typing import Dict, Any
-from PyCGraph import GPipeline, GPipelineManager
+from pycgraph import GPipeline, GPipelineManager
 from hugegraph_llm.flows import FlowName
 from hugegraph_llm.flows.build_vector_index import BuildVectorIndexFlow
 from hugegraph_llm.flows.common import BaseFlow
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/text2gremlin.py 
b/hugegraph-llm/src/hugegraph_llm/flows/text2gremlin.py
index 1ae5662c..96ba08ba 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/text2gremlin.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/text2gremlin.py
@@ -15,7 +15,7 @@
 
 from typing import Any, Dict, List, Optional
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.state.ai_state import WkFlowInput, WkFlowState
diff --git a/hugegraph-llm/src/hugegraph_llm/flows/update_vid_embeddings.py 
b/hugegraph-llm/src/hugegraph_llm/flows/update_vid_embeddings.py
index 216f3561..5af09bae 100644
--- a/hugegraph-llm/src/hugegraph_llm/flows/update_vid_embeddings.py
+++ b/hugegraph-llm/src/hugegraph_llm/flows/update_vid_embeddings.py
@@ -13,7 +13,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-from PyCGraph import GPipeline
+from pycgraph import GPipeline
 
 from hugegraph_llm.flows.common import BaseFlow
 from hugegraph_llm.nodes.hugegraph_node.fetch_graph_data import 
FetchGraphDataNode
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/base_node.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/base_node.py
index d7e53d4b..35e926fe 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/base_node.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/base_node.py
@@ -14,7 +14,7 @@
 #  limitations under the License.
 
 from typing import Dict, Optional
-from PyCGraph import GNode, CStatus
+from pycgraph import GNode, CStatus
 from hugegraph_llm.nodes.util import init_context
 from hugegraph_llm.state.ai_state import WkFlowInput, WkFlowState
 from hugegraph_llm.utils.log import log
diff --git 
a/hugegraph-llm/src/hugegraph_llm/nodes/common_node/merge_rerank_node.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/common_node/merge_rerank_node.py
index c718086a..74e192c6 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/common_node/merge_rerank_node.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/common_node/merge_rerank_node.py
@@ -54,7 +54,7 @@ class MergeRerankNode(BaseNode):
             return super().node_init()
         except ValueError as e:
             log.error("Failed to initialize MergeRerankNode: %s", e)
-            from PyCGraph import CStatus
+            from pycgraph import CStatus
 
             return CStatus(-1, f"MergeRerankNode initialization failed: {e}")
 
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/document_node/chunk_split.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/document_node/chunk_split.py
index 883cc909..08ada8bc 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/document_node/chunk_split.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/document_node/chunk_split.py
@@ -13,7 +13,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 from hugegraph_llm.nodes.base_node import BaseNode
 from hugegraph_llm.operators.document_op.chunk_split import ChunkSplit
 from hugegraph_llm.state.ai_state import WkFlowInput, WkFlowState
diff --git 
a/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/gremlin_execute.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/gremlin_execute.py
index 98fdcdd1..6a96062c 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/gremlin_execute.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/gremlin_execute.py
@@ -17,7 +17,7 @@
 
 from typing import Any, Dict
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 
 from hugegraph_llm.nodes.base_node import BaseNode
 from hugegraph_llm.utils.hugegraph_utils import run_gremlin_query
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/schema.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/schema.py
index 26d74c5d..61e5f048 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/schema.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/hugegraph_node/schema.py
@@ -15,7 +15,7 @@
 
 import json
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 from hugegraph_llm.nodes.base_node import BaseNode
 from hugegraph_llm.operators.common_op.check_schema import CheckSchema
 from hugegraph_llm.operators.hugegraph_op.schema_manager import SchemaManager
diff --git 
a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/build_gremlin_example_index.py
 
b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/build_gremlin_example_index.py
index 90545dcd..f43713ab 100644
--- 
a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/build_gremlin_example_index.py
+++ 
b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/build_gremlin_example_index.py
@@ -13,7 +13,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 
 from hugegraph_llm.config import index_settings
 from hugegraph_llm.models.embeddings.init_embedding import Embeddings
diff --git 
a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/gremlin_example_index_query.py
 
b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/gremlin_example_index_query.py
index 6389bbeb..462f5ce2 100644
--- 
a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/gremlin_example_index_query.py
+++ 
b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/gremlin_example_index_query.py
@@ -17,7 +17,7 @@
 
 from typing import Any, Dict
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 
 from hugegraph_llm.config import index_settings
 from hugegraph_llm.nodes.base_node import BaseNode
diff --git 
a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/semantic_id_query_node.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/semantic_id_query_node.py
index 799b320c..1fe19d05 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/semantic_id_query_node.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/semantic_id_query_node.py
@@ -15,7 +15,7 @@
 
 from typing import Dict, Any
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 from hugegraph_llm.nodes.base_node import BaseNode
 from hugegraph_llm.operators.index_op.semantic_id_query import SemanticIdQuery
 from hugegraph_llm.models.embeddings.init_embedding import Embeddings
diff --git 
a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/vector_query_node.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/vector_query_node.py
index 2ef4e8fb..59c7b614 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/index_node/vector_query_node.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/index_node/vector_query_node.py
@@ -46,7 +46,7 @@ class VectorQueryNode(BaseNode):
             return super().node_init()
         except Exception as e:  # pylint: disable=broad-exception-caught
             log.error("Failed to initialize VectorQueryNode: %s", e)
-            from PyCGraph import CStatus
+            from pycgraph import CStatus
 
             return CStatus(-1, f"VectorQueryNode initialization failed: {e}")
 
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/extract_info.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/extract_info.py
index 3c9bf230..1d1abb00 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/extract_info.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/extract_info.py
@@ -13,7 +13,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 from hugegraph_llm.config import llm_settings
 from hugegraph_llm.models.llms.init_llm import get_chat_llm
 from hugegraph_llm.nodes.base_node import BaseNode
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/prompt_generate.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/prompt_generate.py
index 8c49994f..b0c1dbe1 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/prompt_generate.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/prompt_generate.py
@@ -13,7 +13,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 from hugegraph_llm.config import llm_settings
 from hugegraph_llm.models.llms.init_llm import get_chat_llm
 from hugegraph_llm.nodes.base_node import BaseNode
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/schema_build.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/schema_build.py
index 1ef7e5c5..69d731eb 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/schema_build.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/llm_node/schema_build.py
@@ -15,7 +15,7 @@
 
 import json
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 from hugegraph_llm.nodes.base_node import BaseNode
 from hugegraph_llm.state.ai_state import WkFlowInput, WkFlowState
 from hugegraph_llm.models.llms.init_llm import get_chat_llm
diff --git a/hugegraph-llm/src/hugegraph_llm/nodes/util.py 
b/hugegraph-llm/src/hugegraph_llm/nodes/util.py
index d1ac6965..bfd8969b 100644
--- a/hugegraph-llm/src/hugegraph_llm/nodes/util.py
+++ b/hugegraph-llm/src/hugegraph_llm/nodes/util.py
@@ -15,7 +15,7 @@
 
 from typing import Any
 
-from PyCGraph import CStatus
+from pycgraph import CStatus
 
 
 def init_context(obj: Any) -> CStatus:
diff --git a/hugegraph-llm/src/hugegraph_llm/state/ai_state.py 
b/hugegraph-llm/src/hugegraph_llm/state/ai_state.py
index 429aba95..7b39776f 100644
--- a/hugegraph-llm/src/hugegraph_llm/state/ai_state.py
+++ b/hugegraph-llm/src/hugegraph_llm/state/ai_state.py
@@ -14,7 +14,7 @@
 #  limitations under the License.
 
 from typing import AsyncGenerator, Union, List, Optional, Any, Dict
-from PyCGraph import GParam, CStatus
+from pycgraph import GParam, CStatus
 
 from hugegraph_llm.utils.log import log
 
diff --git a/style/pylint.conf b/style/pylint.conf
index 4fb3a17c..84feffc7 100644
--- a/style/pylint.conf
+++ b/style/pylint.conf
@@ -476,7 +476,7 @@ disable=raw-checker-failed,
 # it should appear only once). See also the "--disable" option for examples.
 enable=
 
-extension-pkg-whitelist=PyCGraph
+extension-pkg-whitelist=pycgraph
 
 [METHOD_ARGS]
 
@@ -597,8 +597,8 @@ contextmanager-decorators=contextlib.contextmanager
 # List of members which are set dynamically and missed by pylint inference
 # system, and so shouldn't trigger E1101 when accessed. Python regular
 # expressions are accepted.
-ignored-modules=PyCGraph
-generated-members=PyCGraph.*
+ignored-modules=pycgraph
+generated-members=pycgraph.*
 
 # Tells whether to warn about missing members when the owner of the attribute
 # is inferred to be None.

Reply via email to