BaseModel#

class langchain_experimental.video_captioning.models.BaseModel(start_time: int, end_time: int)[source]#

Attributes

end_time

start_time

Methods

__init__(start_time,Β end_time)

from_srt(start_time,Β end_time,Β *args)

Parameters:
  • start_time (int)

  • end_time (int)

__init__(start_time: int, end_time: int) β†’ None[source]#
Parameters:
  • start_time (int)

  • end_time (int)

Return type:

None

classmethod from_srt(start_time: str, end_time: str, *args: Any) β†’ BaseModel[source]#
Parameters:
  • start_time (str)

  • end_time (str)

  • args (Any)

Return type:

BaseModel