Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  94292441824048["content.VideoURLContent"]
  94292441828064["content.VideoContent"]
  94292440449696["content.BaseContent"]
  94292424956288["schema.Schema"]
  94292402114112["main.BaseModel"]
  139856857405920["builtins.object"]
  94292441828064 --> 94292441824048
  94292440449696 --> 94292441828064
  94292424956288 --> 94292440449696
  94292402114112 --> 94292424956288
  139856857405920 --> 94292402114112

🛈 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