Enum Class AiProvider

java.lang.Object
java.lang.Enum<AiProvider>
org.springframework.ai.observation.conventions.AiProvider
All Implemented Interfaces:
Serializable, Comparable<AiProvider>, Constable

public enum AiProvider extends Enum<AiProvider>
Collection of systems providing AI functionality. Based on the OpenTelemetry Semantic Conventions for AI Systems.
Since:
1.0.0
Author:
Thomas Vitale
See Also:
  • Enum Constant Details

    • ANTHROPIC

      public static final AiProvider ANTHROPIC
      AI system provided by Anthropic.
    • AZURE_OPENAI

      public static final AiProvider AZURE_OPENAI
      AI system provided by Azure.
    • BEDROCK_CONVERSE

      public static final AiProvider BEDROCK_CONVERSE
      AI system provided by Bedrock Converse.
    • MISTRAL_AI

      public static final AiProvider MISTRAL_AI
      AI system provided by Mistral.
    • OCI_GENAI

      public static final AiProvider OCI_GENAI
      AI system provided by Oracle OCI.
    • OLLAMA

      public static final AiProvider OLLAMA
      AI system provided by Ollama.
    • OPENAI

      public static final AiProvider OPENAI
      AI system provided by OpenAI.
    • MINIMAX

      public static final AiProvider MINIMAX
      AI system provided by Minimax.
    • MOONSHOT

      public static final AiProvider MOONSHOT
      AI system provided by Moonshot.
    • QIANFAN

      public static final AiProvider QIANFAN
      AI system provided by Qianfan.
    • ZHIPUAI

      public static final AiProvider ZHIPUAI
      AI system provided by Zhipuai.
    • SPRING_AI

      public static final AiProvider SPRING_AI
      AI system provided by Spring AI.
    • VERTEX_AI

      public static final AiProvider VERTEX_AI
      AI system provided by Vertex AI.
    • ONNX

      public static final AiProvider ONNX
      AI system provided by ONNX.
  • Method Details

    • values

      public static AiProvider[] 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 AiProvider 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
    • value

      public String value()
      Return the value of the provider.
      Returns:
      the value of the provider