Enum Class LlmApiType

java.lang.Object
java.lang.Enum<LlmApiType>
com.pnfsoftware.jeb.client.mcp.llm.LlmApiType
All Implemented Interfaces:
Serializable, Comparable<LlmApiType>, Constable

public enum LlmApiType extends Enum<LlmApiType>
Types of LLM end-points
  • Enum Constant Details

    • UNKNOWN

      public static final LlmApiType UNKNOWN
      Unsupported or illegal end-point type.
    • OPENAI

      public static final LlmApiType OPENAI
      OpenAI and compatible API end-points. Compatible ends-points include several open-source LLMs, such as Mistral, Llama, Qwen, etc.
    • ANTHROPIC

      public static final LlmApiType ANTHROPIC
      Anthropic and compatible end-points.
    • GEMINI

      public static final LlmApiType GEMINI
      Gemini and compatible end-point type.
    • BEDROCK

      public static final LlmApiType BEDROCK
      AWS Bedrock unified end-point type. Base URL: https://bedrock-runtime.$REGION.amazonaws.com
  • Method Details

    • values

      public static LlmApiType[] 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 LlmApiType 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
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • fromName

      public static LlmApiType fromName(String name)
    • getSupportedEndpoints

      public List<String> getSupportedEndpoints()
    • toString

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