paperly-demo-video.mp4
This project consists of three main components:
.
├── extension/ # Browser extension UI
├── extension_backend/ # FastAPI backend service
└── web_app/ # Streamlit web interface
- Python 3.8+
- Pinecone account
- Groq API key
Create a .env file in the extension_backend directory with the following variables:
PINECONE_API_KEY=your_pinecone_api_key
LANGSMITH_API_KEY=your_langsmith_api_key
LANGSMITH_PROJECT=your_project_name
LANGSMITH_ENDPOINT=your_langsmith_endpoint- Navigate to the backend directory:
cd extension_backend- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the FastAPI server:
python main.pyThe server will start on http://localhost:8000
Load the extension in your browser:
- Open Chrome/Edge
- Go to Extensions (chrome://extensions/)
- Enable Developer Mode
- Click "Load unpacked"
- Navigate to the web app directory:
cd web_app- Install dependencies:
pip install -r requirements.txt- Run the Streamlit app:
streamlit run app.pyThe web interface will be available at http://localhost:8501
-
Browser Extension:
- Direct integration with research paper websites
- Quick access to AI-powered paper analysis
- Context-aware querying
-
FastAPI Backend:
- Handles document processing and indexing
- Integrates with Pinecone for vector storage
- Provides RESTful API endpoints for queries and explanations
-
Streamlit Web Interface:
- User-friendly interface for paper analysis
- Comprehensive research paper exploration
- Detailed explanations and summaries
Process a research paper query with AI assistance.
Get detailed explanations for specific parts of a research paper.
- API keys should be kept secure and never committed to version control
- Use environment variables for sensitive information
- Implement proper authentication in production
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request



