Transform your ideas into comprehensive books using state-of-the-art AI powered by Groq's ultra-fast infrastructure.
- π 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
- Python 3.9+
- Groq API Key
- Required system dependencies for PDF generation
- Clone the repository:
git clone https://github.com/tech-rakesh-ai/book-gpt.git
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory and add your Groq API key:
GROQ_API_KEY=your_groq_api_key
- Run the application:
streamlit run main.py
For more detailed information on how to use the AI Book Generator, please refer to the Documentation.
- Simple interface for quick book generation
- Topic input and additional instructions
- Streamlined process with default settings
- Multiple AI model selection for different generation tasks
- Customizable writing style and complexity levels
- Seed content integration
- File upload support
- Detailed generation statistics
- Download as PDF with styled formatting
- Export as Markdown/Text file
- Structured content with proper headings
- LLaMA 3.3 70B
- Mixtral 8x7B
- Gemma 2 9B
- LLaMA 3.1 8B
- Other Groq-supported models
Build and run using Docker:
docker build -t book-gpt .
docker run -p 8000:8000 book-gpt
The project is structured into several key components:
agents/
: AI generation logic for titles, structure, and contentui/
: Streamlit interface componentstools/
: Utility functions for file handlinginference/
: Generation statistics and monitoring
- Use advanced mode for more control over generation
- Provide detailed instructions for better results
- Upload seed content for context-aware generation
- Experiment with different AI models for optimal results
Rakesh Kumar
- Senior Software Engineer & AI Enthusiast
- Expertise in Prompt Engineering, GenAI, and NLP
- GitHub
MIT License - See LICENSE file for details
- Powered by Groq's Infrastructure
- Built with Streamlit
- PDF generation using WeasyPrint