Skip to content

Transform your ideas into comprehensive books using state-of-the-art AI powered by Groq's ultra-fast infrastructure.

Notifications You must be signed in to change notification settings

tech-rakesh-ai/book-gpt

Repository files navigation

πŸ“š Book GPT (AI Book Generator)

Transform your ideas into comprehensive books using state-of-the-art AI powered by Groq's ultra-fast infrastructure.

🌟 Features

  • πŸ“– Complete Book Generation
  • ⚑ Ultra-fast Processing with Groq
  • 🎨 Customizable Content Structure
  • πŸ“‘ Multiple Export Formats (PDF/Markdown)
  • πŸ”§ Advanced Configuration Options
  • 🎯 Topic-focused Structure
  • πŸ€– Multiple AI Model Support

πŸš€ Quick Start

Prerequisites

  • Python 3.9+
  • Groq API Key
  • Required system dependencies for PDF generation

Installation

  1. Clone the repository:
git clone https://github.com/tech-rakesh-ai/book-gpt.git
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory and add your Groq API key:
GROQ_API_KEY=your_groq_api_key
  1. Run the application:
streamlit run main.py

πŸ“š Documentation

For more detailed information on how to use the AI Book Generator, please refer to the Documentation.

πŸ› οΈ Features in Detail

Basic Mode

  • Simple interface for quick book generation
  • Topic input and additional instructions
  • Streamlined process with default settings

Advanced Mode

  • Multiple AI model selection for different generation tasks
  • Customizable writing style and complexity levels
  • Seed content integration
  • File upload support
  • Detailed generation statistics

Export Options

  • Download as PDF with styled formatting
  • Export as Markdown/Text file
  • Structured content with proper headings

πŸ€– Supported AI Models

  • LLaMA 3.3 70B
  • Mixtral 8x7B
  • Gemma 2 9B
  • LLaMA 3.1 8B
  • Other Groq-supported models

🐳 Docker Support

Build and run using Docker:

docker build -t book-gpt .
docker run -p 8000:8000 book-gpt

πŸ”§ Technical Architecture

The project is structured into several key components:

  • agents/: AI generation logic for titles, structure, and content
  • ui/: Streamlit interface components
  • tools/: Utility functions for file handling
  • inference/: Generation statistics and monitoring

πŸ’‘ Usage Tips

  1. Use advanced mode for more control over generation
  2. Provide detailed instructions for better results
  3. Upload seed content for context-aware generation
  4. Experiment with different AI models for optimal results

πŸ‘¨β€πŸ’» Developer

Rakesh Kumar

  • Senior Software Engineer & AI Enthusiast
  • Expertise in Prompt Engineering, GenAI, and NLP
  • LinkedIn
  • GitHub

πŸ“„ License

MIT License - See LICENSE file for details

πŸ™ Acknowledgments

  • Powered by Groq's Infrastructure
  • Built with Streamlit
  • PDF generation using WeasyPrint

About

Transform your ideas into comprehensive books using state-of-the-art AI powered by Groq's ultra-fast infrastructure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published