AI-powered real estate management system with:
- Web UI (Flask) for browser-based management
- Telegram Bot for chat and voice interaction
- Web: Modern dashboard with AI-assisted registration, semantic search, Excel/PDF import & export
- Telegram: Goal-first chatbot with voice support (optional, controlled by
RUN_MODE)
👉 Live Demo: Try the app directly in your browser on Hugging Face Spaces here.
git clone https://github.com/yourusername/Real-Estate-Bot.git
cd Real-Estate-Botcp env.example .env
# Edit .env and set at least:
# OPENAI_API_KEY=...
# FLASK_SECRET_KEY=...pip install -r requirements.txt
export RUN_MODE=web # or set RUN_MODE=web on Windows
python main.py
# Open http://localhost:7860# In .env set TELEGRAM_BOT_TOKEN=your-bot-token
export RUN_MODE=telegram # or both
python main.pyOPENAI_API_KEY– OpenAI API keyFLASK_SECRET_KEY– Random secret for Flask sessionsRUN_MODE–web(default),telegram, orbothDATABASE_URL– defaultsqlite:///real_estate.dbOPENAI_API_BASE– optional, defaulthttps://api.openai.com/v1
- Backend: Python 3.11, Flask, SQLAlchemy, python-telegram-bot
- AI: OpenAI GPT-4o, embeddings, optional Qdrant for semantic search
- Frontend: Vanilla JS, modern CSS, responsive layout
- Deployment: Docker, Hugging Face Spaces