Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Advanced Chatbot: A Python-based chatbot featuring interactive conversations, date/time responses, and emoji integration. It handles various user queries and provides a fun, engaging experience. Ideal for learning about conversational AI and Python programming. Enjoy a lively chat with a virtual assistant in your command line!

Notifications You must be signed in to change notification settings

rkstudio585/Chatbot-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Chatbot-Python


In Python GUI

In C script

Logo


Welcome to the Advanced Chatbot project! This chatbot, written in Python, offers a fun and interactive command-line experience. It's designed to showcase basic conversational abilities and demonstrate how Python can handle simple AI tasks.

๐Ÿ“‹ Table of Contents

๐Ÿ’ก Introduction

This Python chatbot can respond to a variety of user inputs, providing a simple yet engaging interactive experience. With support for emojis, it makes conversations more lively and enjoyable. Perfect for learning about chatbot logic and Python programming!

โœจ Features

  • Interactive Conversations: Responds to various user inputs with engaging replies.
  • Date and Time: Provides current date and time.
  • Emoji Integration: Uses emojis to make interactions more expressive and fun.
  • Customizable: Easily extendable with additional queries and responses.

๐Ÿ› ๏ธ Prerequisites

Before you begin, ensure you have:

  • Python 3.x: The script is compatible with Python 3.x. Download and install it from Python's official website.
  • emoji Library: Install it using pip for emoji support.
    pip install emoji

๐Ÿ“ฅ Installation

Follow these steps to get the chatbot running on your machine:

  1. Clone the Repository:

    git clone https://github.com/mdriyadkhan585/Chatbot-Python.git
  2. Navigate to the Project Directory:

    cd Chatbot-Python
  3. Install Dependencies:

    pip install emoji

โ–ถ๏ธ Usage

Run the chatbot script using Python to start interacting:

python chatbot.py

๐ŸŽฎ Interacting with the Chatbot

  • Greet the Bot: Type hello and press Enter.
  • Ask How the Bot Is: Type how are you.
  • Ask for Its Name: Type what's your name.
  • Inquire About Its Abilities: Type what can you do.
  • Request the Time: Type what's the time.
  • Request the Date: Type what's the date.
  • Tell a Joke: Type tell me a joke.
  • Ask About Weather: Type what is the weather like.
  • Ask Favorite Things: Type what is your favorite color or what is your favorite food.
  • Say Goodbye: Type bye to end the chat.

Example Interaction:

========================================
 Welcome to the Chatbot! ๐Ÿค–
========================================
Chatbot: Hello! I'm your virtual assistant. Type 'bye' to exit. ๐Ÿ‘‹
You: hello
Chatbot: Hi there! How can I assist you today? ๐Ÿ‘‹
You: what's the time
Chatbot: The current time is 14:23:45 โฐ
You: bye
Chatbot: Goodbye! Have a fantastic day! ๐Ÿ‘‹
========================================
 Thank you for chatting! ๐ŸŽ‰
========================================

โš™๏ธ How It Works

The chatbot listens for user input, processes it, and responds based on predefined queries. Key elements include:

  • respond() Function: Handles user input and returns appropriate responses with emojis.
  • main() Function: Manages the chat loop and user interaction.

Happy Coding! ๐Ÿ’ปโœจ

About

Advanced Chatbot: A Python-based chatbot featuring interactive conversations, date/time responses, and emoji integration. It handles various user queries and provides a fun, engaging experience. Ideal for learning about conversational AI and Python programming. Enjoy a lively chat with a virtual assistant in your command line!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /