Copilot commented on code in PR #265:
URL: 
https://github.com/apache/incubator-hugegraph-ai/pull/265#discussion_r2135275502


##########
hugegraph-llm/src/hugegraph_llm/indices/vector_index.py:
##########
@@ -37,12 +38,21 @@ def __init__(self, embed_dim: int = 1024):
         self.properties = []
 
     @staticmethod
-    def from_index_file(dir_path: str) -> "VectorIndex":
-        index_file = os.path.join(dir_path, INDEX_FILE_NAME)
-        properties_file = os.path.join(dir_path, PROPERTIES_FILE_NAME)
+    def from_index_file(dir_path: str, model_name: str = None) -> 
"VectorIndex":
+        """Load index from files,Supporting model-specific filenames"""

Review Comment:
   Typo in docstring: add a space after the comma (‘files, Supporting …’).
   ```suggestion
           """Load index from files, Supporting model-specific filenames"""
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to