Class | Package | Local | Serializable | JS support |
---|---|---|---|---|
UnstructuredMarkdownLoader | langchain_community | ❌ | ❌ | ✅ |
Source | Document Lazy Loading | Native Async Support |
---|---|---|
UnstructuredMarkdownLoader | ✅ | ❌ |
langchain-community
integration package and the unstructured
python package.
Document
object. If you use “elements” mode, the unstructured library will split the document into elements such as Title
and NarrativeText
. You can pass in additional unstructured
kwargs after mode to apply different unstructured
settings.
elements
mode, which will return a list of the different elements in the markdown document:
example.md
file. The first element is the title of the document as expected: