Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
本站翻译于2026年5月3日,请放心食用🎉🎉🎉
Python
使用 LangChain Python 与 Org-mode 文档加载器集成。
Org 模式文档 是一种文档编辑、格式化和组织模式,专为在自由软件文本编辑器 Emacs 中进行笔记、规划和创作而设计。
UnstructuredOrgModeLoader
from langchain_community.document_loaders import UnstructuredOrgModeLoader loader = UnstructuredOrgModeLoader( file_path="./example_data/README.org", mode="elements" ) docs = loader.load() print(docs[0])
page_content='Example Docs' metadata={'source': './example_data/README.org', 'category_depth': 0, 'last_modified': '2023-12-19T13:42:18', 'languages': ['eng'], 'filetype': 'text/org', 'file_directory': './example_data', 'filename': 'README.org', 'category': 'Title'}