Toggle Menu
Prev Up Next

# `langchain_experimental.video_captioning.services.combine_service`.CombineProcessor

class langchain_experimental.video_captioning.services.combine_service.CombineProcessor(llm: BaseLanguageModel, verbose: bool = True, char_limit: int = 20)

  Methods

  `__init__`(llm[, verbose, char_limit]) |
  `process`(video_models, audio_models[, ...]) |

  Parameters

    - llm (BaseLanguageModel) –

    - verbose (bool) –

    - char_limit (int) –

  __init__(llm: BaseLanguageModel, verbose: bool = True, char_limit: int = 20)
    Parameters

      - llm (BaseLanguageModel) –

      - verbose (bool) –

      - char_limit (int) –

  process(video_models: List[VideoModel], audio_models: List[AudioModel], run_manager: Optional[CallbackManagerForChainRun] = None) → List[CaptionModel]
    Parameters

      - video_models (List[VideoModel]) –

      - audio_models (List[AudioModel]) –

      - run_manager (Optional[CallbackManagerForChainRun]) –

    Return type

      List[CaptionModel]