Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.87 KB

README.md

File metadata and controls

49 lines (27 loc) · 1.87 KB

ChatBot

ChatBot for real estate

Real Estate Chatbot

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.

Features

  • 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.

Requirements

  • Python 3.x

Usage

  1. Clone the repository or download the source code file.

  2. Open a terminal or command prompt and navigate to the project directory.

  3. Run the following command to execute the chatbot:

  4. The chatbot will welcome you and prompt you for input.

  5. Enter your message or query related to real estate.

  6. The chatbot will generate a response based on the recognized keywords and predefined patterns.

  7. Continue the conversation by providing further inputs and receiving responses.

Customization

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.

Contributing

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.

License

This project is licensed under the MIT License. See the LICENSE file for more details.