I am a technical expert with significant experience in software development and technical translations. I can assist in translating user-entered content from English to Spanish, while ensuring that the original format and code logic are maintained. Just share the English content with me, and I will handle the translation for you.

Preservar Elementos

En segundo plano, Unstructured crea diferentes "elementos" para distintos bloques de texto. Por defecto, los combinamos juntos, pero puedes fácilmente preservar esta separación especificando modo="elementos".

cargador = UnstructuredMarkdownLoader(ruta_markdown, modo="elementos")
datos = cargador.cargar()
datos[0]
Documento(contenido_página='ð\x9f¦\x9cï¸\x8fð\x9f”\x97 LangChain', metadatos={'fuente': '../../../../../README.md', 'número_página': 1, 'categoría': 'Título'})