Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.62 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.62 KB

Simple Python Chatbot- Stark_Greet Bot

This is a basic Python chatbot that interacts with users by responding to their input. The chatbot uses natural language processing techniques to understand user messages and provide relevant responses.

Screenshot (105)

Features

  • Greeting: The chatbot can recognize common greetings and respond accordingly.
  • Predefined Responses: The chatbot has predefined responses for specific user inputs.
  • Exiting: Users can exit the conversation by typing "bye" or "goodbye."

Getting Started

  1. Make sure you have Python installed on your system.
  2. Download the provided Python script.
  3. Open a terminal or command prompt.
  4. Navigate to the directory where the script is located.
  5. Run the script using the command: python chatbot.py

Usage

  1. The chatbot will introduce itself and prompt you to start a conversation.
  2. Type your message and press Enter.
  3. The chatbot will respond to your message.
  4. Continue the conversation by typing your next message.
  5. To exit the conversation, simply type "bye" or "goodbye."

Customizing Responses

You can customize the chatbot's responses by editing the RESPONSES dictionary in the script. Add new entries to provide specific responses for different user inputs.

Dependencies

This chatbot uses the following Python libraries:

  • NLTK (Natural Language Toolkit) for text processing
  • Numpy for numerical operations

Install these libraries using the following commands:

pip install nltk
pip install numpy

Made for learning purpose