Creeprime opened a new pull request, #265:
URL: https://github.com/apache/incubator-hugegraph-ai/pull/265

   ## Overview
   This PR implements independent data directory management when switching 
between different embedding models. Each embedding model will store its results 
in a separate directory, and during queries, the corresponding model’s 
embedding data will be automatically identified and loaded, ensuring that 
multiple models can coexist without data overwriting.
   
   ## Main Changes
   1. **`vector_index` Module Method Adjustments**  
      - Updated methods such as `from_index_file`, `to_index_file`, and `clean` 
to include a `model_name` parameter, enabling model-based independent storage 
paths.  
      - Backward compatibility is maintained: if `model_name` is not provided, 
the original behavior remains unchanged.
   
   2. **Index Operation Class Path Concatenation Refactoring**  
      - In classes like `BuildSemanticIndex`, modified directory concatenation 
so that the current `embedding_type` is automatically used to generate 
subdirectories without manual specification.
   
   3. **Embedding Class Name Unification**  
      - Unified the model name field across all embedding classes as 
`model_name`, and updated related invocation logic to ensure consistency with 
the index module.


-- 
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