| --- |
| title: Digi Biz |
| emoji: π’ |
| colorFrom: blue |
| colorTo: indigo |
| sdk: docker |
| app_port: 7860 |
| --- |
| # Digi-Biz - Agentic Business Digitization |
|
|
| **Transform business documents into beautiful digital profiles using AI** |
|
|
| --- |
|
|
| ## π Quick Start |
|
|
| ### 1. Install Dependencies |
|
|
| ```bash |
| pip install -r requirements.txt |
| ``` |
|
|
| ### 2. Configure Environment |
|
|
| Create `.env` file: |
| ```bash |
| GROQ_API_KEY=gsk_your_key_here |
| ``` |
|
|
| Get your free API key at: https://console.groq.com |
|
|
| ### 3. Run the App |
|
|
| ```bash |
| streamlit run app.py |
| ``` |
|
|
| Open http://localhost:8501 |
|
|
| --- |
|
|
| ## π Features |
|
|
| β
**Upload ZIP** - PDFs, DOCX, images, videos |
| β
**AI Processing** - 8 AI agents extract data |
| β
**Business Profile** - Beautiful digital profile |
| β
**Edit & Export** - Modify and download as JSON |
|
|
| --- |
|
|
| ## π― Works For Any Business |
|
|
| - π½οΈ **Restaurants** - Menus, dishes, prices |
| - πͺ **Retail** - Products, inventory, specs |
| - πΌ **Services** - Packages, pricing, policies |
| - π¨ **Hotels** - Rooms, amenities, rates |
| - π₯Ύ **Travel** - Tours, itineraries, inclusions |
| - **And more!** |
|
|
| --- |
|
|
| ## π Project Structure |
|
|
| ``` |
| digi-biz/ |
| βββ app.py # Streamlit app |
| βββ backend/ |
| β βββ api/main.py # FastAPI backend |
| β βββ agents/ # 8 AI agents |
| β βββ models/schemas.py # Data models |
| β βββ utils/ # Utilities |
| βββ frontend/ # Next.js (optional) |
| βββ storage/ # Profiles storage |
| βββ docs/ # Documentation |
| βββ requirements.txt |
| βββ .env.example |
| ``` |
|
|
| --- |
|
|
| ## π§ API Endpoints |
|
|
| ``` |
| POST /api/upload # Upload ZIP |
| GET /api/status/{job_id} # Processing status |
| GET /api/profiles # List profiles |
| GET /api/profile/{job_id} # Get profile |
| PUT /api/profile/{job_id} # Update profile |
| DELETE /api/profile/{job_id} # Delete profile |
| POST /api/profile/{job_id}/export # Export JSON |
| ``` |
|
|
| --- |
|
|
| ## π Processing Pipeline |
|
|
| 1. **File Discovery** - Extract & classify files |
| 2. **Document Parsing** - Extract text from PDFs/DOCX |
| 3. **Table Extraction** - Detect & classify tables |
| 4. **Media Extraction** - Extract images |
| 5. **Vision Analysis** - Analyze images (Groq) |
| 6. **Indexing** - Build search index |
| 7. **Schema Mapping** - Extract business data (LLM) |
| 8. **Validation** - Validate & score profile |
|
|
| --- |
|
|
| ## π¨ Tech Stack |
|
|
| - **Frontend:** Streamlit |
| - **Backend:** FastAPI + Python |
| - **AI:** Groq API (Llama-4-Scout-17B) |
| - **Storage:** Local JSON files |
|
|
| --- |
|
|
| ## π Documentation |
|
|
| See `docs/` folder for detailed documentation: |
| - `HACKATHON_QUICKSTART.md` - Quick start guide |
| - `CURRENT_STATUS.md` - Project status |
| - All technical documentation |
|
|
| --- |
|
|
| ## π Hackathon Ready! |
|
|
| **90-second demo:** |
| 1. Upload ZIP (10 sec) |
| 2. Watch processing (60 sec) |
| 3. Show profile (20 sec) |
|
|
| --- |
|
|
| **Built with β€οΈ for any business owner!** |
|
|