https://github.com/berkayguzel06/content_summarizer_with_ai_agents
Extract and summarize from pdf files and web site url's using the power of AI Agents.
https://github.com/berkayguzel06/content_summarizer_with_ai_agents
agent ai ai-agents api console console-application gemini huggingface openai python smolagents summarizer
Last synced: 5 months ago
JSON representation
Extract and summarize from pdf files and web site url's using the power of AI Agents.
- Host: GitHub
- URL: https://github.com/berkayguzel06/content_summarizer_with_ai_agents
- Owner: berkayguzel06
- License: mit
- Created: 2025-03-02T18:03:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T18:29:41.000Z (over 1 year ago)
- Last Synced: 2025-04-08T13:53:23.030Z (about 1 year ago)
- Topics: agent, ai, ai-agents, api, console, console-application, gemini, huggingface, openai, python, smolagents, summarizer
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI-Powered Content Extractor

## Overview
AI-Powered Content Extractor is a command-line tool that extracts and summarizes content from PDF files and web pages using the power of AI Agents. This tool allows you to process single or multiple sources efficiently and generate concise summaries.
## Features
- Extract content from **PDF files** and **web pages**.
- Summarize the extracted content using AI.
- Support for batch processing of multiple sources.
- Customizable summary styles.
- Configurable AI model and API key.
## Installation
### Prerequisites
- Python 3.9+
- Required dependencies (install using the command below)
```sh
pip install -r requirements.txt
```
## Usage
### Extract and Summarize a Single Source
```sh
python app.py extract "" -o
```
Example:
```sh
python app.py extract "https://example.com/article" -o summary.md
```
### Extract and Summarize Multiple Sources
```sh
python app.py batch -f sources.txt -o summaries/
```
Where `sources.txt` contains a list of URLs or file paths (one per line).
### Configuration
You can set up your AI model and API key with the `config` command:
```sh
python app.py config -m -k -s detailed -l 500
```
Options:
- `-m` : AI model identifier.
- `-k` : API key for the AI service.
- `-s` : Summary style (concise, detailed, bullet-points, executive).
- `-l` : Maximum summary length.
## Demo
https://github.com/user-attachments/assets/f706a271-5393-46a3-ba48-29b2fc8d359d
## License
This project is licensed under the [MIT License](https://github.com/berkayguzel06/Content_Summarizer_with_AI_Agents/blob/main/LICENSE).
## Contribution
Feel free to contribute! Open an issue or submit a pull request with improvements or feature suggestions.
## Author
[Berkay Güzel](https://medium.com/@berkayguzel43)
Happy extracting! 🚀