Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  93828350819264["content.VideoURLContent"]
  93828351953504["content.VideoContent"]
  93828353211712["content.BaseContent"]
  93828322027648["schema.Schema"]
  93828305080464["main.BaseModel"]
  140027001444832["builtins.object"]
  93828351953504 --> 93828350819264
  93828353211712 --> 93828351953504
  93828322027648 --> 93828353211712
  93828305080464 --> 93828322027648
  140027001444832 --> 93828305080464

🛈 DocStrings

Bases: VideoContent

Video from URL.

Source code in src/llmling_agent/models/content.py
274
275
276
277
278
279
280
281
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