PiRhoAI

๐Ÿ“Š PiRhoAI - Privacy Focused AI Business Analytics Assistant

Transform your business data into actionable insights with AI-powered natural language Q&A! This is a minimum viable product for MSME analytics using Streamlit, LangChain, and Retrieval-Augmented Generation (RAG).

Live Demo: https://pirhoai.streamlit.app/

๐Ÿ“ธ Screenshots

PiRhoAI Analytics Dashboard

Note: Add actual screenshots from https://pirhoai.streamlit.app/ to the screenshots/ directory

๐Ÿš€ Features

Core Capabilities

๐Ÿš€ Revolutionary Edge AI Technology

๐Ÿ“‹ Requirements Validation

Based on comprehensive market research and technical analysis:

๐ŸŽฏ Product Mission

Democratizing data analytics for MSMEs by enabling natural language queries without technical expertise.

๐Ÿค– Unique Selling Points

๐Ÿ’ก Value Proposition

๐ŸŒ Market Fit (Especially in Developing Markets)

| Model | Parameters | Best For | Key Strengths | |โ€”โ€”-|โ€”โ€”โ€”โ€”|โ€”โ€”โ€”-|โ€”โ€”โ€”โ€”โ€”| | Phi-4-mini | 3.8B | Primary | Complex reasoning, multilingual, edge deployments | | Phi-3 | 3.8B | NLP tasks | Coding/reasoning with 128K context | | IBM Granite 4.0 Tiny | 3B | Compliance | Hybrid efficiency, enterprise security |

โš–๏ธ Competitive Analysis

๐Ÿ› ๏ธ Setup

Local Development

  1. Create virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  2. Install dependencies:
    pip install -r requirements.txt          # Full ML features
    # OR
    pip install -r requirements_basic.txt    # Basic functionality only
    
  3. Set environment variables (optional, for API models):
    export XAI_API_KEY="your-xai-api-key-here"  # For Grok-4 API access (free tier available)
    # Local models work without API key, startup may take longer
    
  4. Run the application:
    streamlit run main.py  # Default configuration with API-based AI for fast startup
    

๐Ÿ“Š Data Preparation

The app supports:

๐Ÿค– AI Features (Optional)

For full AI capabilities, install ML dependencies. The app provides graceful fallbacks:

๐Ÿš€ Deployment

  1. Fork this repository
  2. Connect to Streamlit Cloud
  3. Set main module as main.py with Python 3.13

Vercel (Alternative)

# Requires vercel.json configuration (included)
vercel --prod

Docker (Advanced)

# Coming in future updates
# Supports both basic and ML configurations

๐Ÿ“š Key Files

๐ŸŽจ UI/UX Features

๐Ÿ”„ Customer Journey

  1. Discovery: Find the solution via web/app stores
  2. Data Connection: Upload files or connect cloud storage
  3. Exploration: Ask natural questions in preferred language
  4. Decision Making: Get AI insights to drive business actions
  5. Growth: Scale with advanced features as business expands

๐Ÿ“ˆ Performance Benchmarks

๐Ÿ›ก๏ธ Privacy & Security

๐Ÿ”ฎ Future Roadmap

๐Ÿ“ž Support & Community

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make improvements following the existing patterns
  4. Submit a pull request

๐Ÿ“„ License

This project is open-source under the MIT License. Feel free to use, modify, and distribute.


Product Vision: โ€œYour phone becomes your business analystโ€ - Private, powerful AI analytics using your deviceโ€™s processing power with Tiny LLMs for complete data intelligence. MSMEs get enterprise-grade insights with maximum privacy and zero infrastructure costs through intelligent AI agents and custom workflows.

Auto-updated from PiRhoAI development - https://pirhoai.streamlit.app/