Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  94266052295152["content.VideoURLContent"]
  94266052833424["content.VideoContent"]
  94266050803936["content.BaseContent"]
  94266034833904["schema.Schema"]
  94266025605600["main.BaseModel"]
  140409819765216["builtins.object"]
  94266052833424 --> 94266052295152
  94266050803936 --> 94266052833424
  94266034833904 --> 94266050803936
  94266025605600 --> 94266034833904
  140409819765216 --> 94266025605600

🛈 DocStrings

Bases: VideoContent

Video from URL.

Source code in src/llmling_agent/models/content.py
294
295
296
297
298
299
300
301
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