The Real Estate AI Assistant is a Python-based tool designed to simplify the property search process. It integrates Google Maps API for geocoding and commute calculations, filters properties based on client preferences, and visualizes results on an interactive map using Folium.
- Dynamic Filtering: Filter properties based on client preferences such as:
- Number of bedrooms
- Price range
- Location
- Commute Calculations: Estimate commute times to a specified destination using Google Maps API.
- Interactive Visualization: Display filtered properties on an interactive map with detailed popups showing:
- Address
- Price
- Commute time
- Batch Processing: Efficiently processes data in batches to optimize costs with Google Maps API.
git clone https://github.com/your-username/real-estate-ai-assistant.git
cd real-estate-ai-assistant
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
- Google Maps API Key: Create a Google Cloud Project and enable the Geocoding and Distance Matrix APIs.
- Add your API key to a
.env
file:GOOGLE_MAPS_API_KEY=your_api_key_here
Launch the Jupyter Notebook to explore and run the project:
jupyter notebook
- Open the
Real Estate AI Assistant.ipynb
file in Jupyter Notebook. - Update
client_preferences
in the notebook to specify:- Number of bedrooms
- Minimum and maximum price range
- Preferred location
- Run all cells to:
- Process the dataset
- Filter properties
- Generate commute times
- Visualize results on a map
- View the map directly in the notebook or save it as an HTML file.
real-estate-ai-assistant/
├── data/
│ ├── properties.csv # Sample dataset of properties
├── Real Estate AI Assistant.ipynb # Jupyter Notebook for the project
├── requirements.txt # Python dependencies
├── README.md # Project documentation
└── .env # API keys (not included in Git)
The following Python libraries are required:
folium
: For map visualizationpandas
: For data manipulationgooglemaps
: For Google Maps API integrationpython-dotenv
: For securely storing API keys
Install them via:
pip install -r requirements.txt
- Property Recommendation: Suggest properties based on user history or preferences.
- Advanced Filtering: Add filters like square footage, property type, or neighborhood rating.
- Scalability: Integrate with larger datasets and optimize for performance.
- Deployment: Host the app as a web service using Flask or FastAPI.
This project is licensed under the MIT License. See the LICENSE
file for details.
We welcome contributions to enhance this project. Please open an issue or submit a pull request!
Zillow Data Set (kaggle): https://www.kaggle.com/datasets/robikscube/zillow-home-value-index