This repository contains a basic rule-based chatbot developed in Python. The aim of the project is to simulate a simple, conversational interaction with the user using keyword-based response logic. It serves as an educational foundation for those learning Python and interested in conversational AI systems.
The chatbot interacts with users by identifying keywords in user input and returning predefined responses. Although it does not use machine learning or natural language processing, it demonstrates core principles such as:
- Conditional logic in conversations
- Input/output handling in terminal
- Basic state management in a dialogue flow
This chatbot was developed entirely in Turkish, making it ideal for Turkish-speaking learners or local deployments.
mini_chatbot/
โโโ FirstMiniChatBotProject.py # Main chatbot logic
- Python 3.6+
- No external dependencies โ uses only Pythonโs built-in libraries.
Follow the steps below to run the chatbot locally on your machine:
-
Clone the Repository
git clone https://github.com/ZeynepKlc/mini_chatbot.git cd mini_chatbot -
Run the Chatbot
python FirstMiniChatBotProject.py
-
Start chatting! Type in a message and the chatbot will respond. To exit, use commands like
รงฤฑkฤฑลorgรถrรผลรผrรผz.
This chatbot serves as a beginner-friendly project for:
- Understanding basic I/O in Python
- Practicing conditionals (
if-elif-else) - Exploring interaction design
- Preparing for more complex AI-driven chatbot systems
You can extend it by:
- Adding more keyword-response pairs
- Improving response diversity
- Integrating it with a GUI or web app
- Replacing rule-based logic with NLP models (e.g., spaCy or transformers)
- It does not understand natural language or context.
- Keyword detection is literal; no fuzzy matching or intent recognition.
- It is not designed for production usage or concurrent conversations.