As we know the artificial intelligence is the hot topics of 2025. There are lot of things going on this particular topics. Various companies are accquaring AI devs for their development and implementation.

Futuristic humanoid robot against a blue network pattern backdrop, showcasing modern technology.

Below code is maintained for chat bot in python language.

# bot.py

from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer

chatbot = ChatBot("Chatpot")

trainer = ListTrainer(chatbot)
trainer.train([
    "Hi",
    "Welcome, friend 🤗",
])
trainer.train([
    "Are you a plant?",
    "No, I'm the pot below the plant!",
])

exit_conditions = (":q", "quit", "exit")
while True:
    query = input("> ")
    if query in exit_conditions:
        break
    else:
        print(f"🪴 {chatbot.get_response(query)}")