samueldario/realestate_ai_automated_system
0
RealEstate Agentic Chat - Backend System
A conversational AI backend for NYC real estate, featuring adaptive conversation flows, deterministic slot-filling, and humanized interactions. This system powers a React frontend via HTTP streaming.
Features
- ๐ฝ NYC-focused real estate conversations
- ๐ค Adaptive policy engine for natural interactions
- ๐ Slot extraction for multi-field input
- ๐ฌ Humanized microcopy system
- ๐ฆ Redis session management
- ๐ Structured JSON logging
Tech Stack
- Backend: Python 3.11, FastAPI
- AI: DeepSeek API (OpenAI SDK compatible)
- Data: NYM Listings API
- Infra: Redis, Docker, AWS ECS
- Frontend: React + HTTP Streaming
Getting Started
Prerequisites
- Python 3.11+
- Redis server
- DeepSeek API key
Installation
git clone https://github.com/yourorg/realestate_ai_automated_system.git
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txtConfiguration
Create .env file:
DEEPSEEK_API_KEY=your_api_key
REDIS_URL=redis://localhost:6379
NYM_API_KEY=your_nym_key
LOG_LEVEL=INFORunning Locally
uvicorn src.app_factory:create_app --reloadTesting
pytest tests/Documentation
- Architecture Overview
- Project Context
- Technical Stack
- Project Log
Deployment
docker build -t realestate-backend .
docker run -p 8000:8000 realestate-backendContributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a pull request
License
MIT License - see LICENSE for details
