Class DashScopeAudioTranscriptionResponseMetadata
java.lang.Object
org.springframework.ai.model.MutableResponseMetadata
org.springframework.ai.audio.transcription.AudioTranscriptionResponseMetadata
com.alibaba.cloud.ai.dashscope.metadata.audio.DashScopeAudioTranscriptionResponseMetadata
- All Implemented Interfaces:
org.springframework.ai.model.ResponseMetadata
public class DashScopeAudioTranscriptionResponseMetadata
extends org.springframework.ai.audio.transcription.AudioTranscriptionResponseMetadata
Audio transcription metadata implementation for DashScope.
- Author:
- yuluo
- See Also:
-
RateLimit
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic final DashScopeAudioTranscriptionResponseMetadata -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedDashScopeAudioTranscriptionResponseMetadata(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
-
DashScopeAudioTranscriptionResponseMetadata
protected DashScopeAudioTranscriptionResponseMetadata() -
DashScopeAudioTranscriptionResponseMetadata
protected DashScopeAudioTranscriptionResponseMetadata(@Nullable org.springframework.ai.chat.metadata.RateLimit rateLimit)
-
-
Method Details
-
from
-
getRateLimit
@Nullable public org.springframework.ai.chat.metadata.RateLimit getRateLimit() -
withRateLimit
public DashScopeAudioTranscriptionResponseMetadata withRateLimit(org.springframework.ai.chat.metadata.RateLimit rateLimit) -
toString
-