Movatterモバイル変換


[0]ホーム

URL:


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

Obsidian

Obsidian is a powerful and extensible knowledge basethat works on top of your local folder of plain text files.

This notebook covers how to load documents from anObsidian database.

SinceObsidian is just stored on disk as a folder of Markdown files, the loader just takes a path to this directory.

Obsidian files also sometimes containmetadata which is a YAML block at the top of the file. These values will be added to the document's metadata. (ObsidianLoader can also be passed acollect_metadata=False argument to disable this behavior.)

from langchain_community.document_loadersimport ObsidianLoader
API Reference:ObsidianLoader
loader= ObsidianLoader("<path-to-obsidian>")
docs= loader.load()

Related


[8]ページ先頭

©2009-2025 Movatter.jp