Class DashScopeAudioSpeechResponseMetadata
java.lang.Object
org.springframework.ai.model.MutableResponseMetadata
com.alibaba.cloud.ai.dashscope.metadata.audio.DashScopeAudioSpeechResponseMetadata
- All Implemented Interfaces:
org.springframework.ai.model.ResponseMetadata
public class DashScopeAudioSpeechResponseMetadata
extends org.springframework.ai.model.MutableResponseMetadata
- Since:
- 2023.0.1.0
- Author:
- yuluo, yuluo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic final DashScopeAudioSpeechResponseMetadata -
Constructor Summary
ConstructorsConstructorDescriptionDashScopeAudioSpeechResponseMetadata(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
-
DashScopeAudioSpeechResponseMetadata
public DashScopeAudioSpeechResponseMetadata() -
DashScopeAudioSpeechResponseMetadata
public DashScopeAudioSpeechResponseMetadata(@Nullable org.springframework.ai.chat.metadata.RateLimit rateLimit)
-
-
Method Details
-
from
public static DashScopeAudioSpeechResponseMetadata from(DashScopeAudioTranscriptionApi.Response result) -
from
-
getRateLimit
@Nullable public org.springframework.ai.chat.metadata.RateLimit getRateLimit() -
withRateLimit
public DashScopeAudioSpeechResponseMetadata withRateLimit(org.springframework.ai.chat.metadata.RateLimit rateLimit) -
toString
-