Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  94851197770080["content.VideoURLContent"]
  94851196966672["content.VideoContent"]
  94851197065984["content.BaseContent"]
  94851098800384["schema.Schema"]
  94851083794592["main.BaseModel"]
  139760367442400["builtins.object"]
  94851196966672 --> 94851197770080
  94851197065984 --> 94851196966672
  94851098800384 --> 94851197065984
  94851083794592 --> 94851098800384
  139760367442400 --> 94851083794592

🛈 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