Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arokem/pubmed-gpt

Use gpt to summarize abstracts for a pubmed query
https://github.com/arokem/pubmed-gpt

Last synced: 12 days ago
JSON representation

Use gpt to summarize abstracts for a pubmed query

Awesome Lists containing this project

README

        

# pubmed-gpt

Use gpt to summarize articles from pubmed as a slide presentation. The goal of
this software is to find the top 8 articles on a topic in pubmed (based on
pubmed's "relevance" criterion -- you'll need my fork of [pymed](https://github.com/arokem/pymed) for that) and ask GPT to summarize the abstract of each
article as a single slide, providing also a title slide and a summary slide,
which should hopefully synthesize the mess.

## Install

To install, download the source code and run:

pip install .

In the top-level directory.

## Run

The software can be run by issuing:

pmgpt

On the command line. To run this, you will need to get an [API key from OpenAI](https://platform.openai.com/account/api-keys).

The software will prompt you for a pubmed query (try "Glymphatic system" or
"Maiken Nedergaard", for example) and will then generate a (hopefully functioning) file
called "presentation.md" that should contain slides according to the
[remark](https://github.com/gnab/remark) format.

To view these slides, you can run:

python -m http.server

And open a browser to http://localhost:8000/