Skip to content

VideoURLContent

Base classes

Name Children Inherits
VideoContent
llmling_agent.models.content
Base for video content.

⋔ Inheritance diagram

graph TD
  93965376059632["content.VideoURLContent"]
  93965375855488["content.VideoContent"]
  93965376285136["content.BaseContent"]
  93965354987200["schema.Schema"]
  93965337214656["main.BaseModel"]
  140719967574496["builtins.object"]
  93965375855488 --> 93965376059632
  93965376285136 --> 93965375855488
  93965354987200 --> 93965376285136
  93965337214656 --> 93965354987200
  140719967574496 --> 93965337214656

🛈 DocStrings

Bases: VideoContent

Video from URL.

Source code in src/llmling_agent/models/content.py
288
289
290
291
292
293
294
295
class VideoURLContent(VideoContent):
    """Video from URL."""

    type: Literal["video_url"] = Field("video_url", init=False)
    """URL-based video."""

    url: str
    """URL to the video."""

type class-attribute instance-attribute

type: Literal['video_url'] = Field('video_url', init=False)

URL-based video.

url instance-attribute

url: str

URL to the video.

Show source on GitHub