Suraj-G-Rao
book_summarizer
Python

This is a project where it helps the readers to get the summary and the preface , and compare it with other books and have a insights about the book.

Last updated Jun 17, 2026
45
Stars
0
Forks
0
Issues
0
Stars/day
Attention Score
40
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

๐Ÿ“š Marketing Blurb & Summary Generator

This is a Streamlit-based application that allows users to upload PDF documents and generate marketing blurbs and summaries using Groq LLM (LLaMA models) and LangChain.

The application uses Google Gemini embeddings to create a FAISS vector store for document retrieval and Groq LLM for generating engaging content summaries and marketing blurbs.


SCREENSHOT

image

DEMO VIDEO :

https://drive.google.com/file/d/1kuwBaytfY5vyr-nh5uieBrPbYdQ1dT9F/view?usp=sharing

REPORT LINK :

https://docs.google.com/document/d/1WK0YJ1I2V8qv6xXcGUqf5lMAA0BKxZRM/edit?usp=sharing&ouid=108340172359201221784&rtpof=true&sd=true

๐ŸŒŸ Features

  • Upload multiple PDF files.
  • Process PDFs to extract content and split into chunks.
  • Use Google Gemini embeddings for document vectorization.
  • Query uploaded documents and generate marketing blurbs or content summaries using Groq's LLaMA models.
  • Interactive, user-friendly Streamlit interface.
  • Logos for NIE University, IVIS Labs, and PULSE displayed at the top.

๐Ÿ› ๏ธ Tech Stack

  • Streamlit - Frontend UI
  • LangChain - Document processing and retrieval
  • Groq LLM - LLaMA3-8B & LLaMA3-70B models for text generation
  • Google Gemini - Embeddings for document retrieval
  • FAISS - Vector storage
  • Python 3.9+

โš™๏ธ Installation and Setup

1๏ธโƒฃ Clone the Repository

git clone cd


2๏ธโƒฃ Create Virtual Environment

python -m venv venv

For Linux/macOS: source venv/bin/activate

For Windows: venv\Scripts\activate


3๏ธโƒฃ Install Dependencies

pip install -r requirements.txt


4๏ธโƒฃ Add API Keys to .env File

Create a .env file in the project root folder with the following content:

GROQAPIKEY=yourgroqapikeyhere GOOGLEAPIKEY=yourgoogleapikeyhere


๐Ÿ”‘ How to Get API Keys

๐Ÿ“ Google API Key (Gemini)

  • Go to: https://aistudio.google.com/app/apikey
  • Sign in with your Google account.
  • Generate a new API Key.
  • Copy and paste the key into your .env file as:
GOOGLEAPIKEY=yourgoogleapikeyhere

๐Ÿ“ Groq API Key

  • Visit: https://console.groq.com/keys
  • Sign in or create an account.
  • Navigate to the API Keys section.
  • Create a new API Key.
  • Copy and paste the key into your .env file as:
GROQAPIKEY=yourgroqapikeyhere

๐Ÿš€ Run the Application

streamlit run app.py


๐Ÿท๏ธ Directory Structure

โ”œโ”€โ”€ app.py # Main Streamlit application โ”œโ”€โ”€ uploaded_pdfs # Directory for storing uploaded PDFs โ”œโ”€โ”€ requirements.txt # Required Python packages โ”œโ”€โ”€ .env # API keys (not included in repo) โ”œโ”€โ”€ README.md # Project documentation โ”œโ”€โ”€ logos # Logos for NIE, IVIS, PULSE โ”‚ โ”œโ”€โ”€ NIE_University.png โ”‚ โ”œโ”€โ”€ IVIS_logo.png โ”‚ โ”œโ”€โ”€ PULSE LOGO.png โ””โ”€โ”€ ...


Developed By Suraj G Rao
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท Suraj-G-Rao/book_summarizer ยท Updated daily from GitHub