Package dev.langchain4j.data.audio
Class Audio
java.lang.Object
dev.langchain4j.data.audio.Audio
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the base64 data of the audio.static Audio.Builder
builder()
Create a newAudio.Builder
.boolean
int
hashCode()
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
-