Toggle Menu
Prev Up Next

# `langchain_experimental.video_captioning.models`.BaseModel

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

  Attributes

  `end_time` |
  `start_time` |

  Methods

  `__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

      None

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

      - start_time (str) –

      - end_time (str) –

      - args (Any) –

    Return type

      BaseModel