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
    • AZURE_OPENAI

      public static final AiProvider AZURE_OPENAI
    • MISTRAL_AI

      public static final AiProvider MISTRAL_AI
    • OCI_GENAI

      public static final AiProvider OCI_GENAI
    • OLLAMA

      public static final AiProvider OLLAMA
    • OPENAI

      public static final AiProvider OPENAI
    • MINIMAX

      public static final AiProvider MINIMAX
    • MOONSHOT

      public static final AiProvider MOONSHOT
    • QIANFAN

      public static final AiProvider QIANFAN
    • ZHIPUAI

      public static final AiProvider ZHIPUAI
    • SPRING_AI

      public static final AiProvider SPRING_AI
    • VERTEX_AI

      public static final AiProvider VERTEX_AI
    • ONNX

      public static final AiProvider 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()