Skip to content

VideoURLContent

Base classes

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

⋔ Inheritance diagram

graph TD
  94224191471968["content.VideoURLContent"]
  94224190309136["content.VideoContent"]
  94224189401248["content.BaseContent"]
  94224175847280["schema.Schema"]
  94224166286928["main.BaseModel"]
  139979110881760["builtins.object"]
  94224190309136 --> 94224191471968
  94224189401248 --> 94224190309136
  94224175847280 --> 94224189401248
  94224166286928 --> 94224175847280
  139979110881760 --> 94224166286928

🛈 DocStrings

Bases: VideoContent

Video from URL.

Source code in src/llmling_agent/models/content.py
288
289
290
291
292
293
294
295
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