🤖 Azazel AI - Advanced AI Assistant
Modern, full-featured AI assistant with beautiful ChatGPT-like interface, document processing, web search, and code execution.
- 💬 Intelligent Chat - Natural conversations powered by OpenAI GPT-4
- 🌐 Web Search - Real-time information from Google with intelligent query optimization
- 📄 Document Processing - Upload and query PDFs, DOCX, Excel, PowerPoint
- 🖼️ Vision Analysis - Analyze and discuss images using GPT-4o-mini vision
- 💻 Code Execution - Safe Python code generation and execution
- 🎭 Personality Modes - Customizable AI personalities and tones
- 🌍 Multi-language - Support for multiple languages
- 🎤 Speech Integration - Voice input using OpenAI Whisper
- Real-time Streaming - See responses as they're generated
- RAG (Retrieval-Augmented Generation) - Context-aware responses from your documents
- Session Management - Persistent chat history with Supabase
- Sentiment Analysis - Emotion detection and adaptive responses
- Model Switching - GPT-4, GPT-4 Turbo, or GPT-4o-mini based on your needs
- Modern UI - Beautiful ChatGPT-like interface with Tailwind CSS
- Mobile Responsive - Works perfectly on all devices
┌─────────────────────────────────────────────────────────┐
│ Frontend (HTML/CSS/JS) │
│ • Modern ChatGPT-like UI │
│ • Tailwind CSS styling │
│ • Real-time streaming │
└────────────────────┬────────────────────────────────────┘
│ HTTP/SSE
┌────────────────────┴────────────────────────────────────┐
│ Backend (FastAPI) │
│ • RESTful APIs │
│ • Streaming responses │
│ • Document processing │
│ • Web search integration │
└────────────────────┬────────────────────────────────────┘
│
┌────────────┴────────────┐
│ │
┌───────┴────────┐ ┌────────┴────────┐
│ OpenAI API │ │ Google Search │
│ • GPT-4 │ │ • Custom CSE │
│ • Vision │ │ • Wikipedia │
│ • Whisper │ │ │
└────────────────┘ └──────────────────┘
# Clone the repository
git clone <your-repo-url>
cd Azazel
# Create environment file
cat > .env << EOF
GOOGLE_API_KEY=your_google_api_key
GOOGLE_CSE_ID=your_google_cse_id
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
EOF
# Start with Docker Compose
docker-compose up -d
# Access the app
# Frontend: http://localhost:8080
# API Docs: http://localhost:8000/docsBackend:
cd api
pip install -r requirements.txt
uvicorn api.main:app --reload --port 8000Frontend:
cd frontend
python server.py
# Visit http://localhost:8080See DEPLOY.md for complete deployment instructions.
Quick Steps:
- Push to GitHub
- Connect to Railway
- Deploy backend + frontend services
- Add environment variables
- Done! 🎉
# Required for web search
GOOGLE_API_KEY=AIzaSy...
GOOGLE_CSE_ID=0123456789...
# Optional for chat history
SUPABASE_URL=https://...
SUPABASE_KEY=eyJhbGci...-
OpenAI (Users provide their own):
-
Google Search:
-
Supabase (Optional):
POST /api/chat/message- Send a messagePOST /api/chat/stream- Stream responsePOST /api/chat/code- Execute codePOST /api/documents/upload- Upload filePOST /api/search/web- Web searchGET /health- Health check
Full API docs: http://localhost:8000/docs
Supercharging AI Models - Azazel elevates GPT-4 and legacy models to the next level by integrating:
- RAG - Chat with your documents
- Vision - Analyze images and screenshots
- Code Execution - Run Python code safely
- Web Search - Access real-time information
- Multi-modal - Handle text, images, code, and documents
All in one beautiful, easy-to-use interface without the heavyweight price tag!
- FastAPI - Modern, fast Python web framework
- LangChain - AI orchestration and RAG
- OpenAI - GPT-4, Vision, Whisper
- Tailwind CSS - Beautiful, responsive UI
- Docker - Containerization
- Railway - Easy deployment
MIT License - see LICENSE file for details
- OpenAI for GPT-4 API
- FastAPI for amazing web framework
- Tailwind CSS for beautiful styling
- LangChain for AI orchestration
- Railway for easy deployment
Built with ❤️ for the AI community