mlederbauer / glossagen

create a glossary out of your manuscript in materials and chemistry – instantly
https://mlederbauer.github.io/glossagen
MIT License
11 stars 1 forks source link

Feat/setup functionality #9

Closed mlederbauer closed 3 months ago

mlederbauer commented 3 months ago

Implement core functionality of parsing a research paper PDF to generate a(n unstructured) glossary explaining the terms of the paper.

Try out the code by running

conda create -n glossagen python=3.10
conda activate glossagen
pip install -e “.[test,docs]”
python src/glossagen/pipelines/generate_glossary.py

Make sure to have an .env file that contains your OPENAI_API_KEY in the project directory.

# Your .env file

OPENAI_API_KEY=sk-….