Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  93830354607328["content.VideoURLContent"]
  93830354289680["content.VideoContent"]
  93830352442560["content.BaseContent"]
  93830322728432["schema.Schema"]
  93830306383888["main.BaseModel"]
  140267576236512["builtins.object"]
  93830354289680 --> 93830354607328
  93830352442560 --> 93830354289680
  93830322728432 --> 93830352442560
  93830306383888 --> 93830322728432
  140267576236512 --> 93830306383888

🛈 DocStrings

Bases: VideoContent

Video from URL.

Source code in src/llmling_agent/models/content.py
298
299
300
301
302
303
304
305
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