Skip to main content

PubMed

PubMed

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.retrievers import PubMedRetriever

Document Loader

See a usage example.

from langchain.document_loaders import PubMedLoader