Skip to content

Latest commit

 

History

History
54 lines (46 loc) · 858 Bytes

README.md

File metadata and controls

54 lines (46 loc) · 858 Bytes

PDF AI Summariser

A tool that uses AI to generate summaries from PDF documents.

Features

  • AI-powered PDF summarization
  • CLI interface
  • Streamlit front-end for file-upload

Prerequisites

  • Python 3.12 or higher
  • Ollama
  • Poetry (Optional)
  • Required dependencies:
    • python
    • langchain
    • langchain-ollama
    • pypdf
    • streamlit
    • langchain-community

Installation

  1. Clone the repository:
git clone 
  1. Install dependencies:
pip install -r requirements.txt 

or

poetry install
  1. Install an Ollama model:
ollama pull llama3.2

Usage

python -m main.py <pdf_file_path> 

or

poetry run python main.py <pdf_file_path>

or use the streamlit app to select a file:

streamlit run app.py