Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  93946416028064["content.VideoURLContent"]
  93946418468320["content.VideoContent"]
  93946417771280["content.BaseContent"]
  93946387727984["schema.Schema"]
  93946375146656["main.BaseModel"]
  139844341602784["builtins.object"]
  93946418468320 --> 93946416028064
  93946417771280 --> 93946418468320
  93946387727984 --> 93946417771280
  93946375146656 --> 93946387727984
  139844341602784 --> 93946375146656

🛈 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