langchain_experimental.video_captioning.models.VideoModel¶

class langchain_experimental.video_captioning.models.VideoModel(start_time: int, end_time: int, image_description: str)[source]¶

Attributes

end_time

image_description

start_time

Methods

__init__(start_time, end_time, image_description)

from_srt(start_time, end_time, *args)

similarity_score(other)

Parameters
  • start_time (int) –

  • end_time (int) –

  • image_description (str) –

__init__(start_time: int, end_time: int, image_description: str) None[source]¶
Parameters
  • start_time (int) –

  • end_time (int) –

  • image_description (str) –

Return type

None

classmethod from_srt(start_time: str, end_time: str, *args: Any) BaseModel¶
Parameters
  • start_time (str) –

  • end_time (str) –

  • args (Any) –

Return type

BaseModel

similarity_score(other: VideoModel) float[source]¶
Parameters

other (VideoModel) –

Return type

float