langchain_experimental.video_captioning.models.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