Skip to content

rahul78451/bedrock-summarizer-Workshop_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🚀 Project Title & Tagline

Intelligent Text Summarizer 📄

"Summarize your way to productivity, one text at a time." 💡

📖 Description

The Intelligent Text Summarizer is a Python-based project that utilizes the power of Amazon Bedrock's FREE Titan Text Lite model to summarize large pieces of text into concise, easily digestible summaries. This project aims to provide an efficient and accurate way to condense text, saving users time and effort in understanding the main points of a document, article, or any other written content.

The project's primary function is to take a given text as input, analyze it using the Titan Text Lite model, and generate a summary that captures the essential information. The summarization process can be customized by adjusting parameters such as the maximum number of tokens and temperature, allowing users to fine-tune the output to suit their specific needs. With its user-friendly interface and robust functionality, the Intelligent Text Summarizer is an invaluable tool for anyone looking to streamline their workflow and improve productivity.

The Intelligent Text Summarizer has numerous applications across various industries, including education, research, and content creation. For instance, students can use the tool to summarize lengthy academic papers, researchers can use it to analyze large datasets, and content creators can use it to generate concise summaries of their work. By providing an efficient and accurate way to summarize text, the Intelligent Text Summarizer has the potential to revolutionize the way we process and understand written information.

✨ Features

Here are some of the key features of the Intelligent Text Summarizer:

  • Text Summarization: The ability to summarize large pieces of text into concise, easily digestible summaries.
  • Customizable Summarization: Users can adjust parameters such as maximum tokens and temperature to fine-tune the output.
  • Amazon Bedrock Integration: The project utilizes Amazon Bedrock's FREE Titan Text Lite model for accurate and efficient text analysis.
  • User-Friendly Interface: The project features a simple and intuitive interface, making it easy for users to input text and generate summaries.
  • Support for Various Text Formats: The project can handle various text formats, including plain text, JSON, and more.
  • Error Handling: The project includes robust error handling mechanisms to ensure that it can handle invalid input and other potential errors.
  • Scalability: The project is designed to handle large volumes of text, making it suitable for applications that require processing large amounts of data.
  • Flexibility: The project can be easily integrated with other tools and applications, allowing users to incorporate the summarization functionality into their existing workflows.

🧰 Tech Stack Table

Category Technology
Frontend Python
Backend Amazon Bedrock (Titan Text Lite model)
Tools boto3, json

📁 Project Structure

The project consists of the following folders and files:

  • summarizer.py: The main Python script that contains the text summarization functionality.
  • README.md: This file, which provides an overview of the project and its features.
  • examples/: A folder containing example text files that can be used to test the summarization functionality.
  • tests/: A folder containing unit tests and integration tests for the project.

⚙️ How to Run

To run the Intelligent Text Summarizer, follow these steps:

  1. Environment: Make sure you have an Amazon Bedrock account and have set up your credentials on your machine.
  2. Build: Run python summarizer.py to start the summarization process.
  3. Deploy: The project can be deployed on a variety of platforms, including local machines, servers, and cloud-based services.

To customize the summarization process, you can adjust the following parameters:

  • max_tokens: The maximum number of tokens to include in the summary.
  • temperature: The temperature parameter for the Titan Text Lite model.

🧪 Testing Instructions

To test the Intelligent Text Summarizer, follow these steps:

  1. Unit Tests: Run python -m unittest tests/test_summarizer.py to execute the unit tests.
  2. Integration Tests: Run python tests/test_integration.py to execute the integration tests.
  3. Example Text: Use the example text files in the examples/ folder to test the summarization functionality.

📸 Screenshots

Screenshot 2025-11-24 130151 Screenshot 2025-11-24 130738

📦 API Reference

The Intelligent Text Summarizer does not have a public API. However, you can use the summarize_text function in summarizer.py to integrate the summarization functionality into your own applications.

👤 Author

The Intelligent Text Summarizer was created by Rahul Gupta.

📝 License

The Intelligent Text Summarizer is licensed under the MIT. By using this project, you agree to the terms and conditions of the license.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages