Class OpenAiAudioTranscriptionResponseMetadata
java.lang.Object
org.springframework.ai.model.MutableResponseMetadata
org.springframework.ai.audio.transcription.AudioTranscriptionResponseMetadata
org.springframework.ai.openai.metadata.audio.OpenAiAudioTranscriptionResponseMetadata
- All Implemented Interfaces:
ResponseMetadata
Audio transcription metadata implementation for OpenAI.
- Since:
- 0.8.1
- Author:
- Michael Lavelle, Piotr Olaszewski
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
static final OpenAiAudioTranscriptionResponseMetadata
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
-
Method Summary
Methods inherited from class org.springframework.ai.model.MutableResponseMetadata
clear, computeIfAbsent, containsKey, entrySet, get, getOrDefault, getRawMap, getRequired, isEmpty, keySet, put, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.ai.model.ResponseMetadata
getOrDefault
-
Field Details
-
NULL
-
AI_METADATA_STRING
- See Also:
-
-
Constructor Details
-
OpenAiAudioTranscriptionResponseMetadata
protected OpenAiAudioTranscriptionResponseMetadata() -
OpenAiAudioTranscriptionResponseMetadata
-
-
Method Details
-
from
public static OpenAiAudioTranscriptionResponseMetadata from(OpenAiAudioApi.StructuredResponse result) -
from
-
getRateLimit
-
withRateLimit
-
toString
-