Package dev.langchain4j.data.audio
Class Audio
java.lang.Object
dev.langchain4j.data.audio.Audio
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet the base64 data of the audio.static Audio.Builderbuilder()Create a newAudio.Builder.booleaninthashCode()mimeType()Get the mime type of the audio.toString()url()Get the url of the audio.
-
Method Details
-
builder
Create a newAudio.Builder.- Returns:
- the new
Audio.Builder.
-
url
Get the url of the audio.- Returns:
- the url of the audio, or null if not set.
-
base64Data
Get the base64 data of the audio.- Returns:
- the base64 data of the audio, or null if not set.
-
mimeType
Get the mime type of the audio.- Returns:
- the mime type of the audio, or null if not set.
-
equals
-
hashCode
public int hashCode() -
toString
-