Skip to content

Durable summarization app in Python with Resonate, Flask, and Ollama

License

Notifications You must be signed in to change notification settings

flossypurse/website-summarization-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website summarization application

This is an example website summarization application built with:

  • Flask: webserver that handles HTTP requests
  • Resonate: framework for distributed & concurrent applications
  • Beautiful Soup: webscraper
  • Ollama: LLM that summarizes content

This application uses uv as the environment and package manager.

To install dependencies run:

uv sync

To run the HTTP gateway service:

uv run gateway

To run a summarization application node, in another terminal:

uv run app

To summarize a website:

curl -X POST http://localhost:5000/summarize -H "Content-Type: application/json" -d '{"url": "http://example.com", "email": "johndoe@example.com"}'

About

Durable summarization app in Python with Resonate, Flask, and Ollama

Topics

Resources

License

Stars

Watchers

Forks

Languages