Class OpenAiAudioSpeechResponseMetadata
java.lang.Object
org.springframework.ai.model.MutableResponseMetadata
org.springframework.ai.openai.metadata.audio.OpenAiAudioSpeechResponseMetadata
- All Implemented Interfaces:
org.springframework.ai.model.ResponseMetadata
public class OpenAiAudioSpeechResponseMetadata
extends org.springframework.ai.model.MutableResponseMetadata
Audio speech metadata implementation for OpenAI.
- Author:
- Ahmed Yousri
- See Also:
-
RateLimit
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic final OpenAiAudioSpeechResponseMetadata -
Constructor Summary
ConstructorsConstructorDescriptionOpenAiAudioSpeechResponseMetadata(org.springframework.ai.chat.metadata.RateLimit rateLimit) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.chat.metadata.RateLimittoString()withRateLimit(org.springframework.ai.chat.metadata.RateLimit rateLimit) Methods inherited from class org.springframework.ai.model.MutableResponseMetadata
clear, computeIfAbsent, containsKey, entrySet, get, getOrDefault, getRawMap, getRequired, isEmpty, keySet, put, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.ai.model.ResponseMetadata
getOrDefault
-
Field Details
-
NULL
-
AI_METADATA_STRING
- See Also:
-
-
Constructor Details
-
OpenAiAudioSpeechResponseMetadata
public OpenAiAudioSpeechResponseMetadata() -
OpenAiAudioSpeechResponseMetadata
public OpenAiAudioSpeechResponseMetadata(@Nullable org.springframework.ai.chat.metadata.RateLimit rateLimit)
-
-
Method Details
-
from
-
from
-
getRateLimit
@Nullable public org.springframework.ai.chat.metadata.RateLimit getRateLimit() -
withRateLimit
public OpenAiAudioSpeechResponseMetadata withRateLimit(org.springframework.ai.chat.metadata.RateLimit rateLimit) -
toString
-