Answered questions based on abstracts retrieved from ArXiv or PubMed after search term entered. Returns pdfs of sources.
- Python 3.10
- pip
-
Clone the repository:
git clone [repository URL]
-
Create a .env file to store your OpenAI API key:
Create a file named
.envin the root directory and add the following line:OPENAI_API_KEY=your_api_key_here -
Set up your environment:
For example (or conda):
python -m venv venv source venv/bin/activate -
Install the required packages:
pip install -r requirements_qa.txt
-
Run the app:
streamlit run app_qa.py