Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  93882687312768["content.VideoURLContent"]
  93882686418864["content.VideoContent"]
  93882686629312["content.BaseContent"]
  93882668443728["schema.Schema"]
  93882661557440["main.BaseModel"]
  140606511651296["builtins.object"]
  93882686418864 --> 93882687312768
  93882686629312 --> 93882686418864
  93882668443728 --> 93882686629312
  93882661557440 --> 93882668443728
  140606511651296 --> 93882661557440

🛈 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