Loading repository data…
Loading repository data…
wayniez / repository
RAG-based AI assistant for analyzing scientific papers
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A production-ready, cloud-deployed Retrieval-Augmented Generation (RAG) application designed to parse academic papers and scientific PDF publications, enabling users to extract accurate, context-aware answers with transparent source citations.
🚀 Live Demo: https://research-paper-q-a-assistant.streamlit.app/
📂 GitHub Repository: https://github.com/wayniez/Research-paper-Q-A-Assistant
Upload and parse complex scientific papers with ease.
Advanced text-splitting pipeline with sliding-window overlap to preserve context across document segments.
Dense semantic retrieval powered by open-source embeddings and local vector indexing.
Fast LLM inference that generates answers exclusively from the uploaded document context.
Each response is linked back to relevant document excerpts, improving transparency and reducing hallucinations.
| Category | Technology |
|---|---|
| Language | Python 3.11 |
| Frontend | Streamlit |
| Vector Database | ChromaDB |
| Embedding Model | Hugging Face all-MiniLM-L6-v2 |
| LLM | LLaMA 3 (via Groq API) |
| Configuration | TOML |
| Version Control | Git |
├── app.py
├── rag_engine.py
├── vectorstore.py
├── requirements.txt
└── .gitignore
| File | Description |
|---|---|
app.py | Streamlit UI and application entry point |
rag_engine.py | Core RAG pipeline, chunking, retrieval, and LLM orchestration |
vectorstore.py | Embedding generation and ChromaDB integration |
requirements.txt | Project dependencies |
.gitignore | Excludes local databases, virtual environments, and temporary files |
git clone https://github.com/wayniez/Research-paper-Q-A-Assistant.git
cd Research-paper-Q-A-Assistant
Linux / macOS
python -m venv venv
source venv/bin/activate
Windows
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
Note:
httpx==0.27.2is intentionally pinned to ensure compatibility with the Groq SDK.
Create the following file:
.streamlit/secrets.toml
Add your Groq API key:
GROQ_API_KEY = "your_actual_groq_api_key_here"
streamlit run app.py
This application is optimized for deployment on Streamlit Community Cloud.
app.py
GROQ_API_KEY = "your_actual_groq_api_key_here"
PDF Upload
│
▼
Document Parsing
│
▼
Semantic Chunking
│
▼
Embeddings Generation
│
▼
ChromaDB Vector Store
│
▼
Similarity Search
│
▼
Retrieved Context
│
▼
LLaMA 3 (Groq)
│
▼
Answer + Source Citations
This project is licensed under the MIT License.
Feel free to fork, modify, and use it for personal or commercial projects.