Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mashateayoub/papersqaagent
LangChain agent with ollama's llama3.2 for QA your papaers
https://github.com/mashateayoub/papersqaagent
langchain llm ollama python
Last synced: 8 days ago
JSON representation
LangChain agent with ollama's llama3.2 for QA your papaers
- Host: GitHub
- URL: https://github.com/mashateayoub/papersqaagent
- Owner: mashateayoub
- Created: 2024-12-23T13:02:50.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-12-24T20:20:56.000Z (23 days ago)
- Last Synced: 2025-01-08T02:13:17.486Z (8 days ago)
- Topics: langchain, llm, ollama, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Papers QA Agent
A LangChain-powered question-answering system for scientific papers using Ollama LLM and ChromaDB for vector storage.
## Features
* Load and process PDF papers automatically
* Smart document chunking and embedding generation
* Interactive Q&A interface for paper content
* Vector similarity search using ChromaDB
* Progress tracking for document processing## Prerequisites
* Python 3.8+
* Ollama running locally
* PDF papers to analyze## Installation
1. Clone the repository:
```bash
git clone
cd papers-qa-agent
```2. Install dependencies :
```bash
pip install -r requirements.txt
```4. Configure environment variables in .env:
```plaintext
PROJECT_NAME=scientific_papers_qa
PAPERS_DIR=./papers
OLLAMA_MODEL=llama3.2
CHROMA_DB_DIR=./chroma_db
OLLAMA_BASE_URL=http://localhost:11434
```## Usage
1. Add PDF papers to the papers directory
2. Run the application:```bash
python __main__.py
```### Available Commands
* `help`: Show available commands
* `metadata`: Display information about loaded papers
* `exit`: Quit the application