I will translate the document into French while preserving the markdown format and code logic. Please allow me some time to complete the translation.
En coulisse, Unstructured crée différents "éléments" pour différents blocs de texte. Par défaut, nous les combinons ensemble, mais vous pouvez facilement préserver cette séparation en spécifiant mode="elements"
.
loader = UnstructuredMarkdownLoader(markdown_path, mode="elements")
data = loader.load()
data[0]
Document(page_content='ð\x9f¦\x9cï¸\x8fð\x9f”\x97 LangChain', metadata={'source': '../../../../../README.md', 'page_number': 1, 'category': 'Title'})