Package dev.langchain4j.model.audio
Class AudioTranscriptionResponse
java.lang.Object
dev.langchain4j.model.audio.AudioTranscriptionResponse
Response containing the transcription of an audio file.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new response with the given text. -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioTranscriptionResponse
Creates a new response with the given text.text()
-
Constructor Details
-
AudioTranscriptionResponse
Creates a new response with the given text.- Parameters:
text
- The transcribed text
-
-
Method Details
-
text
- Returns:
- The transcribed text
-
from
Creates a new response with the given text.- Parameters:
text
- The transcribed text- Returns:
- A new response
-