Sophos is an AI-powered research assistant designed to help users search, summarize, and explore academic topics using the arXiv API and the Gemma3:1b model via Ollama.
- Extracts core keywords from research questions using AI
- Fetches and summarizes relevant papers from arXiv
- Provides clear, concise, and insightful answers
- Interactive chat interface (Streamlit)
-
Clone the repository:
git clone https://github.com/PrathamGhaywat/Sophos.git cd Sophos -
Install dependencies:
pip install -r requirements.txt
-
Pull the Gemma3:1b model for Ollama:
ollama pull gemma3:1b
-
Start the Ollama server:
ollama serve
-
Run the Streamlit app:
streamlit run src/main.py
-
Open your browser: Navigate to
http://localhost:8501to access the app.
The response time may vary based on the complexity of the question and the number of relevant papers found. The AI model will extract keywords and provide answers based on the fetched articles. So it is kinda slow
README.md
requirements.txt
src/
arxiv_bot.py # Fetches articles from arXiv
main.py # Streamlit app entry point
model.py # AI keyword extraction and answering
MIT License