java.lang.Object
com.hw.langchain.retrievers.self.query.base.BaseUtils

public class BaseUtils extends Object
Author:
HamaWhite
  • Method Details

    • getBuiltinTranslator

      public static Visitor getBuiltinTranslator(VectorStore vectorStore)
      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