Skip to content

arokem/pubmed-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.

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 format.

To view these slides, you can run:

python -m http.server

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

About

Use gpt to summarize abstracts for a pubmed query

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published