A comprehensive AI-powered platform combining intelligent funding advisory for Indian startups with advanced document ingestion and RAG (Retrieval-Augmented Generation) capabilities.
- AI Funding Co-Founder: Personalized funding advice using Google Gemini
- Founder Profile Management: Save and manage startup context (stage, sector, location, funding goals)
- Funding Readiness Score: Get a 0-100 score based on your startup's profile
- Actionable Checklists: Receive 5-step recommendations tailored to your funding journey
- Multi-language Support: Get advice in preferred Indian languages
- India-focused: Tailored specifically for the Indian startup ecosystem
- PDF Ingestion Pipeline: Process and clean PDF documents
- Vector Database: ChromaDB-powered semantic search
- RAG Engine: Advanced question-answering with context retrieval
- Semantic Search: Find relevant information across documents
- OCR Support: Extract text from image-based PDFs
- React Frontend: Built with Vite and TypeScript
- Responsive UI: Shadcn/ui components with Radix UI primitives
- Real-time Updates: React Query for efficient data fetching
- Smooth Animations: Framer Motion for engaging user experience
- Multi-page Navigation: Dashboard, Onboarding, and more
- Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- UI Components: Shadcn/ui + Radix UI
- State Management: React Context API
- Data Fetching: TanStack React Query
- Animations: Framer Motion
- Routing: Wouter
- Main Server: Express.js with TypeScript
- RAG Backend: FastAPI (Python)
- Database: PostgreSQL with Drizzle ORM
- Vector Database: ChromaDB
- Session Management: connect-pg-simple
- Primary LLM: Google Gemini 1.5 Pro
- Alternative LLM: GROQ API
- Embeddings: ChromaDB embeddings
- OCR: Integrated OCR for document processing
- Platform: Vercel-ready
- Alternative: Render (for Python backend)
ai-verse/
βββ client/ # React frontend
β βββ src/
β β βββ components/ # UI components
β β βββ pages/ # Application pages
β β βββ context/ # React Context providers
β β βββ hooks/ # Custom React hooks
β β βββ lib/ # Utilities and API clients
β βββ public/ # Static assets
β
βββ server/ # Express.js backend
β βββ index.ts # Server entry point
β βββ routes.ts # API routes
β βββ storage.ts # Database logic
β
βββ startup-rag/ # AI Funding Advisory System
β βββ backend/
β βββ app/
β β βββ main.py # FastAPI application
β β βββ rag.py # RAG implementation
β β βββ gemini_client.py # Gemini integration
β β βββ prompts.py # LLM prompts
β βββ requirements.txt
β
βββ Data Ingestion/ # Document Processing Pipeline
β βββ app.py # Main control center
β βββ ingestion/ # PDF processing modules
β βββ vector_store/ # Vector DB management
β βββ rag/ # RAG engine
β βββ data/
β βββ raw/ # Original PDFs
β βββ processed/ # Cleaned text
β βββ chunks/ # Text chunks
β βββ vector_db/ # ChromaDB storage
β
βββ shared/ # Shared TypeScript schemas
cd startup-rag/backend
py -3.10 -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadcd ai-verse
npm run dev:clientAccess:
- Backend: http://localhost:8000
- Frontend: http://localhost:5001
- Health Check: http://localhost:8000/health
- Node.js: v18 or higher
- Python: 3.10 or higher (3.10 recommended for RAG compatibility)
- PostgreSQL: For main database (optional for MVP)
- API Keys:
- Google Gemini API key (required)
- GROQ API key (optional - for Data Ingestion)
git clone <repository-url>
cd ai-verse# Install dependencies
npm install
# Configure environment variables
# Create .env file with:
# DATABASE_URL=postgresql://user:password@localhost:5432/aiverse
# SESSION_SECRET=your-session-secret
# Push database schema
npm run db:push
# Start development server
npm run devThe application will be available at http://localhost:5000
cd startup-rag/backend
# Install Python dependencies (use Python 3.10)
py -3.10 -m pip install -r requirements.txt
# Install RAG dependencies
py -3.10 -m pip install sentence-transformers==2.2.2 "numpy<2.0" chromadb langdetect python-multipart
# Configure environment
# Create .env file with:
# GEMINI_API_KEY=your_gemini_api_key_here
# Start the FastAPI server (Python 3.10)
py -3.10 -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000Get Gemini API Key:
- Visit Google AI Studio
- Create a new API key
- Add to
startup-rag/backend/.envfile - See GEMINI_API_KEY_SETUP.md for detailed instructions
cd "Data Ingestion"
# Install Python dependencies
pip install -r requirements.txt
# Configure GROQ API Key (PowerShell)
$env:GROQ_API_KEY="your_groq_api_key_here"
# Run the ingestion pipeline
python app.py-
Create Founder Profile:
POST http://localhost:8000/founder/profile
Provide startup stage, sector, location, and funding goals
-
Get Funding Advice:
POST http://localhost:8000/funding/advice
Ask questions about funding strategy and receive personalized recommendations
- Ingest PDFs: Place PDF files in
Data Ingestion/data/raw/ - Process Documents: Run the pipeline to extract and clean text
- Build Vector DB: Create embeddings for semantic search
- Query System: Ask questions and get context-aware answers
# Frontend development
npm run dev:client # Start Vite dev server
# Full stack development
npm run dev # Start Express server with hot reload
# Production build
npm run build # Build for production
npm start # Start production server
# Database
npm run db:push # Push schema changes to database
# Type checking
npm run check # Run TypeScript compiler checkscd startup-rag/backend
# Quick test
python test_api_quick.py
# Full test suite
python test_api.py
# Gemini integration test
python test_gemini_integration.pyPOST /founder/profile
POST /funding/advice
See server/routes.ts for complete API documentation.
DATABASE_URL=postgresql://user:password@localhost:5432/aiverse
SESSION_SECRET=your-session-secret-here
NODE_ENV=developmentGEMINI_API_KEY=your_gemini_api_key_hereGROQ_API_KEY=your_groq_api_key_hereSee FINAL_DEPLOYMENT_READINESS.md for complete deployment verification.
# Deploy to Vercel
cd client
vercel deploy --prodEnvironment Variables (Vercel):
VITE_API_URL=https://your-backend.onrender.com- Push to GitHub: https://github.com/akhil151/ai-verse
- Connect repository to Render
- Use render.yaml configuration
- Add environment variables in Render dashboard:
GEMINI_API_KEY=your_gemini_api_key ALLOWED_ORIGINS=https://your-frontend.vercel.app
- Render will auto-deploy on push
Important: Backend requires Python 3.10+ runtime in Render settings.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini: AI-powered funding advice
- ChromaDB: Vector database for semantic search
- Shadcn/ui: Beautiful UI components
- FastAPI: High-performance Python backend
- Vercel: Deployment platform
For questions and support:
- Open an issue in the repository
- Check existing documentation in
/startup-rag/backend/README.md - Review setup guides in
/Data Ingestion/SETUP_API_KEY.md