CaptionModel# class langchain_experimental.video_captioning.models.CaptionModel(start_time: int, end_time: int, closed_caption: str)[source]# Attributes closed_caption end_time start_time Methods __init__(start_time,Β end_time,Β closed_caption) add_subtitle_text(subtitle_text) from_audio_model(audio_model) from_srt(start_time,Β end_time,Β *args) from_video_model(video_model) to_srt_entry(index) Parameters: start_time (int) β end_time (int) β closed_caption (str) β __init__(start_time: int, end_time: int, closed_caption: str) β None[source]# Parameters: start_time (int) β end_time (int) β closed_caption (str) β Return type: None add_subtitle_text(subtitle_text: str) β CaptionModel[source]# Parameters: subtitle_text (str) β Return type: CaptionModel classmethod from_audio_model(audio_model: AudioModel) β CaptionModel[source]# Parameters: audio_model (AudioModel) β Return type: CaptionModel classmethod from_srt(start_time: str, end_time: str, *args: Any) β BaseModel# Parameters: start_time (str) β end_time (str) β args (Any) β Return type: BaseModel classmethod from_video_model(video_model: VideoModel) β CaptionModel[source]# Parameters: video_model (VideoModel) β Return type: CaptionModel to_srt_entry(index: int) β str[source]# Parameters: index (int) β Return type: str