An intelligent system that processes business requirement documents and generates comprehensive technical documentation using AI-powered analysis.
Live @streamlit PPA
- Document processing support for multiple formats (PDF, DOCX, TXT)
- AI-powered analysis using Groq LLM:
- Requirements analysis
- Technical specifications generation
- Architecture recommendations
- Automated project planning and task breakdown
- Detailed cost estimation including:
- Labor costs with complexity factors
- Infrastructure costs
- License costs
- Interactive web interface using Streamlit
- JSON-formatted outputs for all analyses
- Downloadable consolidated reports
- Clone the repository
- Create a virtual environment:
python -m venv venv .\venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create
.envfile in the project root:GROQ_API_KEY=your_api_key
- Start the web interface:
streamlit run app.py
- Upload your business requirements document
- The system will automatically:
- Process the document
- Analyze requirements
- Generate technical specifications
- Suggest architecture
- Create project plan
- Calculate cost estimates
- View results in different tabs
- Download the complete analysis report
.
├── app.py # Main Streamlit application
├── document_processor.py # Document parsing and processing
├── ai_analysis.py # AI-powered analysis pipeline
├── project_planner.py # Project planning logic
├── cost_estimator.py # Cost estimation engine
├── document_generator.py # Final document generation
├── groq_client.py # Groq API integration
└── config.py # Configuration management
Supported formats:
- PDF (.pdf)
- Microsoft Word (.docx)
- Text files (.txt)
The system generates a comprehensive report including:
- Analyzed requirements
- Technical specifications
- Suggested architecture
- Project timeline and tasks
- Detailed cost breakdown
{
"status": "success",
"cost_breakdown": {
"labor_costs": {
"amount": 0.00,
"currency": "USD"
},
"infrastructure_costs": {
"amount": 0.00,
"currency": "USD"
},
"license_costs": {
"amount": 0.00,
"currency": "USD"
},
"total_cost": {
"amount": 0.00,
"currency": "USD"
}
}
}- Python 3.8 or higher
- Groq API key
- Required Python packages (see requirements.txt)
The system includes comprehensive error handling for:
- Invalid document formats
- API failures
- Processing errors
- Invalid input data
MIT
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
