基础模型#

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)

Parameters:
  • start_time (int)

  • end_time (int)

__init__(start_time: int, end_time: int) None[来源]#
Parameters:
  • start_time (int)

  • end_time (int)

Return type:

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