How akalroop/llm_pdfparser works
This repository contains local-LLM PDF question-answering scripts plus a minimal codespace greeting command. The PDF workflow extracts page text, submits it with a question to an Ollama-compatible chat endpoint, and prints the response; one script uses stricter medical-document instructions. The two scripts implement parallel variants, not a shared pipeline. The package command is separate. The README describes the project broadly, so the workflow shown comes from the sampled scripts; no notebook behavior is inferred.
Main entry points: pdf-reader.py Medical Q&A · pdfReader-claude.py Document Q&A · pyproject.toml Codespace command · __init__.py Greeting
Components 11
Other components
- User
- PDF input
- PDF reader CLI
pdf-reader.py - Text extraction
pdf-reader.py - Medical Q&A
pdf-reader.py - Alternate reader CLI
pdfReader-claude.py - Text extraction
pdfReader-claude.py - Document Q&A
pdfReader-claude.py - Ollama endpoint
- Codespace command
pyproject.toml - Greeting
src/codespace/__init__.py
Connections 14
- User → PDF reader CLI: runs with
pdf-reader.py - User → Alternate reader CLI: runs with
pdfReader-claude.py - PDF input → Text extraction: reads pages
pdf-reader.py - PDF reader CLI → Medical Q&A: calls
pdf-reader.py - Medical Q&A → Text extraction: calls
pdf-reader.py - Medical Q&A → Ollama endpoint: requests answer
pdf-reader.py - Medical Q&A → User: prints answer
pdf-reader.py - PDF input → Text extraction: reads pages
pdfReader-claude.py - Alternate reader CLI → Document Q&A: calls
pdfReader-claude.py - Document Q&A → Text extraction: calls
pdfReader-claude.py - Document Q&A → Ollama endpoint: requests answer
pdfReader-claude.py - Document Q&A → User: prints answer
pdfReader-claude.py - User → Codespace command: runs
pyproject.toml - Codespace command → Greeting: dispatches to
pyproject.toml