Class BaseUtils
java.lang.Object
com.hw.langchain.retrievers.self.query.base.BaseUtils
- Author:
- HamaWhite
-
Method Summary
Modifier and TypeMethodDescriptionstatic Visitor
getBuiltinTranslator
(VectorStore vectorStore) Get the translator class corresponding to the vector store class.
-
Method Details
-
getBuiltinTranslator
Get the translator class corresponding to the vector store class.- Parameters:
vectorStore
- the VectorStore instance- Returns:
- the Visitor instance
- Throws:
IllegalArgumentException
- if the vector store type is not supported
-