Toggle Menu
Prev Up Next

# `langchain_upstage.layout_analysis`.validate_file_path

langchain_upstage.layout_analysis.validate_file_path(file_path: Union[str, Path, List[str], List[Path]]) → None

  Validates if a file exists at the given file path.

  Parameters

    file_path (Union[str, Path, List[str], List[Path]) – The file path(s) to be validated.

  Raises

    FileNotFoundError – If the file or any of the files in the list do not exist.

  Return type

    None