Class Video.Builder
java.lang.Object
dev.langchain4j.data.video.Video.Builder
- Enclosing class:
Video
-
Constructor Summary
Constructors -
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
-