Skip to content

gobeecode/summarizr-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarizr AI

Webpage summarizer developed using python and artificial intelligence.

Installation

  • Download and install Ollama application.
  • Pull a model from ollama using the below command.
      ollama run llama3.2
  • Clone the repo and change directory to the root of the repo.
  • Upgrade pip
      python -m pip install --upgrade pip
  • Run the below command to install all the dependencies.
      pip install -r requirements.txt

Configuration

  • By default, the script uses llama3.2 model in ollama platform.
  • If you want to use other opensource models, Follow the below steps.
    • Download them using ollama run MODEL_NAME.
    • To view the list of all available models, Click here
    • Enter the model name to use, when the script prompts for the model name.

Usage

  • Execute the below command in the commandline.
      python ./main.py
  • Enter the url of the webpage to be summarized.
  • Enter the platform name to be used for summarization. Default: ollama. Supported: ollama, openai.
  • Enter the model to use for summarization. Default: llama3.2
  • Wait for a few seconds for the summary to be retrieved.

About

Webpage summarizer developed using python and artificial intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages