Package dev.langchain4j.data.video
Class Video.Builder
java.lang.Object
dev.langchain4j.data.video.Video.Builder
- Enclosing class:
Video
Builder for
Video
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbase64Data
(String base64Data) Set the base64 data of the video.build()
Build theVideo
.Set the mime type of the video.Set the url of the video.Set the url of the video.
-
Constructor Details
-
Builder
public Builder()Create a newVideo.Builder
.
-
-
Method Details
-
url
Set the url of the video.- Parameters:
url
- the url of the video.- Returns:
this
-
url
Set the url of the video.- Parameters:
url
- the url of the video.- Returns:
this
-
base64Data
Set the base64 data of the video.- Parameters:
base64Data
- the base64 data of the video.- Returns:
this
-
mimeType
Set the mime type of the video.- Parameters:
mimeType
- the mime type of the video.- Returns:
this
-
build
Build theVideo
.- Returns:
- the
Video
.
-