Welcome to Explore Your Research paper extension.
We built this extension, to easily go through research paper and their references without breaking the flow. That also got us to thinking of all the things we usually do with the research paper, and so we implemented those features in it.
Current Features:
- Information about the References
- Chat with your paper and its references
- Get a mindmap of the current paper
- Get starter code of the current paper to quickly get started with the implementation
- Prerequistes:
- Conda
- Docker
- Clone this repo:
git clone https://github.com/rohanawhad/residency_hackathon- Source
.local.env. You can update the values as you see fit there. You need to add your Brave Search and Together AI API Key.
# .local.env
export PG_USER=residency
export PG_PASSWORD= # provide a password for PostgreSQL
export PG_HOST=localhost
export PG_PORT=5433
export PG_DB=pdf_extension
export EMBEDDING_MODEL_DIR="avsolatorio/NoInstruct-small-Embedding-v0"
export JWT_SECRET= # provide a secret for API signing
export BRAVE_SEARCH_API_KEY= # get this from Brave Search API
export TOGETHER_API_KEY= # go to Together AIsource .local.env- Create and activate python env for backend
conda env create -f backend/env.yaml
conda activate pdf_extension_env- Move to backend dir
cd backend- Start docker containers by upping the docker compose
docker-compose up -d- Create tables in DB.
python db_utils.py- Now, start the python API
python api.py- Finally, we can install the extension. To do this, follow the steps below:
- Open "Google Chrome"
- Go to "Manage Extensions"
- Click on "Load Unpacked"
- Browse and select the folder with "/frontend/extension"
Voila! You now have the extension. Go to any Arxiv PDF or any other research paper and test it out.
Let us know your feedback!