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