ChatBot for real estate
The Real Estate Chatbot is a simple Python program that simulates a chatbot to assist users with real estate inquiries. It responds to user inputs based on predefined patterns and provides appropriate answers related to buying, selling, renting, and general property queries.
- Recognizes greetings from the user and responds with a random greeting message.
- Identifies keywords such as "property", "buy", "sell", and "rent" in user inputs to generate relevant responses.
- Provides different sets of responses based on the recognized keywords.
- Python 3.x
-
Clone the repository or download the source code file.
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the following command to execute the chatbot:
-
The chatbot will welcome you and prompt you for input.
-
Enter your message or query related to real estate.
-
The chatbot will generate a response based on the recognized keywords and predefined patterns.
-
Continue the conversation by providing further inputs and receiving responses.
You can customize the chatbot by modifying the predefined patterns, greetings, and responses. Here are some possible modifications:
- Add more greetings or modify the existing greetings in the
greetings
list. - Expand the list of recognized keywords and create corresponding responses in the
generate_response()
function. - Customize the chatbot's behavior based on specific requirements by modifying the response generation logic.
Contributions to improve the Real Estate Chatbot project are welcome! If you find any issues or have suggestions for enhancements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.