Aarambh Chatbot is an intelligent, terminal-based AI assistant developed using Python that leverages Natural Language Processing (NLP) to understand and respond to user queries in a human-like manner.
The chatbot integrates multiple functionalities into a single unified system, including real-time weather updates, mathematical computations, date and time interpretation, and general knowledge retrieval. By combining NLP techniques with API integration and modular logic design, Aarambh Chatbot is capable of delivering accurate and context-aware responses.
It uses powerful libraries such as spaCy for language processing, SymPy for mathematical evaluation, dateparser for natural date understanding, and Wikipedia API for knowledge retrieval, making it a practical demonstration of real-world AI application in a lightweight terminal environment.
- 🌦️ Weather updates
- 🧮 Mathematical calculations
- 📅 Date & time queries
- 📚 General knowledge questions
- 💬 Basic conversations
✔ Build an intelligent terminal-based chatbot
✔ Implement NLP-based intent detection
✔ Integrate real-time APIs (Weather)
✔ Solve mathematical expressions dynamically
✔ Provide human-like interaction experience
-
👤 User interacts via Terminal Interface
-
🧠 NLP processing using spaCy
-
🌐 API calls handled via requests
-
⚙ Logic modules handle:
- 🌦️ Weather
- 🧮 Math
- 📅 Date
- 📚 Knowledge
aarambh_chatbot/
│
├── aarambh_chatbot.py
├── requirements.txt
├── README.md
└── LICENSE
| Tool | Purpose |
|---|---|
| Python | Core Programming Language |
| spaCy | NLP & Intent Detection |
| dateparser | Natural Language Dates |
| SymPy | Math Computation |
| Wikipedia | Knowledge Retrieval |
| requests | API Integration |
- Fetches real-time weather data
- Uses OpenWeatherMap API
- Supports city-based queries
- Solves expressions dynamically
- Powered by SymPy
- Handles complex calculations
- Provides current date & time
- Understands natural phrases (e.g., "tomorrow", "day after tomorrow")
- Fetches answers from Wikipedia
- Handles general knowledge queries
- Greetings (Hello, Hi)
- Thank you responses
- Exit commands
┌──────────────────────┐
│ 👤 User Input (Text) │
└─────────┬────────────┘
│
▼
┌──────────────────────────────┐
│ 🧠 NLP Processing (spaCy) │
│ Tokenization & Parsing │
└─────────┬────────────────────┘
│
▼
┌──────────────────────────────┐
│ 🎯 Intent Detection │
│ (Weather / Math / Date / GK) │
└─────────┬────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ ⚙️ Processing Modules │
│ ├── 🌦️ Weather Module (API Call) │
│ ├── 🧮 Math Module (SymPy) │
│ ├── 📅 Date Module (dateparser) │
│ ├── 📚 Knowledge Module (Wikipedia) │
│ └── 💬 Chat Module │
└─────────┬──────────────────────────────────┘
│
▼
┌──────────────────────────────┐
│ 📤 Response Generation │
└─────────┬────────────────────┘
│
▼
┌──────────────────────┐
│ 💬 Output to User │
└──────────────────────┘
git clone https://github.com/Chaitanya5068/python_chatbot_Aarambh
cd aarambh_chatbotpip install -r requirements.txtpip install spacy wikipedia sympy dateparser requestsOpen aarambh_chatbot.py and add:
WEATHER_API_KEY = "your_api_key_here"python aarambh_chatbot.py- 🌦️ What's the weather in Pune?
- 🌧️ Will it rain in Mumbai today?
- 🧮 What is 25 * 4 + 2?
- 👑 Who is Rani Lakshmi Bai?
- ⏰ What is the time now?
- 📅 Tell me the date of tomorrow
✔ Weather Information
✔ Mathematical Results
✔ Date & Time Responses
✔ Wikipedia-based Answers
✔ Conversational Replies
✅ Modular Logic Design
✅ Clean Code Structure
✅ API Integration
✅ Error Handling
✅ User-Friendly Responses
- NLP using spaCy
- API integration in Python
- Handling natural language inputs
- Building terminal-based AI assistants
Chaitanya Bhosale
🔗 GitHub: https://github.com/Chaitanya5068
🔗 LinkedIn: https://www.linkedin.com/in/chaitanya-bhosale
If you found this project useful, consider giving it a ⭐ on GitHub!
This project is created for educational purposes and demonstrates a basic AI chatbot using Python and NLP.