Markitdown
MarkItDownReader #
Bases: BaseReader
MarkItDownReader is a document reader that utilizes the MarkItDown parser to convert files or collections of files into Document objects.
Methods#
load_data(file_path: str | Path | Iterable[str] | Iterable[Path]) -> List[Document]
Loads and parses a directory (if file_path is str or Path) or a list of files specified by file_path using the MarkItDown parser.
Returns a list of Document objects, each containing the text content and metadata such as file path, file type, and content length.
Source code in llama_index/readers/markitdown/base.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |
class_name
classmethod
#
class_name() -> str
Get the name identifier of the class.
Source code in llama_index/readers/markitdown/base.py
104 105 106 107 | |
options: members: - OpenMap