Enum Class TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames
java.lang.Object
java.lang.Enum<TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames>
org.springframework.ai.audio.tts.observation.TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames
- All Implemented Interfaces:
io.micrometer.common.docs.KeyName,Serializable,Comparable<TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames>,Constable
- Enclosing class:
- TextToSpeechModelObservationDocumentation
public static enum TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames
extends Enum<TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames>
implements io.micrometer.common.docs.KeyName
High-cardinality observation key names for text-to-speech model operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe format in which the synthesized audio is returned.The speed of the synthesized speech.The voice to synthesize speech with.Whether the request was made in streaming mode. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.micrometer.common.docs.KeyName
asString, isRequired, withNoneValue, withValue, withValue
-
Enum Constant Details
-
REQUEST_AUDIO_VOICE
public static final TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames REQUEST_AUDIO_VOICEThe voice to synthesize speech with. -
REQUEST_AUDIO_RESPONSE_FORMAT
public static final TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames REQUEST_AUDIO_RESPONSE_FORMATThe format in which the synthesized audio is returned. -
REQUEST_AUDIO_SPEED
public static final TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames REQUEST_AUDIO_SPEEDThe speed of the synthesized speech. -
REQUEST_STREAM
public static final TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames REQUEST_STREAMWhether the request was made in streaming mode.
-
-
Method Details
-
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 TextToSpeechModelObservationDocumentation.HighCardinalityKeyNames 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 nameNullPointerException- if the argument is null
-