langchain_experimental.video_captioning.models.VideoModel¶
- class langchain_experimental.video_captioning.models.VideoModel(start_time: int, end_time: int, image_description: str)[源代码]¶
- 属性 - end_time- image_description- start_time- 方法 - __init__(start_time, end_time, image_description)- from_srt(start_time, end_time, *args)- similarity_score(other)- 参数
- start_time (int) – 
- end_time (int) – 
- image_description (str) – 
 
 - __init__(start_time: int, end_time: int, image_description: str) None[源代码]¶
- 参数
- start_time (int) – 
- end_time (int) – 
- image_description (str) – 
 
- 返回类型
- None 
 
 - classmethod from_srt(start_time: str, end_time: str, *args: Any) BaseModel¶
- 参数
- start_time (str) – 
- end_time (str) – 
- args (Any) – 
 
- 返回类型
 
 - similarity_score(other: VideoModel) float[源代码]¶
- 参数
- 其他 (VideoModel) – 
- 返回类型
- 浮点数