Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

PubMed® by The National Center for Biotechnology Information, National Library of Medicine comprises more than 35 million citations for biomedical literature from MEDLINE, life science journals, and online books. Citations may include links to full text content from PubMed Central and publisher web sites.

Setup

You need to install a python package.
pip install xmltodict

Retriever

See a usage example.
from langchain_classic.retrievers import PubMedRetriever

Document loader

See a usage example.
from langchain_community.document_loaders import PubMedLoader