langchain_experimental.video_captioning.models.BaseModel

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

属性

end_time

start_time

方法

__init__(start_time,
end_time)

from_srt(start_time,
end_time,
*args)

参数
  • start_time (int) –

  • end_time (int) –

__init__(start_time: int, end_time: int) None[source]
参数
  • start_time (int) –

  • end_time (int) –

返回类型

None

classmethodfrom_srt(start_time: str, end_time: str, *args: Any) BaseModel[source]
参数
  • start_time (str) –

  • end_time (str) –

  • args (Any) –

返回类型

BaseModel