跳到主要内容
美国国家生物技术信息中心、国家医学图书馆PubMed® 包含 MEDLINE、生命科学期刊和在线书籍中的超过 3500 万篇生物医学文献引文。引文可能包含指向 PubMed Central 和出版商网站的全文内容的链接。

设置

您需要安装一个 Python 包。
pip install xmltodict

检索器

查看使用示例
from langchain_classic.retrievers import PubMedRetriever

文档加载器

查看使用示例
from langchain_community.document_loaders import PubMedLoader

以编程方式连接这些文档到 Claude、VSCode 等,通过 MCP 获取实时答案。
© . This site is unofficial and not affiliated with LangChain, Inc.