Enum Class ContentRetrieverType

java.lang.Object
java.lang.Enum<ContentRetrieverType>
io.helidon.integrations.langchain4j.ContentRetrieverType
All Implemented Interfaces:
Serializable, Comparable<ContentRetrieverType>, Constable

public enum ContentRetrieverType extends Enum<ContentRetrieverType>
Supported content retriever implementations.
  • Enum Constant Details

    • EMBEDDING_STORE_CONTENT_RETRIEVER

      public static final ContentRetrieverType EMBEDDING_STORE_CONTENT_RETRIEVER
      Embedding store-backed content retriever.
    • WEB_SEARCH_CONTENT_RETRIEVER

      public static final ContentRetrieverType WEB_SEARCH_CONTENT_RETRIEVER
      Web search-backed content retriever.
  • Method Details

    • values

      public static ContentRetrieverType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ContentRetrieverType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ContentRetrieverType>