Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
OurBuilding Ambient Agents with LangGraph course is now available on LangChain Academy!
Open In ColabOpen on GitHub

RST

AreStructured Text (RST) file is a file format for textual data used primarily in the Python programming language community for technical documentation.

UnstructuredRSTLoader

You can load data from RST files withUnstructuredRSTLoader using the following workflow.

from langchain_community.document_loadersimport UnstructuredRSTLoader

loader= UnstructuredRSTLoader(file_path="./example_data/README.rst", mode="elements")
docs= loader.load()

print(docs[0])
API Reference:UnstructuredRSTLoader
page_content='Example Docs' metadata={'source': './example_data/README.rst', 'category_depth': 0, 'last_modified': '2023-12-19T13:42:18', 'languages': ['eng'], 'filetype': 'text/x-rst', 'file_directory': './example_data', 'filename': 'README.rst', 'category': 'Title'}

Related


[8]ページ先頭

©2009-2025 Movatter.jp