类 VideoBlock
java.lang.Object
io.agentscope.core.message.ContentBlock
io.agentscope.core.message.VideoBlock
- 所有已实现的接口:
State
Represents video content in a message.
This content block supports video from two sources:
- URL source - video files accessible via HTTP/HTTPS URLs or local file URLs
- Base64 source - video encoded as Base64 strings with MIME type
Video blocks enable advanced multimodal AI interactions where agents need to process or analyze video content such as presentations, tutorials, surveillance footage, or other visual media that includes motion and temporal elements.
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static VideoBlock.Builderbuilder()Creates a new builder for constructing VideoBlock instances.Gets the source of this video content.
-
构造器详细资料
-
VideoBlock
Creates a new video block for JSON deserialization.- 参数:
source- The video source (URL or Base64)
-
-
方法详细资料
-
getSource
Gets the source of this video content.- 返回:
- The video source containing URL or Base64 data
-
builder
Creates a new builder for constructing VideoBlock instances.- 返回:
- A new builder instance
-