Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  94123200293536["content.VideoURLContent"]
  94123202235904["content.VideoContent"]
  94123202050832["content.BaseContent"]
  94123169468080["schema.Schema"]
  94123157077184["main.BaseModel"]
  139872072243680["builtins.object"]
  94123202235904 --> 94123200293536
  94123202050832 --> 94123202235904
  94123169468080 --> 94123202050832
  94123157077184 --> 94123169468080
  139872072243680 --> 94123157077184

🛈 DocStrings

Bases: VideoContent

Video from URL.

Source code in src/llmling_agent/models/content.py
279
280
281
282
283
284
285
286
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