视频模型#

class langchain_experimental.video_captioning.models.VideoModel(start_time: int, end_time: int, image_description: str)[source]#

属性

end_time

image_description

start_time

方法

__init__(start_time, end_time, image_description)

from_srt(start_time, end_time, *args)

similarity_score(other)

Parameters:
  • start_time (int)

  • end_time (int)

  • image_description (str)

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

  • end_time (int)

  • image_description (str)

Return type:

classmethod from_srt(start_time: str, end_time: str, *args: Any) BaseModel#
Parameters:
  • start_time (str)

  • end_time (str)

  • args (Any)

Return type:

BaseModel

similarity_score(other: VideoModel) float[来源]#
Parameters:

其他 (VideoModel)

Return type:

浮点数